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 RegistryObjectListType complex type.

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

 <complexType name="RegistryObjectListType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Identifiable" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
@XmlType(name = "RegistryObjectListType", propOrder = {
    "identifiable"
})
public class RegistryObjectListType {
    @XmlElementRef(name = "Identifiable", namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0", type = JAXBElement.class)
    protected List<JAXBElement<? extends IdentifiableType>> identifiable;

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

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

    getIdentifiable().add(newItem);
 

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

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