Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 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">
     <restriction base="{}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ObjectRef"/>
@XmlType(name = "ObjectRefListType", propOrder = {
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:


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