Package org.cip4.lib.xjdf.schema
Class Message
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Message
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public abstract class Message extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java class for Message complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Message"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Header"/> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Message()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<java.lang.Object>getAny()Gets the value of the any property.HeadergetHeader()Gets the value of the header 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.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetHeader(Header value)Sets the value of the header property.MessagewithAny(java.lang.Object... values)MessagewithAny(java.util.Collection<java.lang.Object> values)MessagewithHeader(Header value)
-
-
-
Field Detail
-
header
protected Header header
-
any
protected java.util.List<java.lang.Object> any
-
-
Method Detail
-
getHeader
public Header getHeader()
Gets the value of the header property.- Returns:
- possible object is
Header
-
setHeader
public void setHeader(Header value)
Sets the value of the header property.- Parameters:
value- allowed object isHeader
-
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
setmethod 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
ElementObject
-
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
-
withAny
public Message withAny(java.lang.Object... values)
-
withAny
public Message withAny(java.util.Collection<java.lang.Object> values)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-