Class Notification
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Notification
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Notification 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"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Comment" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Event" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Milestone" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Part" maxOccurs="unbounded" minOccurs="0"/> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Class" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}Severity" /> <attribute name="JobID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="JobPartID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ModuleID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="QueueEntryID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>anyprotected Severityclazzprotected java.util.List<Comment>commentprotected Eventeventprotected java.lang.StringjobIDprotected java.lang.StringjobPartIDprotected Milestonemilestoneprotected java.lang.StringmoduleIDprotected java.util.List<Part>partprotected java.lang.StringqueueEntryID
-
Constructor Summary
Constructors Constructor Description Notification()
-
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.SeveritygetClazz()Gets the value of the clazz property.java.util.List<Comment>getComment()Gets the value of the comment property.EventgetEvent()Gets the value of the event property.java.lang.StringgetJobID()Gets the value of the jobID property.java.lang.StringgetJobPartID()Gets the value of the jobPartID property.MilestonegetMilestone()Gets the value of the milestone property.java.lang.StringgetModuleID()Gets the value of the moduleID 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.util.List<Part>getPart()Gets the value of the part property.java.lang.StringgetQueueEntryID()Gets the value of the queueEntryID property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetClazz(Severity value)Sets the value of the clazz property.voidsetEvent(Event value)Sets the value of the event property.voidsetJobID(java.lang.String value)Sets the value of the jobID property.voidsetJobPartID(java.lang.String value)Sets the value of the jobPartID property.voidsetMilestone(Milestone value)Sets the value of the milestone property.voidsetModuleID(java.lang.String value)Sets the value of the moduleID property.voidsetQueueEntryID(java.lang.String value)Sets the value of the queueEntryID property.NotificationwithAny(java.lang.Object... values)NotificationwithAny(java.util.Collection<java.lang.Object> values)NotificationwithClazz(Severity value)NotificationwithComment(java.util.Collection<Comment> values)NotificationwithComment(Comment... values)NotificationwithEvent(Event value)NotificationwithJobID(java.lang.String value)NotificationwithJobPartID(java.lang.String value)NotificationwithMilestone(Milestone value)NotificationwithModuleID(java.lang.String value)NotificationwithPart(java.util.Collection<Part> values)NotificationwithPart(Part... values)NotificationwithQueueEntryID(java.lang.String value)
-
-
-
Field Detail
-
comment
protected java.util.List<Comment> comment
-
event
protected Event event
-
milestone
protected Milestone milestone
-
part
protected java.util.List<Part> part
-
any
protected java.util.List<java.lang.Object> any
-
clazz
protected Severity clazz
-
jobID
protected java.lang.String jobID
-
jobPartID
protected java.lang.String jobPartID
-
moduleID
protected java.lang.String moduleID
-
queueEntryID
protected java.lang.String queueEntryID
-
-
Method Detail
-
getComment
public java.util.List<Comment> getComment()
Gets the value of the comment 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 comment property.For example, to add a new item, do as follows:
getComment().add(newItem);Objects of the following type(s) are allowed in the list
Comment
-
getEvent
public Event getEvent()
Gets the value of the event property.- Returns:
- possible object is
Event
-
setEvent
public void setEvent(Event value)
Sets the value of the event property.- Parameters:
value- allowed object isEvent
-
getMilestone
public Milestone getMilestone()
Gets the value of the milestone property.- Returns:
- possible object is
Milestone
-
setMilestone
public void setMilestone(Milestone value)
Sets the value of the milestone property.- Parameters:
value- allowed object isMilestone
-
getPart
public java.util.List<Part> getPart()
Gets the value of the part 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 part property.For example, to add a new item, do as follows:
getPart().add(newItem);Objects of the following type(s) are allowed in the list
Part
-
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
-
getClazz
public Severity getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
Severity
-
setClazz
public void setClazz(Severity value)
Sets the value of the clazz property.- Parameters:
value- allowed object isSeverity
-
getJobID
public java.lang.String getJobID()
Gets the value of the jobID property.- Returns:
- possible object is
String
-
setJobID
public void setJobID(java.lang.String value)
Sets the value of the jobID property.- Parameters:
value- allowed object isString
-
getJobPartID
public java.lang.String getJobPartID()
Gets the value of the jobPartID property.- Returns:
- possible object is
String
-
setJobPartID
public void setJobPartID(java.lang.String value)
Sets the value of the jobPartID property.- Parameters:
value- allowed object isString
-
getModuleID
public java.lang.String getModuleID()
Gets the value of the moduleID property.- Returns:
- possible object is
String
-
setModuleID
public void setModuleID(java.lang.String value)
Sets the value of the moduleID property.- Parameters:
value- allowed object isString
-
getQueueEntryID
public java.lang.String getQueueEntryID()
Gets the value of the queueEntryID property.- Returns:
- possible object is
String
-
setQueueEntryID
public void setQueueEntryID(java.lang.String value)
Sets the value of the queueEntryID 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
-
withComment
public Notification withComment(Comment... values)
-
withComment
public Notification withComment(java.util.Collection<Comment> values)
-
withEvent
public Notification withEvent(Event value)
-
withMilestone
public Notification withMilestone(Milestone value)
-
withPart
public Notification withPart(Part... values)
-
withPart
public Notification withPart(java.util.Collection<Part> values)
-
withAny
public Notification withAny(java.lang.Object... values)
-
withAny
public Notification withAny(java.util.Collection<java.lang.Object> values)
-
withClazz
public Notification withClazz(Severity value)
-
withJobID
public Notification withJobID(java.lang.String value)
-
withJobPartID
public Notification withJobPartID(java.lang.String value)
-
withModuleID
public Notification withModuleID(java.lang.String value)
-
withQueueEntryID
public Notification withQueueEntryID(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
-
-