Package com.vidispine.generated
Class RationalType
java.lang.Object
com.vidispine.generated.RationalType
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jvnet.jaxb.lang.CopyTo
,org.jvnet.jaxb.lang.Equals
,org.jvnet.jaxb.lang.HashCode
,org.jvnet.jaxb.lang.ToString
- Direct Known Subclasses:
FrameRateType
,TimeBaseType
public class RationalType
extends Object
implements Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString
Java class for RationalType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="RationalType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="numerator" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="denominator" type="{http://www.w3.org/2001/XMLSchema}int"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) clone()
copyTo
(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) boolean
boolean
equals
(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) int
Gets the value of the denominator property.int
Gets the value of the numerator property.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) boolean
boolean
void
setDenominator
(int value) Sets the value of the denominator property.void
setNumerator
(int value) Sets the value of the numerator property.toString()
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) withDenominator
(int value) Sets the value of the denominator property.withNumerator
(int value) Sets the value of the numerator property.
-
Field Details
-
numerator
protected int numerator -
denominator
protected int denominator
-
-
Constructor Details
-
RationalType
public RationalType()
-
-
Method Details
-
getNumerator
public int getNumerator()Gets the value of the numerator property. -
setNumerator
public void setNumerator(int value) Sets the value of the numerator property. -
isSetNumerator
public boolean isSetNumerator() -
getDenominator
public int getDenominator()Gets the value of the denominator property. -
setDenominator
public void setDenominator(int value) Sets the value of the denominator property. -
isSetDenominator
public boolean isSetDenominator() -
clone
-
copyTo
- Specified by:
copyTo
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) - Specified by:
copyTo
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
withNumerator
Sets the value of the numerator property.- Parameters:
value
- allowed object is int- Returns:
- The class instance
-
withDenominator
Sets the value of the denominator property.- Parameters:
value
- allowed object is int- Returns:
- The class instance
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) - Specified by:
equals
in interfaceorg.jvnet.jaxb.lang.Equals
-
equals
-
visit
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCode
in interfaceorg.jvnet.jaxb.lang.HashCode
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
append
in interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFields
in interfaceorg.jvnet.jaxb.lang.ToString
-