Package org.cip4.lib.xjdf.schema
Class Shape
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.Shape
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Shape extends SpecificResource implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Shape complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Shape"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <attribute name="CutBox" type="{http://www.CIP4.org/JDFSchema_2_0}rectangle" /> <attribute name="CutOut" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="CutPath" type="{http://www.CIP4.org/JDFSchema_2_0}PDFPath" /> <attribute name="DDESCutType" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="ShapeDepth" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="ShapeType" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Path"/> <enumeration value="Rectangular"/> <enumeration value="Round"/> <enumeration value="RoundedRectangle"/> </restriction> </simpleType> </attribute> <attribute name="TeethPerDimension" 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 classShape.ShapeTypeJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected RectanglecutBoxprotected java.lang.BooleancutOutprotected java.lang.StringcutPathprotected java.lang.IntegerddesCutTypeprotected java.lang.FloatshapeDepthprotected Shape.ShapeTypeshapeTypeprotected java.lang.FloatteethPerDimension
-
Constructor Summary
Constructors Constructor Description Shape()
-
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)RectanglegetCutBox()Gets the value of the cutBox property.java.lang.StringgetCutPath()Gets the value of the cutPath property.java.lang.IntegergetDDESCutType()Gets the value of the ddesCutType property.java.lang.FloatgetShapeDepth()Gets the value of the shapeDepth property.Shape.ShapeTypegetShapeType()Gets the value of the shapeType property.java.lang.FloatgetTeethPerDimension()Gets the value of the teethPerDimension property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)java.lang.BooleanisCutOut()Gets the value of the cutOut property.voidsetCutBox(Rectangle value)Sets the value of the cutBox property.voidsetCutOut(java.lang.Boolean value)Sets the value of the cutOut property.voidsetCutPath(java.lang.String value)Sets the value of the cutPath property.voidsetDDESCutType(java.lang.Integer value)Sets the value of the ddesCutType property.voidsetShapeDepth(java.lang.Float value)Sets the value of the shapeDepth property.voidsetShapeType(Shape.ShapeType value)Sets the value of the shapeType property.voidsetTeethPerDimension(java.lang.Float value)Sets the value of the teethPerDimension property.ShapewithCutBox(Rectangle value)ShapewithCutOut(java.lang.Boolean value)ShapewithCutPath(java.lang.String value)ShapewithDDESCutType(java.lang.Integer value)ShapewithShapeDepth(java.lang.Float value)ShapewithShapeType(Shape.ShapeType value)ShapewithTeethPerDimension(java.lang.Float value)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Field Detail
-
cutBox
protected Rectangle cutBox
-
cutOut
protected java.lang.Boolean cutOut
-
cutPath
protected java.lang.String cutPath
-
ddesCutType
protected java.lang.Integer ddesCutType
-
shapeDepth
protected java.lang.Float shapeDepth
-
shapeType
protected Shape.ShapeType shapeType
-
teethPerDimension
protected java.lang.Float teethPerDimension
-
-
Method Detail
-
getCutBox
public Rectangle getCutBox()
Gets the value of the cutBox property.- Returns:
- possible object is
String
-
setCutBox
public void setCutBox(Rectangle value)
Sets the value of the cutBox property.- Parameters:
value- allowed object isString
-
isCutOut
public java.lang.Boolean isCutOut()
Gets the value of the cutOut property.- Returns:
- possible object is
Boolean
-
setCutOut
public void setCutOut(java.lang.Boolean value)
Sets the value of the cutOut property.- Parameters:
value- allowed object isBoolean
-
getCutPath
public java.lang.String getCutPath()
Gets the value of the cutPath property.- Returns:
- possible object is
String
-
setCutPath
public void setCutPath(java.lang.String value)
Sets the value of the cutPath property.- Parameters:
value- allowed object isString
-
getDDESCutType
public java.lang.Integer getDDESCutType()
Gets the value of the ddesCutType property.- Returns:
- possible object is
Integer
-
setDDESCutType
public void setDDESCutType(java.lang.Integer value)
Sets the value of the ddesCutType property.- Parameters:
value- allowed object isInteger
-
getShapeDepth
public java.lang.Float getShapeDepth()
Gets the value of the shapeDepth property.- Returns:
- possible object is
Float
-
setShapeDepth
public void setShapeDepth(java.lang.Float value)
Sets the value of the shapeDepth property.- Parameters:
value- allowed object isFloat
-
getShapeType
public Shape.ShapeType getShapeType()
Gets the value of the shapeType property.- Returns:
- possible object is
Shape.ShapeType
-
setShapeType
public void setShapeType(Shape.ShapeType value)
Sets the value of the shapeType property.- Parameters:
value- allowed object isShape.ShapeType
-
getTeethPerDimension
public java.lang.Float getTeethPerDimension()
Gets the value of the teethPerDimension property.- Returns:
- possible object is
Float
-
setTeethPerDimension
public void setTeethPerDimension(java.lang.Float value)
Sets the value of the teethPerDimension property.- Parameters:
value- allowed object isFloat
-
withCutOut
public Shape withCutOut(java.lang.Boolean value)
-
withCutPath
public Shape withCutPath(java.lang.String value)
-
withDDESCutType
public Shape withDDESCutType(java.lang.Integer value)
-
withShapeDepth
public Shape withShapeDepth(java.lang.Float value)
-
withShapeType
public Shape withShapeType(Shape.ShapeType value)
-
withTeethPerDimension
public Shape withTeethPerDimension(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
-
-