Package org.cip4.lib.xjdf.schema
Class PreflightCheck
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.PreflightCheck
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class PreflightCheck 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" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}GeneralID" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Action" type="{http://www.CIP4.org/JDFSchema_2_0}EnumPreflightAction" /> <attribute name="Count" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="Pages" type="{http://www.CIP4.org/JDFSchema_2_0}IntegerList" /> <attribute name="Severity" type="{http://www.CIP4.org/JDFSchema_2_0}Severity" /> <attribute name="TestClass" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="TestID" 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 EnumPreflightActionactionprotected Commentcommentprotected java.lang.Integercountprotected java.util.List<GeneralID>generalIDprotected IntegerListpagesprotected Severityseverityprotected java.lang.StringtestClassprotected java.lang.StringtestID
-
Constructor Summary
Constructors Constructor Description PreflightCheck()
-
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)EnumPreflightActiongetAction()Gets the value of the action property.CommentgetComment()Gets the value of the comment property.java.lang.IntegergetCount()Gets the value of the count property.java.util.List<GeneralID>getGeneralID()Gets the value of the generalID 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.IntegerListgetPages()Gets the value of the pages property.SeveritygetSeverity()Gets the value of the severity property.java.lang.StringgetTestClass()Gets the value of the testClass property.java.lang.StringgetTestID()Gets the value of the testID property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAction(EnumPreflightAction value)Sets the value of the action property.voidsetComment(Comment value)Sets the value of the comment property.voidsetCount(java.lang.Integer value)Sets the value of the count property.voidsetPages(IntegerList value)Sets the value of the pages property.voidsetSeverity(Severity value)Sets the value of the severity property.voidsetTestClass(java.lang.String value)Sets the value of the testClass property.voidsetTestID(java.lang.String value)Sets the value of the testID property.PreflightCheckwithAction(EnumPreflightAction value)PreflightCheckwithComment(Comment value)PreflightCheckwithCount(java.lang.Integer value)PreflightCheckwithGeneralID(java.util.Collection<GeneralID> values)PreflightCheckwithGeneralID(GeneralID... values)PreflightCheckwithPages(IntegerList value)PreflightCheckwithSeverity(Severity value)PreflightCheckwithTestClass(java.lang.String value)PreflightCheckwithTestID(java.lang.String value)
-
-
-
Field Detail
-
comment
protected Comment comment
-
generalID
protected java.util.List<GeneralID> generalID
-
action
protected EnumPreflightAction action
-
count
protected java.lang.Integer count
-
pages
protected IntegerList pages
-
severity
protected Severity severity
-
testClass
protected java.lang.String testClass
-
testID
protected java.lang.String testID
-
-
Method Detail
-
getComment
public Comment getComment()
Gets the value of the comment property.- Returns:
- possible object is
Comment
-
setComment
public void setComment(Comment value)
Sets the value of the comment property.- Parameters:
value- allowed object isComment
-
getGeneralID
public java.util.List<GeneralID> getGeneralID()
Gets the value of the generalID 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 generalID property.For example, to add a new item, do as follows:
getGeneralID().add(newItem);Objects of the following type(s) are allowed in the list
GeneralID
-
getAction
public EnumPreflightAction getAction()
Gets the value of the action property.- Returns:
- possible object is
EnumPreflightAction
-
setAction
public void setAction(EnumPreflightAction value)
Sets the value of the action property.- Parameters:
value- allowed object isEnumPreflightAction
-
getCount
public java.lang.Integer getCount()
Gets the value of the count property.- Returns:
- possible object is
Integer
-
setCount
public void setCount(java.lang.Integer value)
Sets the value of the count property.- Parameters:
value- allowed object isInteger
-
getPages
public IntegerList getPages()
Gets the value of the pages property.- Returns:
- possible object is
String
-
setPages
public void setPages(IntegerList value)
Sets the value of the pages property.- Parameters:
value- allowed object isString
-
getSeverity
public Severity getSeverity()
Gets the value of the severity property.- Returns:
- possible object is
Severity
-
setSeverity
public void setSeverity(Severity value)
Sets the value of the severity property.- Parameters:
value- allowed object isSeverity
-
getTestClass
public java.lang.String getTestClass()
Gets the value of the testClass property.- Returns:
- possible object is
String
-
setTestClass
public void setTestClass(java.lang.String value)
Sets the value of the testClass property.- Parameters:
value- allowed object isString
-
getTestID
public java.lang.String getTestID()
Gets the value of the testID property.- Returns:
- possible object is
String
-
setTestID
public void setTestID(java.lang.String value)
Sets the value of the testID 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 PreflightCheck withComment(Comment value)
-
withGeneralID
public PreflightCheck withGeneralID(GeneralID... values)
-
withGeneralID
public PreflightCheck withGeneralID(java.util.Collection<GeneralID> values)
-
withAction
public PreflightCheck withAction(EnumPreflightAction value)
-
withCount
public PreflightCheck withCount(java.lang.Integer value)
-
withPages
public PreflightCheck withPages(IntegerList value)
-
withSeverity
public PreflightCheck withSeverity(Severity value)
-
withTestClass
public PreflightCheck withTestClass(java.lang.String value)
-
withTestID
public PreflightCheck withTestID(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
-
-