Package org.cip4.lib.xjdf.schema
Class StitchingParams
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.StitchingParams
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class StitchingParams extends SpecificResource implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for StitchingParams complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StitchingParams"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}FileSpec" minOccurs="0"/> </sequence> <attribute name="Angle" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="NumberOfStitches" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="Offset" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="StapleShape" type="{http://www.CIP4.org/JDFSchema_2_0}StapleShape" /> <attribute name="StitchOrigin"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="TrimBoxCenter"/> <enumeration value="TrimBoxJogSide"/> <enumeration value="UntrimmedJogSide"/> </restriction> </simpleType> </attribute> <attribute name="StitchPositions" type="{http://www.CIP4.org/JDFSchema_2_0}FloatList" /> <attribute name="StitchType"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Corner"/> <enumeration value="Saddle"/> <enumeration value="Side"/> </restriction> </simpleType> </attribute> <attribute name="StitchWidth" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="TightBacking"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Round"/> <enumeration value="RoundBacked"/> <enumeration value="Flat"/> <enumeration value="FlatBacked"/> </restriction> </simpleType> </attribute> <attribute name="WireGauge" type="{http://www.w3.org/2001/XMLSchema}float" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStitchingParams.StitchOriginJava class for null.static classStitchingParams.StitchTypeJava class for null.static classStitchingParams.TightBackingJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Floatangleprotected FileSpecfileSpecprotected java.lang.IntegernumberOfStitchesprotected java.lang.Floatoffsetprotected StapleShapestapleShapeprotected StitchingParams.StitchOriginstitchOriginprotected java.util.List<java.lang.Float>stitchPositionsprotected StitchingParams.StitchTypestitchTypeprotected java.lang.FloatstitchWidthprotected StitchingParams.TightBackingtightBackingprotected java.lang.FloatwireGauge
-
Constructor Summary
Constructors Constructor Description StitchingParams()
-
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.FloatgetAngle()Gets the value of the angle property.FileSpecgetFileSpec()Gets the value of the fileSpec property.java.lang.IntegergetNumberOfStitches()Gets the value of the numberOfStitches property.java.lang.FloatgetOffset()Gets the value of the offset property.StapleShapegetStapleShape()Gets the value of the stapleShape property.StitchingParams.StitchOrigingetStitchOrigin()Gets the value of the stitchOrigin property.java.util.List<java.lang.Float>getStitchPositions()Gets the value of the stitchPositions property.StitchingParams.StitchTypegetStitchType()Gets the value of the stitchType property.java.lang.FloatgetStitchWidth()Gets the value of the stitchWidth property.StitchingParams.TightBackinggetTightBacking()Gets the value of the tightBacking property.java.lang.FloatgetWireGauge()Gets the value of the wireGauge property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAngle(java.lang.Float value)Sets the value of the angle property.voidsetFileSpec(FileSpec value)Sets the value of the fileSpec property.voidsetNumberOfStitches(java.lang.Integer value)Sets the value of the numberOfStitches property.voidsetOffset(java.lang.Float value)Sets the value of the offset property.voidsetStapleShape(StapleShape value)Sets the value of the stapleShape property.voidsetStitchOrigin(StitchingParams.StitchOrigin value)Sets the value of the stitchOrigin property.voidsetStitchType(StitchingParams.StitchType value)Sets the value of the stitchType property.voidsetStitchWidth(java.lang.Float value)Sets the value of the stitchWidth property.voidsetTightBacking(StitchingParams.TightBacking value)Sets the value of the tightBacking property.voidsetWireGauge(java.lang.Float value)Sets the value of the wireGauge property.StitchingParamswithAngle(java.lang.Float value)StitchingParamswithFileSpec(FileSpec value)StitchingParamswithNumberOfStitches(java.lang.Integer value)StitchingParamswithOffset(java.lang.Float value)StitchingParamswithStapleShape(StapleShape value)StitchingParamswithStitchOrigin(StitchingParams.StitchOrigin value)StitchingParamswithStitchPositions(java.lang.Float... values)StitchingParamswithStitchPositions(java.util.Collection<java.lang.Float> values)StitchingParamswithStitchType(StitchingParams.StitchType value)StitchingParamswithStitchWidth(java.lang.Float value)StitchingParamswithTightBacking(StitchingParams.TightBacking value)StitchingParamswithWireGauge(java.lang.Float value)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Field Detail
-
fileSpec
protected FileSpec fileSpec
-
angle
protected java.lang.Float angle
-
numberOfStitches
protected java.lang.Integer numberOfStitches
-
offset
protected java.lang.Float offset
-
stapleShape
protected StapleShape stapleShape
-
stitchOrigin
protected StitchingParams.StitchOrigin stitchOrigin
-
stitchPositions
protected java.util.List<java.lang.Float> stitchPositions
-
stitchType
protected StitchingParams.StitchType stitchType
-
stitchWidth
protected java.lang.Float stitchWidth
-
tightBacking
protected StitchingParams.TightBacking tightBacking
-
wireGauge
protected java.lang.Float wireGauge
-
-
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
-
getAngle
public java.lang.Float getAngle()
Gets the value of the angle property.- Returns:
- possible object is
Float
-
setAngle
public void setAngle(java.lang.Float value)
Sets the value of the angle property.- Parameters:
value- allowed object isFloat
-
getNumberOfStitches
public java.lang.Integer getNumberOfStitches()
Gets the value of the numberOfStitches property.- Returns:
- possible object is
Integer
-
setNumberOfStitches
public void setNumberOfStitches(java.lang.Integer value)
Sets the value of the numberOfStitches property.- Parameters:
value- allowed object isInteger
-
getOffset
public java.lang.Float getOffset()
Gets the value of the offset property.- Returns:
- possible object is
Float
-
setOffset
public void setOffset(java.lang.Float value)
Sets the value of the offset property.- Parameters:
value- allowed object isFloat
-
getStapleShape
public StapleShape getStapleShape()
Gets the value of the stapleShape property.- Returns:
- possible object is
StapleShape
-
setStapleShape
public void setStapleShape(StapleShape value)
Sets the value of the stapleShape property.- Parameters:
value- allowed object isStapleShape
-
getStitchOrigin
public StitchingParams.StitchOrigin getStitchOrigin()
Gets the value of the stitchOrigin property.- Returns:
- possible object is
StitchingParams.StitchOrigin
-
setStitchOrigin
public void setStitchOrigin(StitchingParams.StitchOrigin value)
Sets the value of the stitchOrigin property.- Parameters:
value- allowed object isStitchingParams.StitchOrigin
-
getStitchPositions
public java.util.List<java.lang.Float> getStitchPositions()
Gets the value of the stitchPositions 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 stitchPositions property.For example, to add a new item, do as follows:
getStitchPositions().add(newItem);Objects of the following type(s) are allowed in the list
Float
-
getStitchType
public StitchingParams.StitchType getStitchType()
Gets the value of the stitchType property.- Returns:
- possible object is
StitchingParams.StitchType
-
setStitchType
public void setStitchType(StitchingParams.StitchType value)
Sets the value of the stitchType property.- Parameters:
value- allowed object isStitchingParams.StitchType
-
getStitchWidth
public java.lang.Float getStitchWidth()
Gets the value of the stitchWidth property.- Returns:
- possible object is
Float
-
setStitchWidth
public void setStitchWidth(java.lang.Float value)
Sets the value of the stitchWidth property.- Parameters:
value- allowed object isFloat
-
getTightBacking
public StitchingParams.TightBacking getTightBacking()
Gets the value of the tightBacking property.- Returns:
- possible object is
StitchingParams.TightBacking
-
setTightBacking
public void setTightBacking(StitchingParams.TightBacking value)
Sets the value of the tightBacking property.- Parameters:
value- allowed object isStitchingParams.TightBacking
-
getWireGauge
public java.lang.Float getWireGauge()
Gets the value of the wireGauge property.- Returns:
- possible object is
Float
-
setWireGauge
public void setWireGauge(java.lang.Float value)
Sets the value of the wireGauge property.- Parameters:
value- allowed object isFloat
-
withFileSpec
public StitchingParams withFileSpec(FileSpec value)
-
withAngle
public StitchingParams withAngle(java.lang.Float value)
-
withNumberOfStitches
public StitchingParams withNumberOfStitches(java.lang.Integer value)
-
withOffset
public StitchingParams withOffset(java.lang.Float value)
-
withStapleShape
public StitchingParams withStapleShape(StapleShape value)
-
withStitchOrigin
public StitchingParams withStitchOrigin(StitchingParams.StitchOrigin value)
-
withStitchPositions
public StitchingParams withStitchPositions(java.lang.Float... values)
-
withStitchPositions
public StitchingParams withStitchPositions(java.util.Collection<java.lang.Float> values)
-
withStitchType
public StitchingParams withStitchType(StitchingParams.StitchType value)
-
withStitchWidth
public StitchingParams withStitchWidth(java.lang.Float value)
-
withTightBacking
public StitchingParams withTightBacking(StitchingParams.TightBacking value)
-
withWireGauge
public StitchingParams withWireGauge(java.lang.Float 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- Overrides:
equalsin classSpecificResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classSpecificResource
-
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- Overrides:
hashCodein classSpecificResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSpecificResource
-
-