Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.oasis_open.docs.ws_tx.wscoor._2006._06;
 
 import java.util.List;

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://docs.oasis-open.org/ws-tx/wscoor/2006/06}CoordinationContextType">
       <sequence>
         <any/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
@XmlType(name = "", propOrder = {
    "any"
})
@XmlRootElement(name = "CoordinationContext")
public class CoordinationContext
    extends CoordinationContextType
    @XmlAnyElement(lax = true)
    protected List<Objectany;

    
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list

    public List<ObjectgetAny() {
        if ( == null) {
             = new ArrayList<Object>();
        }
        return this.;
    }
New to GrepCode? Check out our FAQ X