public class AmountType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals
Java class for AmountType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AmountType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>decimal">
<attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
AmountType.PropInfo |
| Modifier and Type | Field and Description |
|---|---|
protected String |
unit |
protected BigDecimal |
value |
| Constructor and Description |
|---|
AmountType() |
| 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() |
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.EqualsStrategy strategy) |
String |
getUnit()
Gets the value of the unit property.
|
BigDecimal |
getValue()
Gets the value of the value property.
|
boolean |
isSetUnit() |
boolean |
isSetValue() |
void |
setUnit(String value)
Sets the value of the unit property.
|
void |
setValue(BigDecimal value)
Sets the value of the value property.
|
AmountType |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
AmountType |
withUnit(String value) |
AmountType |
withValue(BigDecimal value) |
protected BigDecimal value
protected String unit
public BigDecimal getValue()
BigDecimalpublic void setValue(BigDecimal value)
value - allowed object is
BigDecimalpublic boolean isSetValue()
public String getUnit()
Stringpublic void setUnit(String value)
value - allowed object is
Stringpublic boolean isSetUnit()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic 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.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic AmountType withValue(BigDecimal value)
public AmountType withUnit(String value)
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic AmountType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2019. All rights reserved.