Package org.cip4.lib.xjdf.schema
Class ProofItem
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.ProofItem
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class ProofItem extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java class for ProofItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ProofItem"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}FileSpec" minOccurs="0"/> </sequence> <attribute name="Amount" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="ColorType"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Monochrome"/> <enumeration value="BasicColor"/> <enumeration value="MatchedColor"/> </restriction> </simpleType> </attribute> <attribute name="Contract" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="HalfTone" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="PageIndex" type="{http://www.CIP4.org/JDFSchema_2_0}IntegerRange" /> <attribute name="ProofTarget" type="{http://www.CIP4.org/JDFSchema_2_0}URL" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProofItem.ColorTypeJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Integeramountprotected ProofItem.ColorTypecolorTypeprotected java.lang.Booleancontractprotected FileSpecfileSpecprotected java.lang.BooleanhalfToneprotected java.lang.Stringidprotected IntegerListpageIndexprotected URIproofTarget
-
Constructor Summary
Constructors Constructor Description ProofItem()
-
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.IntegergetAmount()Gets the value of the amount property.ProofItem.ColorTypegetColorType()Gets the value of the colorType property.FileSpecgetFileSpec()Gets the value of the fileSpec 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.IntegerListgetPageIndex()Gets the value of the pageIndex property.URIgetProofTarget()Gets the value of the proofTarget property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)java.lang.BooleanisContract()Gets the value of the contract property.java.lang.BooleanisHalfTone()Gets the value of the halfTone property.voidsetAmount(java.lang.Integer value)Sets the value of the amount property.voidsetColorType(ProofItem.ColorType value)Sets the value of the colorType property.voidsetContract(java.lang.Boolean value)Sets the value of the contract property.voidsetFileSpec(FileSpec value)Sets the value of the fileSpec property.voidsetHalfTone(java.lang.Boolean value)Sets the value of the halfTone property.voidsetID(java.lang.String value)Sets the value of the id property.voidsetPageIndex(IntegerList value)Sets the value of the pageIndex property.voidsetProofTarget(URI value)Sets the value of the proofTarget property.ProofItemwithAmount(java.lang.Integer value)ProofItemwithColorType(ProofItem.ColorType value)ProofItemwithContract(java.lang.Boolean value)ProofItemwithFileSpec(FileSpec value)ProofItemwithHalfTone(java.lang.Boolean value)ProofItemwithID(java.lang.String value)ProofItemwithPageIndex(IntegerList value)ProofItemwithProofTarget(URI value)
-
-
-
Field Detail
-
fileSpec
protected FileSpec fileSpec
-
amount
protected java.lang.Integer amount
-
colorType
protected ProofItem.ColorType colorType
-
contract
protected java.lang.Boolean contract
-
halfTone
protected java.lang.Boolean halfTone
-
id
protected java.lang.String id
-
pageIndex
protected IntegerList pageIndex
-
proofTarget
protected URI proofTarget
-
-
Method Detail
-
getFileSpec
public FileSpec getFileSpec()
Gets the value of the fileSpec property.- Returns:
- possible object is
FileSpec
-
setFileSpec
public void setFileSpec(FileSpec value)
Sets the value of the fileSpec property.- Parameters:
value- allowed object isFileSpec
-
getAmount
public java.lang.Integer getAmount()
Gets the value of the amount property.- Returns:
- possible object is
Integer
-
setAmount
public void setAmount(java.lang.Integer value)
Sets the value of the amount property.- Parameters:
value- allowed object isInteger
-
getColorType
public ProofItem.ColorType getColorType()
Gets the value of the colorType property.- Returns:
- possible object is
ProofItem.ColorType
-
setColorType
public void setColorType(ProofItem.ColorType value)
Sets the value of the colorType property.- Parameters:
value- allowed object isProofItem.ColorType
-
isContract
public java.lang.Boolean isContract()
Gets the value of the contract property.- Returns:
- possible object is
Boolean
-
setContract
public void setContract(java.lang.Boolean value)
Sets the value of the contract property.- Parameters:
value- allowed object isBoolean
-
isHalfTone
public java.lang.Boolean isHalfTone()
Gets the value of the halfTone property.- Returns:
- possible object is
Boolean
-
setHalfTone
public void setHalfTone(java.lang.Boolean value)
Sets the value of the halfTone property.- Parameters:
value- allowed object isBoolean
-
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
-
getPageIndex
public IntegerList getPageIndex()
Gets the value of the pageIndex property.- Returns:
- possible object is
String
-
setPageIndex
public void setPageIndex(IntegerList value)
Sets the value of the pageIndex property.- Parameters:
value- allowed object isString
-
getProofTarget
public URI getProofTarget()
Gets the value of the proofTarget property.- Returns:
- possible object is
String
-
setProofTarget
public void setProofTarget(URI value)
Sets the value of the proofTarget 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
-
withAmount
public ProofItem withAmount(java.lang.Integer value)
-
withColorType
public ProofItem withColorType(ProofItem.ColorType value)
-
withContract
public ProofItem withContract(java.lang.Boolean value)
-
withHalfTone
public ProofItem withHalfTone(java.lang.Boolean value)
-
withID
public ProofItem withID(java.lang.String value)
-
withPageIndex
public ProofItem withPageIndex(IntegerList 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
-
-