Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package oasis.names.tc.ebxml_regrep.xsd.rim._3;
 
 import java.util.List;

Java class for ObjectRefListType complex type.

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

 <complexType name="ObjectRefListType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ObjectRef"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
@XmlType(name = "ObjectRefListType", propOrder = {
    "objectRef"
})
public class ObjectRefListType {
    @XmlElement(name = "ObjectRef")
    protected List<ObjectRefTypeobjectRef;

    
Gets the value of the objectRef 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 objectRef property.

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

    getObjectRef().add(newItem);
 

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

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