@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public class ShapeDef
extends SpecificResource
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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" minOccurs="0"/>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}Shape" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Area" type="{http://www.CIP4.org/JDFSchema_2_0}double" />
<attribute name="CutBox" type="{http://www.CIP4.org/JDFSchema_2_0}rectangle" />
<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">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="XDirection"/>
<enumeration value="YDirection"/>
</restriction>
</simpleType>
</attribute>
<attribute name="GrainDirection">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="XDirection"/>
<enumeration value="YDirection"/>
<enumeration value="Both"/>
</restriction>
</simpleType>
</attribute>
<attribute name="MediaRef" type="{http://www.CIP4.org/JDFSchema_2_0}IDREF" />
<attribute name="MediaSide" type="{http://www.CIP4.org/JDFSchema_2_0}Side" />
<attribute name="ResourceWeight" type="{http://www.CIP4.org/JDFSchema_2_0}double" />
<attribute name="CutLines" type="{http://www.CIP4.org/JDFSchema_2_0}NMTOKENS" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ShapeDef.FluteDirection
Java class for null.
|
static class |
ShapeDef.GrainDirection
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
area |
protected Rectangle |
cutBox |
protected java.util.List<java.lang.String> |
cutLines |
protected Shape |
dimensions |
protected FileSpec |
fileSpec |
protected Shape |
flatDimensions |
protected ShapeDef.FluteDirection |
fluteDirection |
protected ShapeDef.GrainDirection |
grainDirection |
protected Resource |
media |
protected Side |
mediaSide |
protected java.lang.Double |
resourceWeight |
protected java.util.List<Shape> |
shape |
| Constructor and Description |
|---|
ShapeDef() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
java.lang.Double |
getArea()
Gets the value of the area property.
|
Rectangle |
getCutBox()
Gets the value of the cutBox property.
|
java.util.List<java.lang.String> |
getCutLines()
Gets the value of the cutLines property.
|
Shape |
getDimensions()
Gets the value of the dimensions property.
|
FileSpec |
getFileSpec()
Gets the value of the fileSpec property.
|
Shape |
getFlatDimensions()
Gets the value of the flatDimensions property.
|
ShapeDef.FluteDirection |
getFluteDirection()
Gets the value of the fluteDirection property.
|
ShapeDef.GrainDirection |
getGrainDirection()
Gets the value of the grainDirection property.
|
Resource |
getMedia()
Gets the value of the media property.
|
Side |
getMediaSide()
Gets the value of the mediaSide property.
|
java.lang.Double |
getResourceWeight()
Gets the value of the resourceWeight property.
|
java.util.List<Shape> |
getShape()
Gets the value of the shape property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setArea(java.lang.Double value)
Sets the value of the area property.
|
void |
setCutBox(Rectangle value)
Sets the value of the cutBox property.
|
void |
setDimensions(Shape value)
Sets the value of the dimensions property.
|
void |
setFileSpec(FileSpec value)
Sets the value of the fileSpec property.
|
void |
setFlatDimensions(Shape value)
Sets the value of the flatDimensions property.
|
void |
setFluteDirection(ShapeDef.FluteDirection value)
Sets the value of the fluteDirection property.
|
void |
setGrainDirection(ShapeDef.GrainDirection value)
Sets the value of the grainDirection property.
|
void |
setMedia(Resource value)
Sets the value of the media property.
|
void |
setMediaSide(Side value)
Sets the value of the mediaSide property.
|
void |
setResourceWeight(java.lang.Double value)
Sets the value of the resourceWeight property.
|
ShapeDef |
withArea(java.lang.Double value) |
ShapeDef |
withCutBox(Rectangle value) |
ShapeDef |
withCutLines(java.util.Collection<java.lang.String> values) |
ShapeDef |
withCutLines(java.lang.String... values) |
ShapeDef |
withDimensions(Shape value) |
ShapeDef |
withFileSpec(FileSpec value) |
ShapeDef |
withFlatDimensions(Shape value) |
ShapeDef |
withFluteDirection(ShapeDef.FluteDirection value) |
ShapeDef |
withGrainDirection(ShapeDef.GrainDirection value) |
ShapeDef |
withMedia(Resource value) |
ShapeDef |
withMediaSide(Side value) |
ShapeDef |
withResourceWeight(java.lang.Double value) |
ShapeDef |
withShape(java.util.Collection<Shape> values) |
ShapeDef |
withShape(Shape... values) |
getOtherAttributes@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected FileSpec fileSpec
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected java.util.List<Shape> shape
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected java.lang.Double area
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected Rectangle cutBox
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected Shape dimensions
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected Shape flatDimensions
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected ShapeDef.FluteDirection fluteDirection
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected ShapeDef.GrainDirection grainDirection
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected Resource media
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected Side mediaSide
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected java.lang.Double resourceWeight
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
protected java.util.List<java.lang.String> cutLines
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public FileSpec getFileSpec()
FileSpec@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setFileSpec(FileSpec value)
value - allowed object is
FileSpec@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public java.util.List<Shape> getShape()
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 set method 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
@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public java.lang.Double getArea()
Double@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setArea(java.lang.Double value)
value - allowed object is
Double@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public Rectangle getCutBox()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setCutBox(Rectangle value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public Shape getDimensions()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setDimensions(Shape value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public Shape getFlatDimensions()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setFlatDimensions(Shape value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public ShapeDef.FluteDirection getFluteDirection()
ShapeDef.FluteDirection@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setFluteDirection(ShapeDef.FluteDirection value)
value - allowed object is
ShapeDef.FluteDirection@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public ShapeDef.GrainDirection getGrainDirection()
ShapeDef.GrainDirection@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setGrainDirection(ShapeDef.GrainDirection value)
value - allowed object is
ShapeDef.GrainDirection@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public Resource getMedia()
Object@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setMedia(Resource value)
value - allowed object is
Object@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public Side getMediaSide()
Side@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setMediaSide(Side value)
value - allowed object is
Side@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public java.lang.Double getResourceWeight()
Double@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public void setResourceWeight(java.lang.Double value)
value - allowed object is
Double@Generated(value="com.sun.tools.xjc.Driver",
date="2017-03-27T06:28:30+02:00",
comments="JAXB RI v2.2.11")
public java.util.List<java.lang.String> getCutLines()
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 set method 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
public ShapeDef withArea(java.lang.Double value)
public ShapeDef withFluteDirection(ShapeDef.FluteDirection value)
public ShapeDef withGrainDirection(ShapeDef.GrainDirection value)
public ShapeDef withResourceWeight(java.lang.Double value)
public ShapeDef withCutLines(java.lang.String... values)
public ShapeDef withCutLines(java.util.Collection<java.lang.String> values)
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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class SpecificResourcepublic boolean equals(java.lang.Object object)
equals in class SpecificResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class SpecificResourcepublic int hashCode()
hashCode in class SpecificResource