Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

Java class for MessageMetaType complex type.

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

 <complexType name="MessageMetaType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="targetOrganization" type="{urn:riv:itintegration:registry:1}LogicalAddressType"/>
         <element name="serviceContractType" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="messageSize" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="arrivalTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="status" type="{urn:riv:itintegration:messagebox:1}MessageStatusType"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "MessageMetaType", propOrder = {
     "messageId",
     "targetOrganization",
     "serviceContractType",
     "messageSize",
     "arrivalTime",
     "status",
     "any"
 })
 public class MessageMetaType
     implements Serializable
 {
 
     private final static long serialVersionUID = 2L;
     protected long messageId;
     @XmlElement(required = true)
     protected String targetOrganization;
     @XmlElement(required = true)
     protected String serviceContractType;
     protected long messageSize;
     @XmlElement(required = true, type = String.class)
     @XmlJavaTypeAdapter(Adapter1 .class)
     @XmlSchemaType(name = "dateTime")
     protected Date arrivalTime;
     @XmlElement(required = true)
     protected MessageStatusType status;
     @XmlAnyElement(lax = true)
     protected List<Objectany;

    
Gets the value of the messageId property.
 
     public long getMessageId() {
         return ;
     }

    
Sets the value of the messageId property.
 
     public void setMessageId(long value) {
         this. = value;
     }

    
Gets the value of the targetOrganization property.

Returns:
possible object is
 
     public String getTargetOrganization() {
         return ;
    }

    
Sets the value of the targetOrganization property.

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

    
Gets the value of the serviceContractType property.

Returns:
possible object is
    public String getServiceContractType() {
        return ;
    }

    
Sets the value of the serviceContractType property.

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

    
Gets the value of the messageSize property.
    public long getMessageSize() {
        return ;
    }

    
Sets the value of the messageSize property.
    public void setMessageSize(long value) {
        this. = value;
    }

    
Gets the value of the arrivalTime property.

Returns:
possible object is
    public Date getArrivalTime() {
        return ;
    }

    
Sets the value of the arrivalTime property.

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

    
Gets the value of the status property.

Returns:
possible object is
    public MessageStatusType getStatus() {
        return ;
    }

    
Sets the value of the status property.

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

    
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