public class RationalType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
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>
Modifier and Type | Class and Description |
---|---|
static class |
RationalType.PropInfo |
Modifier and Type | Field and Description |
---|---|
protected int |
denominator |
protected int |
numerator |
Constructor and Description |
---|
RationalType() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
int |
getDenominator()
Gets the value of the denominator property.
|
int |
getNumerator()
Gets the value of the numerator property.
|
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) |
public int getNumerator()
public void setNumerator(int value)
public boolean isSetNumerator()
public int getDenominator()
public void setDenominator(int value)
public boolean isSetDenominator()
public Object copyTo(Object target)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public RationalType withNumerator(int value)
public RationalType withDenominator(int value)
public RationalType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2017. All rights reserved.