Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package se.riv.itintegration.messagebox.ListMessagesResponder.v1;
  
  import java.util.List;

Java class for ListMessagesResponseType complex type.

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

 <complexType name="ListMessagesResponseType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="result" type="{urn:riv:itintegration:messagebox:1}ResultType"/>
         <element name="messageMetas" type="{urn:riv:itintegration:messagebox:1}MessageMetaType" maxOccurs="unbounded" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "ListMessagesResponseType", propOrder = {
     "result",
     "messageMetas",
     "any"
 })
     implements Serializable
 {
 
     private final static long serialVersionUID = 2L;
     @XmlElement(required = true)
     protected ResultType result;
     protected List<MessageMetaTypemessageMetas;
     @XmlAnyElement(lax = true)
     protected List<Objectany;

    
Gets the value of the result property.

Returns:
possible object is
 
     public ResultType getResult() {
         return ;
     }

    
Sets the value of the result property.

Parameters:
value allowed object is
 
     public void setResult(ResultType value) {
         this. = value;
     }

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

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

    getMessageMetas().add(newItem);
 

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

    public List<MessageMetaTypegetMessageMetas() {
        if ( == null) {
             = new ArrayList<MessageMetaType>();
        }
        return this.;
    }

    
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