@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00: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}float" />
<attribute name="CutBox" type="{http://www.CIP4.org/JDFSchema_2_0}rectangle" />
<attribute name="CutLines" type="{http://www.CIP4.org/JDFSchema_2_0}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.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}float" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Float |
area |
protected Rectangle |
cutBox |
protected java.util.List<java.lang.String> |
cutLines |
protected Shape |
dimensions |
protected FileSpec |
fileSpec |
protected Shape |
flatDimensions |
protected MediaDirection |
fluteDirection |
protected MediaDirection |
grainDirection |
protected Resource |
media |
protected Side |
mediaSide |
protected java.lang.Float |
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.Float |
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.
|
MediaDirection |
getFluteDirection()
Gets the value of the fluteDirection property.
|
MediaDirection |
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.Float |
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.Float 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(MediaDirection value)
Sets the value of the fluteDirection property.
|
void |
setGrainDirection(MediaDirection 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.Float value)
Sets the value of the resourceWeight property.
|
ShapeDef |
withArea(java.lang.Float 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(MediaDirection value) |
ShapeDef |
withGrainDirection(MediaDirection value) |
ShapeDef |
withMedia(Resource value) |
ShapeDef |
withMediaSide(Side value) |
ShapeDef |
withResourceWeight(java.lang.Float value) |
ShapeDef |
withShape(java.util.Collection<Shape> values) |
ShapeDef |
withShape(Shape... values) |
getOtherAttributes@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected FileSpec fileSpec
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected java.util.List<Shape> shape
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.Float area
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected Rectangle cutBox
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected java.util.List<java.lang.String> cutLines
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected Shape dimensions
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected Shape flatDimensions
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected MediaDirection fluteDirection
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected MediaDirection grainDirection
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected Resource media
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected Side mediaSide
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
protected java.lang.Float resourceWeight
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public FileSpec getFileSpec()
FileSpec@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00: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="2018-09-18T03:15:49+00: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="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public java.lang.Float getArea()
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public void setArea(java.lang.Float value)
value - allowed object is
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public Rectangle getCutBox()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00: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="2018-09-18T03:15:49+00: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
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public Shape getDimensions()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00: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="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public Shape getFlatDimensions()
String@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00: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="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public MediaDirection getFluteDirection()
MediaDirection@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public void setFluteDirection(MediaDirection value)
value - allowed object is
MediaDirection@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public MediaDirection getGrainDirection()
MediaDirection@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public void setGrainDirection(MediaDirection value)
value - allowed object is
MediaDirection@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public Resource getMedia()
Object@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00: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="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public Side getMediaSide()
Side@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00: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="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public java.lang.Float getResourceWeight()
Float@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-18T03:15:49+00:00",
comments="JAXB RI v2.2.11")
public void setResourceWeight(java.lang.Float value)
value - allowed object is
Floatpublic ShapeDef withArea(java.lang.Float value)
public ShapeDef withCutLines(java.lang.String... values)
public ShapeDef withCutLines(java.util.Collection<java.lang.String> values)
public ShapeDef withFluteDirection(MediaDirection value)
public ShapeDef withGrainDirection(MediaDirection value)
public ShapeDef withResourceWeight(java.lang.Float value)
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