Package org.cip4.lib.xjdf.schema
Class Fold
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Fold
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Fold 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="From" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Front"/> <enumeration value="Left"/> </restriction> </simpleType> </attribute> <attribute name="To" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Up"/> <enumeration value="Down"/> </restriction> </simpleType> </attribute> <attribute name="Travel" type="{http://www.w3.org/2001/XMLSchema}float" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Fold()
-
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)Fold.FromgetFrom()Gets the value of the from 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.Fold.TogetTo()Gets the value of the to property.java.lang.FloatgetTravel()Gets the value of the travel property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetFrom(Fold.From value)Sets the value of the from property.voidsetTo(Fold.To value)Sets the value of the to property.voidsetTravel(java.lang.Float value)Sets the value of the travel property.FoldwithFrom(Fold.From value)FoldwithTo(Fold.To value)FoldwithTravel(java.lang.Float value)
-
-
-
Method Detail
-
getFrom
public Fold.From getFrom()
Gets the value of the from property.- Returns:
- possible object is
Fold.From
-
setFrom
public void setFrom(Fold.From value)
Sets the value of the from property.- Parameters:
value- allowed object isFold.From
-
setTo
public void setTo(Fold.To value)
Sets the value of the to property.- Parameters:
value- allowed object isFold.To
-
getTravel
public java.lang.Float getTravel()
Gets the value of the travel property.- Returns:
- possible object is
Float
-
setTravel
public void setTravel(java.lang.Float value)
Sets the value of the travel property.- Parameters:
value- allowed object isFloat
-
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
-
withTravel
public Fold withTravel(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
-
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
-
-