Package org.cip4.lib.xjdf.schema
Class Header
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Header
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Header extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="AgentName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="AgentVersion" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Author" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="DescriptiveName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="DeviceID" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ICSVersions" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="PersonalID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="refID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Time" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringagentNameprotected java.lang.StringagentVersionprotected java.lang.Stringauthorprotected java.lang.StringdescriptiveNameprotected java.lang.StringdeviceIDprotected java.util.List<java.lang.String>icsVersionsprotected java.lang.Stringidprotected java.lang.StringpersonalIDprotected java.lang.StringrefIDprotected DateTimetime
-
Constructor Summary
Constructors Constructor Description Header()
-
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.lang.StringgetAgentName()Gets the value of the agentName property.java.lang.StringgetAgentVersion()Gets the value of the agentVersion property.java.lang.StringgetAuthor()Gets the value of the author property.java.lang.StringgetDescriptiveName()Gets the value of the descriptiveName property.java.lang.StringgetDeviceID()Gets the value of the deviceID property.java.util.List<java.lang.String>getICSVersions()Gets the value of the icsVersions property.java.lang.StringgetID()Gets the value of the id 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.java.lang.StringgetPersonalID()Gets the value of the personalID property.java.lang.StringgetRefID()Gets the value of the refID property.DateTimegetTime()Gets the value of the time property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAgentName(java.lang.String value)Sets the value of the agentName property.voidsetAgentVersion(java.lang.String value)Sets the value of the agentVersion property.voidsetAuthor(java.lang.String value)Sets the value of the author property.voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.voidsetDeviceID(java.lang.String value)Sets the value of the deviceID property.voidsetID(java.lang.String value)Sets the value of the id property.voidsetPersonalID(java.lang.String value)Sets the value of the personalID property.voidsetRefID(java.lang.String value)Sets the value of the refID property.voidsetTime(DateTime value)Sets the value of the time property.HeaderwithAgentName(java.lang.String value)HeaderwithAgentVersion(java.lang.String value)HeaderwithAuthor(java.lang.String value)HeaderwithDescriptiveName(java.lang.String value)HeaderwithDeviceID(java.lang.String value)HeaderwithICSVersions(java.lang.String... values)HeaderwithICSVersions(java.util.Collection<java.lang.String> values)HeaderwithID(java.lang.String value)HeaderwithPersonalID(java.lang.String value)HeaderwithRefID(java.lang.String value)HeaderwithTime(DateTime value)
-
-
-
Field Detail
-
agentName
protected java.lang.String agentName
-
agentVersion
protected java.lang.String agentVersion
-
author
protected java.lang.String author
-
descriptiveName
protected java.lang.String descriptiveName
-
deviceID
protected java.lang.String deviceID
-
icsVersions
protected java.util.List<java.lang.String> icsVersions
-
id
protected java.lang.String id
-
personalID
protected java.lang.String personalID
-
refID
protected java.lang.String refID
-
time
protected DateTime time
-
-
Method Detail
-
getAgentName
public java.lang.String getAgentName()
Gets the value of the agentName property.- Returns:
- possible object is
String
-
setAgentName
public void setAgentName(java.lang.String value)
Sets the value of the agentName property.- Parameters:
value- allowed object isString
-
getAgentVersion
public java.lang.String getAgentVersion()
Gets the value of the agentVersion property.- Returns:
- possible object is
String
-
setAgentVersion
public void setAgentVersion(java.lang.String value)
Sets the value of the agentVersion property.- Parameters:
value- allowed object isString
-
getAuthor
public java.lang.String getAuthor()
Gets the value of the author property.- Returns:
- possible object is
String
-
setAuthor
public void setAuthor(java.lang.String value)
Sets the value of the author property.- Parameters:
value- allowed object isString
-
getDescriptiveName
public java.lang.String getDescriptiveName()
Gets the value of the descriptiveName property.- Returns:
- possible object is
String
-
setDescriptiveName
public void setDescriptiveName(java.lang.String value)
Sets the value of the descriptiveName property.- Parameters:
value- allowed object isString
-
getDeviceID
public java.lang.String getDeviceID()
Gets the value of the deviceID property.- Returns:
- possible object is
String
-
setDeviceID
public void setDeviceID(java.lang.String value)
Sets the value of the deviceID property.- Parameters:
value- allowed object isString
-
getICSVersions
public java.util.List<java.lang.String> getICSVersions()
Gets the value of the icsVersions 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 icsVersions property.For example, to add a new item, do as follows:
getICSVersions().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getID
public java.lang.String getID()
Gets the value of the id property.- Returns:
- possible object is
String
-
setID
public void setID(java.lang.String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getPersonalID
public java.lang.String getPersonalID()
Gets the value of the personalID property.- Returns:
- possible object is
String
-
setPersonalID
public void setPersonalID(java.lang.String value)
Sets the value of the personalID property.- Parameters:
value- allowed object isString
-
getRefID
public java.lang.String getRefID()
Gets the value of the refID property.- Returns:
- possible object is
String
-
setRefID
public void setRefID(java.lang.String value)
Sets the value of the refID property.- Parameters:
value- allowed object isString
-
getTime
public DateTime getTime()
Gets the value of the time property.- Returns:
- possible object is
String
-
setTime
public void setTime(DateTime value)
Sets the value of the time property.- Parameters:
value- allowed object isString
-
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
-
withAgentName
public Header withAgentName(java.lang.String value)
-
withAgentVersion
public Header withAgentVersion(java.lang.String value)
-
withAuthor
public Header withAuthor(java.lang.String value)
-
withDescriptiveName
public Header withDescriptiveName(java.lang.String value)
-
withDeviceID
public Header withDeviceID(java.lang.String value)
-
withICSVersions
public Header withICSVersions(java.lang.String... values)
-
withICSVersions
public Header withICSVersions(java.util.Collection<java.lang.String> values)
-
withID
public Header withID(java.lang.String value)
-
withPersonalID
public Header withPersonalID(java.lang.String value)
-
withRefID
public Header withRefID(java.lang.String value)
-
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
-
-