Class ShapeDef
- All Implemented Interfaces:
Serializable
Java 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" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}RuleLength" maxOccurs="unbounded" 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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Floatprotected Rectangleprotected Shapeprotected Shapeprotected MediaDirectionprotected MediaDirectionprotected Resourceprotected Sideprotected Floatprotected List<RuleLength> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArea()Gets the value of the area property.Gets the value of the cutBox property.Gets the value of the cutLines property.Gets the value of the dimensions property.Gets the value of the fileSpec property.Gets the value of the flatDimensions property.Gets the value of the fluteDirection property.Gets the value of the grainDirection property.getMedia()Gets the value of the media property.Gets the value of the mediaSide property.Gets the value of the resourceWeight property.Gets the value of the ruleLength property.getShape()Gets the value of the shape property.inthashCode()voidSets the value of the area property.voidSets the value of the cutBox property.voidsetDimensions(Shape value) Sets the value of the dimensions 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.voidSets the value of the media property.voidsetMediaSide(Side value) Sets the value of the mediaSide property.voidsetResourceWeight(Float value) Sets the value of the resourceWeight property.withCutBox(Rectangle value) withCutLines(String... values) withCutLines(Collection<String> values) withDimensions(Shape value) withFileSpec(Collection<FileSpec> values) withFileSpec(FileSpec... values) withFlatDimensions(Shape value) withFluteDirection(MediaDirection value) withGrainDirection(MediaDirection value) withMediaSide(Side value) withResourceWeight(Float value) withRuleLength(Collection<RuleLength> values) withRuleLength(RuleLength... values) withShape(Collection<Shape> values) Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
Field Details
-
fileSpec
-
ruleLength
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected List<RuleLength> ruleLength -
shape
-
area
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Float area -
cutBox
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Rectangle cutBox -
cutLines
-
dimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Shape dimensions -
flatDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Shape flatDimensions -
fluteDirection
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected MediaDirection fluteDirection -
grainDirection
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected MediaDirection grainDirection -
media
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Resource media -
mediaSide
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Side mediaSide -
resourceWeight
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") protected Float resourceWeight
-
-
Constructor Details
-
ShapeDef
public ShapeDef()
-
-
Method Details
-
getFileSpec
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public List<FileSpec> getFileSpec()Gets the value of the fileSpec 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 fileSpec property.For example, to add a new item, do as follows:
getFileSpec().add(newItem);
Objects of the following type(s) are allowed in the list
FileSpec- Returns:
- The value of the fileSpec property.
-
getRuleLength
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public List<RuleLength> getRuleLength()Gets the value of the ruleLength 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 ruleLength property.For example, to add a new item, do as follows:
getRuleLength().add(newItem);
Objects of the following type(s) are allowed in the list
RuleLength- Returns:
- The value of the ruleLength property.
-
getShape
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public 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- Returns:
- The value of the shape property.
-
getArea
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") public 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 v4.0.4", date="2025-09-19T22:22:03Z") public void setArea(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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") public List<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- Returns:
- The value of the cutLines property.
-
getDimensions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") 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 v4.0.4", date="2025-09-19T22:22:03Z") public 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 v4.0.4", date="2025-09-19T22:22:03Z") public void setResourceWeight(Float value) Sets the value of the resourceWeight property.- Parameters:
value- allowed object isFloat
-
withFileSpec
-
withFileSpec
-
withRuleLength
-
withRuleLength
-
withShape
-
withShape
-
withArea
-
withCutBox
-
withCutLines
-
withCutLines
-
withDimensions
-
withFlatDimensions
-
withFluteDirection
-
withGrainDirection
-
withMedia
-
withMediaSide
-
withResourceWeight
-
equals
- Overrides:
equalsin classSpecificResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classSpecificResource
-