Package org.cip4.lib.xjdf.schema
Class PreflightTest
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.PreflightTest
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class PreflightTest 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}GeneralID" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Action" type="{http://www.CIP4.org/JDFSchema_2_0}EnumPreflightAction" /> <attribute name="DescriptiveName" type="{http://www.w3.org/2001/XMLSchema}string" /> <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 java.lang.StringdescriptiveNameprotected java.util.List<GeneralID>generalIDprotected Severityseverityprotected java.lang.StringtestClassprotected java.lang.StringtestID
-
Constructor Summary
Constructors Constructor Description PreflightTest()
-
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.java.lang.StringgetDescriptiveName()Gets the value of the descriptiveName 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.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.voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName 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.PreflightTestwithAction(EnumPreflightAction value)PreflightTestwithDescriptiveName(java.lang.String value)PreflightTestwithGeneralID(java.util.Collection<GeneralID> values)PreflightTestwithGeneralID(GeneralID... values)PreflightTestwithSeverity(Severity value)PreflightTestwithTestClass(java.lang.String value)PreflightTestwithTestID(java.lang.String value)
-
-
-
Field Detail
-
generalID
protected java.util.List<GeneralID> generalID
-
action
protected EnumPreflightAction action
-
descriptiveName
protected java.lang.String descriptiveName
-
severity
protected Severity severity
-
testClass
protected java.lang.String testClass
-
testID
protected java.lang.String testID
-
-
Method Detail
-
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
-
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
-
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
-
withGeneralID
public PreflightTest withGeneralID(GeneralID... values)
-
withGeneralID
public PreflightTest withGeneralID(java.util.Collection<GeneralID> values)
-
withAction
public PreflightTest withAction(EnumPreflightAction value)
-
withDescriptiveName
public PreflightTest withDescriptiveName(java.lang.String value)
-
withSeverity
public PreflightTest withSeverity(Severity value)
-
withTestClass
public PreflightTest withTestClass(java.lang.String value)
-
withTestID
public PreflightTest 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
-
-