public class Money extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Money complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Money"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="CurCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected BigDecimal |
amount |
protected String |
curCode |
Constructor and Description |
---|
Money() |
Modifier and Type | Method and Description |
---|---|
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) |
BigDecimal |
getAmount()
Gets the value of the amount property.
|
String |
getCurCode()
Gets the value of the curCode property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setAmount(BigDecimal value)
Sets the value of the amount property.
|
void |
setCurCode(String value)
Sets the value of the curCode property.
|
protected String curCode
protected BigDecimal amount
public String getCurCode()
String
public void setCurCode(String value)
value
- allowed object is
String
public BigDecimal getAmount()
BigDecimal
public void setAmount(BigDecimal value)
value
- allowed object is
BigDecimal
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals2
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode2
Copyright © 2017. All rights reserved.