Package com.vidispine.generated
Class RationalType
- java.lang.Object
-
- com.vidispine.generated.RationalType
-
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
- Direct Known Subclasses:
FrameRateType,TimeBaseType
public class RationalType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRationalType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected intdenominatorprotected intnumerator
-
Constructor Summary
Constructors Constructor Description RationalType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)intgetDenominator()Gets the value of the denominator property.intgetNumerator()Gets the value of the numerator property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)booleanisSetDenominator()booleanisSetNumerator()voidsetDenominator(int value)Sets the value of the denominator property.voidsetNumerator(int value)Sets the value of the numerator property.RationalTypevisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)RationalTypewithDenominator(int value)RationalTypewithNumerator(int value)
-
-
-
Method Detail
-
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()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withNumerator
public RationalType withNumerator(int value)
-
withDenominator
public RationalType withDenominator(int value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public RationalType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
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
-
-