Package org.cip4.lib.xjdf.schema
Class HolePattern
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.HolePattern
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class HolePattern extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Center" type="{http://www.CIP4.org/JDFSchema_2_0}XYPair" /> <attribute name="CenterReference"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="RegistrationMark"/> <enumeration value="TrailingEdge"/> </restriction> </simpleType> </attribute> <attribute name="Extent" type="{http://www.CIP4.org/JDFSchema_2_0}XYPair" /> <attribute name="HoleCount" type="{http://www.CIP4.org/JDFSchema_2_0}IntegerList" /> <attribute name="Pattern"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="None"/> <enumeration value="S1-generic"/> <enumeration value="S-generic"/> <enumeration value="R2-generic"/> <enumeration value="R2m-DIN"/> <enumeration value="R2m-ISO"/> <enumeration value="R2m-MIB"/> <enumeration value="R2i-US-a"/> <enumeration value="R2i-US-b"/> <enumeration value="R3-generic"/> <enumeration value="R3i-US"/> <enumeration value="R4-generic"/> <enumeration value="R4m-DIN-A4"/> <enumeration value="R4m-DIN-A5"/> <enumeration value="R4m-swedish"/> <enumeration value="R4i-US"/> <enumeration value="R5-generic"/> <enumeration value="R5i-US-a"/> <enumeration value="R5i-US-b"/> <enumeration value="R5i-US-c"/> <enumeration value="R6-generic"/> <enumeration value="R6m-4h2s"/> <enumeration value="R6m-DIN-A5"/> <enumeration value="R7-generic"/> <enumeration value="R7i-US-a"/> <enumeration value="R7i-US-b"/> <enumeration value="R7i-US-c"/> <enumeration value="R11m-7h4s"/> <enumeration value="P16_9i-rect-0t"/> <enumeration value="P12m-rect-0t"/> <enumeration value="W2_1i-round-0t"/> <enumeration value="W2_1i-square-0t"/> <enumeration value="W3_1i-square-0t"/> <enumeration value="C9.5m-round-0t"/> </restriction> </simpleType> </attribute> <attribute name="Pitch" type="{http://www.CIP4.org/JDFSchema_2_0}XYPair" /> <attribute name="ReferenceEdge"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Bottom"/> <enumeration value="Left"/> <enumeration value="Pattern"/> <enumeration value="Right"/> <enumeration value="Top"/> </restriction> </simpleType> </attribute> <attribute name="Reinforcement" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Shape"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Elliptic"/> <enumeration value="Rectangular"/> <enumeration value="Round"/> </restriction> </simpleType> </attribute> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHolePattern.CenterReferenceJava class for null.static classHolePattern.PatternJava class for null.static classHolePattern.ReferenceEdgeJava class for null.static classHolePattern.ShapeJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected XYPaircenterprotected HolePattern.CenterReferencecenterReferenceprotected XYPairextentprotected IntegerListholeCountprotected HolePattern.Patternpatternprotected XYPairpitchprotected HolePattern.ReferenceEdgereferenceEdgeprotected java.lang.Stringreinforcementprotected HolePattern.Shapeshape
-
Constructor Summary
Constructors Constructor Description HolePattern()
-
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)XYPairgetCenter()Gets the value of the center property.HolePattern.CenterReferencegetCenterReference()Gets the value of the centerReference property.XYPairgetExtent()Gets the value of the extent property.IntegerListgetHoleCount()Gets the value of the holeCount property.java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.HolePattern.PatterngetPattern()Gets the value of the pattern property.XYPairgetPitch()Gets the value of the pitch property.HolePattern.ReferenceEdgegetReferenceEdge()Gets the value of the referenceEdge property.java.lang.StringgetReinforcement()Gets the value of the reinforcement property.HolePattern.ShapegetShape()Gets the value of the shape property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCenter(XYPair value)Sets the value of the center property.voidsetCenterReference(HolePattern.CenterReference value)Sets the value of the centerReference property.voidsetExtent(XYPair value)Sets the value of the extent property.voidsetHoleCount(IntegerList value)Sets the value of the holeCount property.voidsetPattern(HolePattern.Pattern value)Sets the value of the pattern property.voidsetPitch(XYPair value)Sets the value of the pitch property.voidsetReferenceEdge(HolePattern.ReferenceEdge value)Sets the value of the referenceEdge property.voidsetReinforcement(java.lang.String value)Sets the value of the reinforcement property.voidsetShape(HolePattern.Shape value)Sets the value of the shape property.HolePatternwithCenter(XYPair value)HolePatternwithCenterReference(HolePattern.CenterReference value)HolePatternwithExtent(XYPair value)HolePatternwithHoleCount(IntegerList value)HolePatternwithPattern(HolePattern.Pattern value)HolePatternwithPitch(XYPair value)HolePatternwithReferenceEdge(HolePattern.ReferenceEdge value)HolePatternwithReinforcement(java.lang.String value)HolePatternwithShape(HolePattern.Shape value)
-
-
-
Field Detail
-
center
protected XYPair center
-
centerReference
protected HolePattern.CenterReference centerReference
-
extent
protected XYPair extent
-
holeCount
protected IntegerList holeCount
-
pattern
protected HolePattern.Pattern pattern
-
pitch
protected XYPair pitch
-
referenceEdge
protected HolePattern.ReferenceEdge referenceEdge
-
reinforcement
protected java.lang.String reinforcement
-
shape
protected HolePattern.Shape shape
-
-
Method Detail
-
getCenter
public XYPair getCenter()
Gets the value of the center property.- Returns:
- possible object is
String
-
setCenter
public void setCenter(XYPair value)
Sets the value of the center property.- Parameters:
value- allowed object isString
-
getCenterReference
public HolePattern.CenterReference getCenterReference()
Gets the value of the centerReference property.- Returns:
- possible object is
HolePattern.CenterReference
-
setCenterReference
public void setCenterReference(HolePattern.CenterReference value)
Sets the value of the centerReference property.- Parameters:
value- allowed object isHolePattern.CenterReference
-
getExtent
public XYPair getExtent()
Gets the value of the extent property.- Returns:
- possible object is
String
-
setExtent
public void setExtent(XYPair value)
Sets the value of the extent property.- Parameters:
value- allowed object isString
-
getHoleCount
public IntegerList getHoleCount()
Gets the value of the holeCount property.- Returns:
- possible object is
String
-
setHoleCount
public void setHoleCount(IntegerList value)
Sets the value of the holeCount property.- Parameters:
value- allowed object isString
-
getPattern
public HolePattern.Pattern getPattern()
Gets the value of the pattern property.- Returns:
- possible object is
HolePattern.Pattern
-
setPattern
public void setPattern(HolePattern.Pattern value)
Sets the value of the pattern property.- Parameters:
value- allowed object isHolePattern.Pattern
-
getPitch
public XYPair getPitch()
Gets the value of the pitch property.- Returns:
- possible object is
String
-
setPitch
public void setPitch(XYPair value)
Sets the value of the pitch property.- Parameters:
value- allowed object isString
-
getReferenceEdge
public HolePattern.ReferenceEdge getReferenceEdge()
Gets the value of the referenceEdge property.- Returns:
- possible object is
HolePattern.ReferenceEdge
-
setReferenceEdge
public void setReferenceEdge(HolePattern.ReferenceEdge value)
Sets the value of the referenceEdge property.- Parameters:
value- allowed object isHolePattern.ReferenceEdge
-
getReinforcement
public java.lang.String getReinforcement()
Gets the value of the reinforcement property.- Returns:
- possible object is
String
-
setReinforcement
public void setReinforcement(java.lang.String value)
Sets the value of the reinforcement property.- Parameters:
value- allowed object isString
-
getShape
public HolePattern.Shape getShape()
Gets the value of the shape property.- Returns:
- possible object is
HolePattern.Shape
-
setShape
public void setShape(HolePattern.Shape value)
Sets the value of the shape property.- Parameters:
value- allowed object isHolePattern.Shape
-
getOtherAttributes
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
withCenter
public HolePattern withCenter(XYPair value)
-
withCenterReference
public HolePattern withCenterReference(HolePattern.CenterReference value)
-
withExtent
public HolePattern withExtent(XYPair value)
-
withHoleCount
public HolePattern withHoleCount(IntegerList value)
-
withPattern
public HolePattern withPattern(HolePattern.Pattern value)
-
withPitch
public HolePattern withPitch(XYPair value)
-
withReferenceEdge
public HolePattern withReferenceEdge(HolePattern.ReferenceEdge value)
-
withReinforcement
public HolePattern withReinforcement(java.lang.String value)
-
withShape
public HolePattern withShape(HolePattern.Shape 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
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
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
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-