public class JaxpCurrency extends Object implements Serializable, Cloneable
Constructor and Description |
---|
JaxpCurrency()
Creates a new
JaxpCurrency instance. |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(Object o)
Indicates whether some other object is equal to this one by comparing the values of all properties.
|
Character |
getDtausCode()
Gets the DTAUS currency code.
|
Date |
getEndDate()
Gets the end date.
|
String |
getIsoCode()
Gets the ISO currency code.
|
Date |
getStartDate()
Gets the start date.
|
int |
hashCode()
Returns a hash code value for this object.
|
boolean |
isValidAt(Date date)
Checks that the currency is valid at a given date.
|
void |
setDtausCode(Character value)
Sets the DTAUS currency code.
|
void |
setEndDate(Date value)
Sets the end date.
|
void |
setIsoCode(String value)
Sets the ISO currency code.
|
void |
setStartDate(Date value)
Sets the start date.
|
String |
toString()
Returns a string representation of the object.
|
public JaxpCurrency()
JaxpCurrency
instance.public boolean equals(Object o)
public Character getDtausCode()
null
.public Date getEndDate()
public String getIsoCode()
public Date getStartDate()
public int hashCode()
public boolean isValidAt(Date date)
date
- The date with which to check.true
, if the currency is valid at date
;
false
if not.NullPointerException
- if date
is null
.public void setDtausCode(Character value)
value
- The DTAUS currency code or null
.public void setEndDate(Date value)
value
- The end date.public void setIsoCode(String value)
value
- The ISO currency code.public void setStartDate(Date value)
value
- The start date.Copyright © 2005–2014 jDTAUS. All rights reserved.