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

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

 <complexType name="ListMessagesType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="targetOrganizations" type="{urn:riv:itintegration:registry:1}LogicalAddressType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="serviceContractTypes" type="{urn:riv:itintegration:registry:1}ServiceContractType" maxOccurs="unbounded" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "ListMessagesType", propOrder = {
     "targetOrganizations",
     "serviceContractTypes",
     "any"
 })
 public class ListMessagesType
     implements Serializable
 {
 
     private final static long serialVersionUID = 2L;
     protected List<StringtargetOrganizations;
     @XmlAnyElement(lax = true)
     protected List<Objectany;

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

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

    getTargetOrganizations().add(newItem);
 

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

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

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

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

    getServiceContractTypes().add(newItem);
 

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

        if ( == null) {
             = new ArrayList<ServiceContractType>();
        }
        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