com.ebmwebsourcing.wsstar.dm.org.oasis_open.docs.wsdm.mows_2
Class MessageContentType

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.dm.org.oasis_open.docs.wsdm.mows_2.MessageContentType
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Copyable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class MessageContentType
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Copyable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for MessageContentType complex type.

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

 <complexType name="MessageContentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Size" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}MessageContentSizeType" minOccurs="0"/>
         <choice>
           <element name="NotIncluded" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}MessageContentNotIncludedFlag"/>
           <element name="Text" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="Binary" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
           <element name="Xml" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}AnyXmlContentsType"/>
         </choice>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  byte[] binary
           
protected  MessageContentNotIncludedFlag notIncluded
           
protected  MessageContentSizeType size
           
protected  java.lang.String text
           
protected  AnyXmlContentsType xml
           
 
Constructor Summary
MessageContentType()
           
 
Method Summary
 java.lang.Object copyTo(java.lang.Object target)
           
 java.lang.Object copyTo(java.lang.Object target, org.jvnet.jaxb2_commons.lang.builder.CopyBuilder copyBuilder)
           
 java.lang.Object createCopy()
           
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 byte[] getBinary()
          Gets the value of the binary property.
 MessageContentNotIncludedFlag getNotIncluded()
          Gets the value of the notIncluded property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 MessageContentSizeType getSize()
          Gets the value of the size property.
 java.lang.String getText()
          Gets the value of the text property.
 AnyXmlContentsType getXml()
          Gets the value of the xml property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setBinary(byte[] value)
          Sets the value of the binary property.
 void setNotIncluded(MessageContentNotIncludedFlag value)
          Sets the value of the notIncluded property.
 void setSize(MessageContentSizeType value)
          Sets the value of the size property.
 void setText(java.lang.String value)
          Sets the value of the text property.
 void setXml(AnyXmlContentsType value)
          Sets the value of the xml property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

size

protected MessageContentSizeType size

notIncluded

protected MessageContentNotIncludedFlag notIncluded

text

protected java.lang.String text

binary

protected byte[] binary

xml

protected AnyXmlContentsType xml

any

protected java.util.List<java.lang.Object> any
Constructor Detail

MessageContentType

public MessageContentType()
Method Detail

getSize

public MessageContentSizeType getSize()
Gets the value of the size property.

Returns:
possible object is MessageContentSizeType

setSize

public void setSize(MessageContentSizeType value)
Sets the value of the size property.

Parameters:
value - allowed object is MessageContentSizeType

getNotIncluded

public MessageContentNotIncludedFlag getNotIncluded()
Gets the value of the notIncluded property.

Returns:
possible object is MessageContentNotIncludedFlag

setNotIncluded

public void setNotIncluded(MessageContentNotIncludedFlag value)
Sets the value of the notIncluded property.

Parameters:
value - allowed object is MessageContentNotIncludedFlag

getText

public java.lang.String getText()
Gets the value of the text property.

Returns:
possible object is String

setText

public void setText(java.lang.String value)
Sets the value of the text property.

Parameters:
value - allowed object is String

getBinary

public byte[] getBinary()
Gets the value of the binary property.

Returns:
possible object is byte[]

setBinary

public void setBinary(byte[] value)
Sets the value of the binary property.

Parameters:
value - allowed object is byte[]

getXml

public AnyXmlContentsType getXml()
Gets the value of the xml property.

Returns:
possible object is AnyXmlContentsType

setXml

public void setXml(AnyXmlContentsType value)
Sets the value of the xml property.

Parameters:
value - allowed object is AnyXmlContentsType

getAny

public java.util.List<java.lang.Object> getAny()
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 Element Object


getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

copyTo

public java.lang.Object copyTo(java.lang.Object target,
                               org.jvnet.jaxb2_commons.lang.builder.CopyBuilder copyBuilder)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo

copyTo

public java.lang.Object copyTo(java.lang.Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.Copyable

createCopy

public java.lang.Object createCopy()
Specified by:
createCopy in interface org.jvnet.jaxb2_commons.lang.Copyable
Specified by:
createCopy in interface org.jvnet.jaxb2_commons.lang.CopyTo


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.