Class IdentificationField
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.IdentificationField
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class IdentificationField 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}BarcodeDetails" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}ExtraValues" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}MetadataMap" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="BoundingBox" type="{http://www.CIP4.org/JDFSchema_2_0}rectangle" /> <attribute name="Encoding"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="ASCII"/> <enumeration value="Barcode"/> <enumeration value="Braille"/> <enumeration value="RFID"/> </restriction> </simpleType> </attribute> <attribute name="EncodingDetails" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Format" type="{http://www.CIP4.org/JDFSchema_2_0}regExp" /> <attribute name="Orientation" type="{http://www.CIP4.org/JDFSchema_2_0}matrix" /> <attribute name="Position" type="{http://www.CIP4.org/JDFSchema_2_0}Face" /> <attribute name="Purpose"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Label"/> <enumeration value="Separation"/> <enumeration value="Verification"/> </restriction> </simpleType> </attribute> <attribute name="PurposeDetails" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ValueFormat" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ValueTemplate" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentificationField.EncodingJava class for null.static classIdentificationField.PurposeJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected BarcodeDetailsbarcodeDetailsprotected RectangleboundingBoxprotected IdentificationField.Encodingencodingprotected java.lang.StringencodingDetailsprotected ExtraValuesextraValuesprotected java.lang.Stringformatprotected java.util.List<MetadataMap>metadataMapprotected Matrixorientationprotected Facepositionprotected IdentificationField.Purposepurposeprotected java.lang.StringpurposeDetailsprotected java.lang.Stringvalueprotected java.lang.StringvalueFormatprotected java.util.List<java.lang.String>valueTemplate
-
Constructor Summary
Constructors Constructor Description IdentificationField()
-
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)BarcodeDetailsgetBarcodeDetails()Gets the value of the barcodeDetails property.RectanglegetBoundingBox()Gets the value of the boundingBox property.IdentificationField.EncodinggetEncoding()Gets the value of the encoding property.java.lang.StringgetEncodingDetails()Gets the value of the encodingDetails property.ExtraValuesgetExtraValues()Gets the value of the extraValues property.java.lang.StringgetFormat()Gets the value of the format property.java.util.List<MetadataMap>getMetadataMap()Gets the value of the metadataMap property.MatrixgetOrientation()Gets the value of the orientation 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.FacegetPosition()Gets the value of the position property.IdentificationField.PurposegetPurpose()Gets the value of the purpose property.java.lang.StringgetPurposeDetails()Gets the value of the purposeDetails property.java.lang.StringgetValue()Gets the value of the value property.java.lang.StringgetValueFormat()Gets the value of the valueFormat property.java.util.List<java.lang.String>getValueTemplate()Gets the value of the valueTemplate property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetBarcodeDetails(BarcodeDetails value)Sets the value of the barcodeDetails property.voidsetBoundingBox(Rectangle value)Sets the value of the boundingBox property.voidsetEncoding(IdentificationField.Encoding value)Sets the value of the encoding property.voidsetEncodingDetails(java.lang.String value)Sets the value of the encodingDetails property.voidsetExtraValues(ExtraValues value)Sets the value of the extraValues property.voidsetFormat(java.lang.String value)Sets the value of the format property.voidsetOrientation(Matrix value)Sets the value of the orientation property.voidsetPosition(Face value)Sets the value of the position property.voidsetPurpose(IdentificationField.Purpose value)Sets the value of the purpose property.voidsetPurposeDetails(java.lang.String value)Sets the value of the purposeDetails property.voidsetValue(java.lang.String value)Sets the value of the value property.voidsetValueFormat(java.lang.String value)Sets the value of the valueFormat property.IdentificationFieldwithBarcodeDetails(BarcodeDetails value)IdentificationFieldwithBoundingBox(Rectangle value)IdentificationFieldwithEncoding(IdentificationField.Encoding value)IdentificationFieldwithEncodingDetails(java.lang.String value)IdentificationFieldwithExtraValues(ExtraValues value)IdentificationFieldwithFormat(java.lang.String value)IdentificationFieldwithMetadataMap(java.util.Collection<MetadataMap> values)IdentificationFieldwithMetadataMap(MetadataMap... values)IdentificationFieldwithOrientation(Matrix value)IdentificationFieldwithPosition(Face value)IdentificationFieldwithPurpose(IdentificationField.Purpose value)IdentificationFieldwithPurposeDetails(java.lang.String value)IdentificationFieldwithValue(java.lang.String value)IdentificationFieldwithValueFormat(java.lang.String value)IdentificationFieldwithValueTemplate(java.lang.String... values)IdentificationFieldwithValueTemplate(java.util.Collection<java.lang.String> values)
-
-
-
Field Detail
-
barcodeDetails
protected BarcodeDetails barcodeDetails
-
extraValues
protected ExtraValues extraValues
-
metadataMap
protected java.util.List<MetadataMap> metadataMap
-
boundingBox
protected Rectangle boundingBox
-
encoding
protected IdentificationField.Encoding encoding
-
encodingDetails
protected java.lang.String encodingDetails
-
format
protected java.lang.String format
-
orientation
protected Matrix orientation
-
position
protected Face position
-
purpose
protected IdentificationField.Purpose purpose
-
purposeDetails
protected java.lang.String purposeDetails
-
value
protected java.lang.String value
-
valueFormat
protected java.lang.String valueFormat
-
valueTemplate
protected java.util.List<java.lang.String> valueTemplate
-
-
Method Detail
-
getBarcodeDetails
public BarcodeDetails getBarcodeDetails()
Gets the value of the barcodeDetails property.- Returns:
- possible object is
BarcodeDetails
-
setBarcodeDetails
public void setBarcodeDetails(BarcodeDetails value)
Sets the value of the barcodeDetails property.- Parameters:
value- allowed object isBarcodeDetails
-
getExtraValues
public ExtraValues getExtraValues()
Gets the value of the extraValues property.- Returns:
- possible object is
ExtraValues
-
setExtraValues
public void setExtraValues(ExtraValues value)
Sets the value of the extraValues property.- Parameters:
value- allowed object isExtraValues
-
getMetadataMap
public java.util.List<MetadataMap> getMetadataMap()
Gets the value of the metadataMap 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 metadataMap property.For example, to add a new item, do as follows:
getMetadataMap().add(newItem);Objects of the following type(s) are allowed in the list
MetadataMap
-
getBoundingBox
public Rectangle getBoundingBox()
Gets the value of the boundingBox property.- Returns:
- possible object is
String
-
setBoundingBox
public void setBoundingBox(Rectangle value)
Sets the value of the boundingBox property.- Parameters:
value- allowed object isString
-
getEncoding
public IdentificationField.Encoding getEncoding()
Gets the value of the encoding property.- Returns:
- possible object is
IdentificationField.Encoding
-
setEncoding
public void setEncoding(IdentificationField.Encoding value)
Sets the value of the encoding property.- Parameters:
value- allowed object isIdentificationField.Encoding
-
getEncodingDetails
public java.lang.String getEncodingDetails()
Gets the value of the encodingDetails property.- Returns:
- possible object is
String
-
setEncodingDetails
public void setEncodingDetails(java.lang.String value)
Sets the value of the encodingDetails property.- Parameters:
value- allowed object isString
-
getFormat
public java.lang.String getFormat()
Gets the value of the format property.- Returns:
- possible object is
String
-
setFormat
public void setFormat(java.lang.String value)
Sets the value of the format property.- Parameters:
value- allowed object isString
-
getOrientation
public Matrix getOrientation()
Gets the value of the orientation property.- Returns:
- possible object is
String
-
setOrientation
public void setOrientation(Matrix value)
Sets the value of the orientation property.- Parameters:
value- allowed object isString
-
getPosition
public Face getPosition()
Gets the value of the position property.- Returns:
- possible object is
Face
-
setPosition
public void setPosition(Face value)
Sets the value of the position property.- Parameters:
value- allowed object isFace
-
getPurpose
public IdentificationField.Purpose getPurpose()
Gets the value of the purpose property.- Returns:
- possible object is
IdentificationField.Purpose
-
setPurpose
public void setPurpose(IdentificationField.Purpose value)
Sets the value of the purpose property.- Parameters:
value- allowed object isIdentificationField.Purpose
-
getPurposeDetails
public java.lang.String getPurposeDetails()
Gets the value of the purposeDetails property.- Returns:
- possible object is
String
-
setPurposeDetails
public void setPurposeDetails(java.lang.String value)
Sets the value of the purposeDetails property.- Parameters:
value- allowed object isString
-
getValue
public java.lang.String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(java.lang.String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getValueFormat
public java.lang.String getValueFormat()
Gets the value of the valueFormat property.- Returns:
- possible object is
String
-
setValueFormat
public void setValueFormat(java.lang.String value)
Sets the value of the valueFormat property.- Parameters:
value- allowed object isString
-
getValueTemplate
public java.util.List<java.lang.String> getValueTemplate()
Gets the value of the valueTemplate 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 valueTemplate property.For example, to add a new item, do as follows:
getValueTemplate().add(newItem);Objects of the following type(s) are allowed in the list
String
-
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
-
withBarcodeDetails
public IdentificationField withBarcodeDetails(BarcodeDetails value)
-
withExtraValues
public IdentificationField withExtraValues(ExtraValues value)
-
withMetadataMap
public IdentificationField withMetadataMap(MetadataMap... values)
-
withMetadataMap
public IdentificationField withMetadataMap(java.util.Collection<MetadataMap> values)
-
withBoundingBox
public IdentificationField withBoundingBox(Rectangle value)
-
withEncoding
public IdentificationField withEncoding(IdentificationField.Encoding value)
-
withEncodingDetails
public IdentificationField withEncodingDetails(java.lang.String value)
-
withFormat
public IdentificationField withFormat(java.lang.String value)
-
withOrientation
public IdentificationField withOrientation(Matrix value)
-
withPosition
public IdentificationField withPosition(Face value)
-
withPurpose
public IdentificationField withPurpose(IdentificationField.Purpose value)
-
withPurposeDetails
public IdentificationField withPurposeDetails(java.lang.String value)
-
withValue
public IdentificationField withValue(java.lang.String value)
-
withValueFormat
public IdentificationField withValueFormat(java.lang.String value)
-
withValueTemplate
public IdentificationField withValueTemplate(java.lang.String... values)
-
withValueTemplate
public IdentificationField withValueTemplate(java.util.Collection<java.lang.String> values)
-
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
-
-