Package org.cip4.lib.xjdf.schema
Class Score
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Score
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public class Score extends java.lang.Object implements java.io.SerializableJava 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)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()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
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected float offset
-
side
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected Score.Side side
-
-
Method Detail
-
getOffset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public float getOffset()Gets the value of the offset property.
-
setOffset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setOffset(float value)Sets the value of the offset property.
-
getSide
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public Score.Side getSide()Gets the value of the side property.- Returns:
- possible object is
Score.Side
-
setSide
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setSide(Score.Side value)Sets the value of the side property.- Parameters:
value- allowed object isScore.Side
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") 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(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-