Class ShapeDef
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.ShapeDef
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public class ShapeDef extends SpecificResource implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java class for ShapeDef complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ShapeDef"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}FileSpec" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Shape" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Area" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="CutBox" type="{http://www.CIP4.org/JDFSchema_2_0}rectangle" /> <attribute name="CutLines" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="Dimensions" type="{http://www.CIP4.org/JDFSchema_2_0}shape" /> <attribute name="FlatDimensions" type="{http://www.CIP4.org/JDFSchema_2_0}shape" /> <attribute name="FluteDirection" type="{http://www.CIP4.org/JDFSchema_2_0}MediaDirection" /> <attribute name="GrainDirection" type="{http://www.CIP4.org/JDFSchema_2_0}MediaDirection" /> <attribute name="MediaRef" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> <attribute name="MediaSide" type="{http://www.CIP4.org/JDFSchema_2_0}Side" /> <attribute name="ResourceWeight" type="{http://www.w3.org/2001/XMLSchema}float" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Floatareaprotected RectanglecutBoxprotected java.util.List<java.lang.String>cutLinesprotected Shapedimensionsprotected FileSpecfileSpecprotected ShapeflatDimensionsprotected MediaDirectionfluteDirectionprotected MediaDirectiongrainDirectionprotected Resourcemediaprotected SidemediaSideprotected java.lang.FloatresourceWeightprotected java.util.List<Shape>shape
-
Constructor Summary
Constructors Constructor Description ShapeDef()
-
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.FloatgetArea()Gets the value of the area property.RectanglegetCutBox()Gets the value of the cutBox property.java.util.List<java.lang.String>getCutLines()Gets the value of the cutLines property.ShapegetDimensions()Gets the value of the dimensions property.FileSpecgetFileSpec()Gets the value of the fileSpec property.ShapegetFlatDimensions()Gets the value of the flatDimensions property.MediaDirectiongetFluteDirection()Gets the value of the fluteDirection property.MediaDirectiongetGrainDirection()Gets the value of the grainDirection property.ResourcegetMedia()Gets the value of the media property.SidegetMediaSide()Gets the value of the mediaSide property.java.lang.FloatgetResourceWeight()Gets the value of the resourceWeight property.java.util.List<Shape>getShape()Gets the value of the shape property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetArea(java.lang.Float value)Sets the value of the area property.voidsetCutBox(Rectangle value)Sets the value of the cutBox property.voidsetDimensions(Shape value)Sets the value of the dimensions property.voidsetFileSpec(FileSpec value)Sets the value of the fileSpec property.voidsetFlatDimensions(Shape value)Sets the value of the flatDimensions property.voidsetFluteDirection(MediaDirection value)Sets the value of the fluteDirection property.voidsetGrainDirection(MediaDirection value)Sets the value of the grainDirection property.voidsetMedia(Resource value)Sets the value of the media property.voidsetMediaSide(Side value)Sets the value of the mediaSide property.voidsetResourceWeight(java.lang.Float value)Sets the value of the resourceWeight property.ShapeDefwithArea(java.lang.Float value)ShapeDefwithCutBox(Rectangle value)ShapeDefwithCutLines(java.lang.String... values)ShapeDefwithCutLines(java.util.Collection<java.lang.String> values)ShapeDefwithDimensions(Shape value)ShapeDefwithFileSpec(FileSpec value)ShapeDefwithFlatDimensions(Shape value)ShapeDefwithFluteDirection(MediaDirection value)ShapeDefwithGrainDirection(MediaDirection value)ShapeDefwithMedia(Resource value)ShapeDefwithMediaSide(Side value)ShapeDefwithResourceWeight(java.lang.Float value)ShapeDefwithShape(java.util.Collection<Shape> values)ShapeDefwithShape(Shape... values)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Field Detail
-
fileSpec
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected FileSpec fileSpec
-
shape
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected java.util.List<Shape> shape
-
area
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected java.lang.Float area
-
cutBox
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected Rectangle cutBox
-
cutLines
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected java.util.List<java.lang.String> cutLines
-
dimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected Shape dimensions
-
flatDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected Shape flatDimensions
-
fluteDirection
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected MediaDirection fluteDirection
-
grainDirection
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected MediaDirection grainDirection
-
media
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected Resource media
-
mediaSide
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected Side mediaSide
-
resourceWeight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") protected java.lang.Float resourceWeight
-
-
Method Detail
-
getFileSpec
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") 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-16T10:16:20Z") public void setFileSpec(FileSpec value)Sets the value of the fileSpec property.- Parameters:
value- allowed object isFileSpec
-
getShape
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public java.util.List<Shape> getShape()Gets the value of the shape 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 shape property.For example, to add a new item, do as follows:
getShape().add(newItem);Objects of the following type(s) are allowed in the list
Shape
-
getArea
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public java.lang.Float getArea()Gets the value of the area property.- Returns:
- possible object is
Float
-
setArea
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public void setArea(java.lang.Float value)Sets the value of the area property.- Parameters:
value- allowed object isFloat
-
getCutBox
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public Rectangle getCutBox()Gets the value of the cutBox property.- Returns:
- possible object is
String
-
setCutBox
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public void setCutBox(Rectangle value)Sets the value of the cutBox property.- Parameters:
value- allowed object isString
-
getCutLines
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public java.util.List<java.lang.String> getCutLines()Gets the value of the cutLines 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 cutLines property.For example, to add a new item, do as follows:
getCutLines().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public Shape getDimensions()Gets the value of the dimensions property.- Returns:
- possible object is
String
-
setDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public void setDimensions(Shape value)Sets the value of the dimensions property.- Parameters:
value- allowed object isString
-
getFlatDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public Shape getFlatDimensions()Gets the value of the flatDimensions property.- Returns:
- possible object is
String
-
setFlatDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public void setFlatDimensions(Shape value)Sets the value of the flatDimensions property.- Parameters:
value- allowed object isString
-
getFluteDirection
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public MediaDirection getFluteDirection()Gets the value of the fluteDirection property.- Returns:
- possible object is
MediaDirection
-
setFluteDirection
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public void setFluteDirection(MediaDirection value)Sets the value of the fluteDirection property.- Parameters:
value- allowed object isMediaDirection
-
getGrainDirection
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public MediaDirection getGrainDirection()Gets the value of the grainDirection property.- Returns:
- possible object is
MediaDirection
-
setGrainDirection
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public void setGrainDirection(MediaDirection value)Sets the value of the grainDirection property.- Parameters:
value- allowed object isMediaDirection
-
getMedia
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public Resource getMedia()Gets the value of the media property.- Returns:
- possible object is
Object
-
setMedia
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public void setMedia(Resource value)Sets the value of the media property.- Parameters:
value- allowed object isObject
-
getMediaSide
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public Side getMediaSide()Gets the value of the mediaSide property.- Returns:
- possible object is
Side
-
setMediaSide
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public void setMediaSide(Side value)Sets the value of the mediaSide property.- Parameters:
value- allowed object isSide
-
getResourceWeight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public java.lang.Float getResourceWeight()Gets the value of the resourceWeight property.- Returns:
- possible object is
Float
-
setResourceWeight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-16T10:16:20Z") public void setResourceWeight(java.lang.Float value)Sets the value of the resourceWeight property.- Parameters:
value- allowed object isFloat
-
withArea
public ShapeDef withArea(java.lang.Float value)
-
withCutLines
public ShapeDef withCutLines(java.lang.String... values)
-
withCutLines
public ShapeDef withCutLines(java.util.Collection<java.lang.String> values)
-
withFluteDirection
public ShapeDef withFluteDirection(MediaDirection value)
-
withGrainDirection
public ShapeDef withGrainDirection(MediaDirection value)
-
withResourceWeight
public ShapeDef withResourceWeight(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
-
-