public class CurrencyDetail extends Object implements Cloneable, Serializable
CurrencyDetail
class represents Currency Code information, that is, codes of different country's
currencies.Constructor and Description |
---|
CurrencyDetail()
construct an empty CurrencyDetail object
|
CurrencyDetail(String currencyCode,
int precision)
construct an CurrencyDetail object with the provided currency code and precision
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
String |
getCurrencyCode()
Returns currency code
|
int |
getPrecision()
Returns precision
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setCurrencyCode(String currencyCode)
Sets currency code to the provided value.
|
void |
setPrecision(int precision)
Sets precision
|
String |
toString()
Returns a string description of the object.
|
public CurrencyDetail()
public CurrencyDetail(String currencyCode, int precision)
currencyCode
- currency codeprecision
- the precision of the currencypublic void setCurrencyCode(String currencyCode)
public void setPrecision(int precision)
public String getCurrencyCode()
public int getPrecision()
public boolean equals(Object obj)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String toString()
public int hashCode()
? Copyright 2013 BMC Software, Inc.