Package org.cip4.lib.xjdf.schema
Class Score
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Score
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class Score 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="Offset" use="required" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="Side" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="FromInside"/> <enumeration value="FromOutside"/> </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 classScore.SideJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected floatoffsetprotected Score.Sideside
-
Constructor Summary
Constructors Constructor Description Score()
-
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)floatgetOffset()Gets the value of the offset 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.Score.SidegetSide()Gets the value of the side property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetOffset(float value)Sets the value of the offset property.voidsetSide(Score.Side value)Sets the value of the side property.ScorewithOffset(float value)ScorewithSide(Score.Side value)
-
-
-
Field Detail
-
offset
protected float offset
-
side
protected Score.Side side
-
-
Method Detail
-
getOffset
public float getOffset()
Gets the value of the offset property.
-
setOffset
public void setOffset(float value)
Sets the value of the offset property.
-
getSide
public Score.Side getSide()
Gets the value of the side property.- Returns:
- possible object is
Score.Side
-
setSide
public void setSide(Score.Side value)
Sets the value of the side property.- Parameters:
value- allowed object isScore.Side
-
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
-
withOffset
public Score withOffset(float value)
-
withSide
public Score withSide(Score.Side 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
-
-