com.konakart.rmi.app
Class S_Currency

java.lang.Object
  extended by com.konakart.rmi.app.S_Currency
All Implemented Interfaces:
java.io.Serializable

public class S_Currency
extends java.lang.Object
implements java.io.Serializable

Describes a currency for use within KonaKart.

See Also:
Serialized Form

Constructor Summary
S_Currency()
           
 
Method Summary
 java.lang.String getCode()
          e.g.
 java.lang.String getDecimalPlaces()
           
 java.lang.String getDecimalPoint()
          The character use to represent a decimal point.
 int getId()
           
 java.lang.String getSymbolLeft()
          The symbol on the left hand side of the value.
 java.lang.String getSymbolRight()
          The symbol on the right hand side of the value.
 java.lang.String getThousandsPoint()
          The character used for separating thousands.
 java.lang.String getTitle()
           
 java.math.BigDecimal getValue()
          Can be used to store an exchange rate.
 void setCode(java.lang.String _code)
          e.g.
 void setDecimalPlaces(java.lang.String _decimalPlaces)
           
 void setDecimalPoint(java.lang.String _decimalPoint)
          The character use to represent a decimal point.
 void setId(int _id)
           
 void setSymbolLeft(java.lang.String _symbolLeft)
          The symbol on the left hand side of the value.
 void setSymbolRight(java.lang.String _symbolRight)
          The symbol on the right hand side of the value.
 void setThousandsPoint(java.lang.String _thousandsPoint)
          The character used for separating thousands.
 void setTitle(java.lang.String _title)
           
 void setValue(java.math.BigDecimal _value)
          Can be used to store an exchange rate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S_Currency

public S_Currency()
Method Detail

getCode

public java.lang.String getCode()
e.g. EUR or USD

Returns:
Returns the currency code.

setCode

public void setCode(java.lang.String _code)
e.g. EUR or USD

Parameters:
_code - The code to set.

getDecimalPlaces

public java.lang.String getDecimalPlaces()
Returns:
Returns the decimalPlaces.

setDecimalPlaces

public void setDecimalPlaces(java.lang.String _decimalPlaces)
Parameters:
_decimalPlaces - The decimalPlaces to set.

getDecimalPoint

public java.lang.String getDecimalPoint()
The character use to represent a decimal point. e.g. "." or ","

Returns:
Returns the decimalPoint.

setDecimalPoint

public void setDecimalPoint(java.lang.String _decimalPoint)
The character use to represent a decimal point. e.g. "." or ","

Parameters:
_decimalPoint - The decimalPoint to set.

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int _id)
Parameters:
_id - The id to set.

getSymbolLeft

public java.lang.String getSymbolLeft()
The symbol on the left hand side of the value. e.g. $ or £

Returns:
Returns the symbolLeft.

setSymbolLeft

public void setSymbolLeft(java.lang.String _symbolLeft)
The symbol on the left hand side of the value. e.g. $ or £

Parameters:
_symbolLeft - The symbolLeft to set.

getSymbolRight

public java.lang.String getSymbolRight()
The symbol on the right hand side of the value. e.g. EUR

Returns:
Returns the symbolRight.

setSymbolRight

public void setSymbolRight(java.lang.String _symbolRight)
The symbol on the right hand side of the value. e.g. EUR

Parameters:
_symbolRight - The symbolRight to set.

getThousandsPoint

public java.lang.String getThousandsPoint()
The character used for separating thousands. e.g. "," or "."

Returns:
Returns the thousandsPoint.

setThousandsPoint

public void setThousandsPoint(java.lang.String _thousandsPoint)
The character used for separating thousands. e.g. "," or "."

Parameters:
_thousandsPoint - The thousandsPoint to set.

getTitle

public java.lang.String getTitle()
Returns:
Returns the title.

setTitle

public void setTitle(java.lang.String _title)
Parameters:
_title - The title to set.

getValue

public java.math.BigDecimal getValue()
Can be used to store an exchange rate.

Returns:
Returns the value.

setValue

public void setValue(java.math.BigDecimal _value)
Can be used to store an exchange rate.

Parameters:
_value - The value to set.


Copyright © 2011 DS Data Systems UK Ltd.