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 class
RationalType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected int
denominator
protected int
numerator
-
Constructor Summary
Constructors Constructor Description RationalType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
copyTo(Object target)
Object
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Object
createNewInstance()
boolean
equals(Object object)
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)
int
getDenominator()
Gets the value of the denominator property.int
getNumerator()
Gets the value of the numerator property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
boolean
isSetDenominator()
boolean
isSetNumerator()
void
setDenominator(int value)
Sets the value of the denominator property.void
setNumerator(int value)
Sets the value of the numerator property.RationalType
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
RationalType
withDenominator(int value)
RationalType
withNumerator(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:
copyTo
in 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:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstance
in 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:
equals
in 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:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-