Class Defect
- All Implemented Interfaces:
Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
Java 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}FileSpec" minOccurs="0"/>
</sequence>
<attribute name="Box" type="{http://www.CIP4.org/JDFSchema_2_0}rectangle" />
<attribute name="DefectReason" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="DefectType" use="required">
<simpleType>
<list>
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="FinishingDefect"/>
<enumeration value="ImageDefect"/>
<enumeration value="ImageFinishingDefect"/>
<enumeration value="Other"/>
<enumeration value="SheetDefect"/>
<enumeration value="SubstrateDefect"/>
</restriction>
</simpleType>
</list>
</simpleType>
</attribute>
<attribute name="DefectTypeDetails" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="Face" type="{http://www.CIP4.org/JDFSchema_2_0}Face" />
<attribute name="Severity" type="{http://www.CIP4.org/JDFSchema_2_0}Score" />
<attribute name="Size" type="{http://www.w3.org/2001/XMLSchema}float" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) getBox()Gets the value of the box property.Gets the value of the comment property.Gets the value of the defectReason property.Gets the value of the defectType property.Gets the value of the defectTypeDetails property.getFace()Gets the value of the face property.Gets the value of the fileSpec property.Gets a map that contains attributes that aren't bound to any typed property on this class.Gets the value of the severity property.getSize()Gets the value of the size property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the box property.voidsetComment(Comment value) Sets the value of the comment property.voidsetDefectReason(String value) Sets the value of the defectReason property.voidsetDefectTypeDetails(String value) Sets the value of the defectTypeDetails property.voidSets the value of the face property.voidsetFileSpec(FileSpec value) Sets the value of the fileSpec property.voidsetSeverity(Integer value) Sets the value of the severity property.voidSets the value of the size property.withComment(Comment value) withDefectReason(String value) withDefectType(Collection<Defect.DefectType> values) withDefectType(Defect.DefectType... values) withDefectTypeDetails(String value) withFileSpec(FileSpec value) withSeverity(Integer value)
-
Field Details
-
comment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Comment comment -
fileSpec
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected FileSpec fileSpec -
box
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Rectangle box -
defectReason
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String defectReason -
defectType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<Defect.DefectType> defectType -
defectTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String defectTypeDetails -
face
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Face face -
severity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Integer severity -
size
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float size
-
-
Constructor Details
-
Defect
public Defect()
-
-
Method Details
-
getComment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Comment getComment()Gets the value of the comment property.- Returns:
- possible object is
Comment
-
setComment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setComment(Comment value) Sets the value of the comment property.- Parameters:
value- allowed object isComment
-
getFileSpec
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public FileSpec getFileSpec()Gets the value of the fileSpec property.- Returns:
- possible object is
FileSpec
-
setFileSpec
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setFileSpec(FileSpec value) Sets the value of the fileSpec property.- Parameters:
value- allowed object isFileSpec
-
getBox
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Rectangle getBox()Gets the value of the box property.- Returns:
- possible object is
String
-
setBox
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setBox(Rectangle value) Sets the value of the box property.- Parameters:
value- allowed object isString
-
getDefectReason
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public String getDefectReason()Gets the value of the defectReason property.- Returns:
- possible object is
String
-
setDefectReason
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setDefectReason(String value) Sets the value of the defectReason property.- Parameters:
value- allowed object isString
-
getDefectType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public List<Defect.DefectType> getDefectType()Gets the value of the defectType 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 defectType property.For example, to add a new item, do as follows:
getDefectType().add(newItem);Objects of the following type(s) are allowed in the list
Defect.DefectType -
getDefectTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public String getDefectTypeDetails()Gets the value of the defectTypeDetails property.- Returns:
- possible object is
String
-
setDefectTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setDefectTypeDetails(String value) Sets the value of the defectTypeDetails property.- Parameters:
value- allowed object isString
-
getFace
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Face getFace()Gets the value of the face property.- Returns:
- possible object is
Face
-
setFace
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setFace(Face value) Sets the value of the face property.- Parameters:
value- allowed object isFace
-
getSeverity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Integer getSeverity()Gets the value of the severity property.- Returns:
- possible object is
Integer
-
setSeverity
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setSeverity(Integer value) Sets the value of the severity property.- Parameters:
value- allowed object isInteger
-
getSize
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Float getSize()Gets the value of the size property.- Returns:
- possible object is
Float
-
setSize
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public void setSize(Float value) Sets the value of the size property.- Parameters:
value- allowed object isFloat
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Map<QName,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
-
withFileSpec
-
withBox
-
withDefectReason
-
withDefectType
-
withDefectType
-
withDefectTypeDetails
-
withFace
-
withSeverity
-
withSize
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
-
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()
-