Class ReferenceCurrency
- java.lang.Object
-
- com.quartetfs.biz.pivot.context.impl.AContextValue
-
- com.activeviam.risk.core.context.impl.ReferenceCurrency
-
- All Implemented Interfaces:
IReferenceCurrency
,com.quartetfs.biz.pivot.context.IContextValue
,com.quartetfs.fwk.IClone<com.quartetfs.biz.pivot.context.IContextValue>
,Serializable
,Cloneable
public class ReferenceCurrency extends com.quartetfs.biz.pivot.context.impl.AContextValue implements IReferenceCurrency
Reference currency context value.- Author:
- ActiveViam
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReferenceCurrency()
constructorReferenceCurrency(String ccy)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Class<? extends com.quartetfs.biz.pivot.context.IContextValue>
getContextInterface()
String
getCurrency()
int
hashCode()
void
setCurrency(String currency)
String
toString()
-
-
-
Field Detail
-
currency
protected String currency
reference currency
-
-
Constructor Detail
-
ReferenceCurrency
protected ReferenceCurrency()
constructor
-
ReferenceCurrency
public ReferenceCurrency(String ccy)
Constructor- Parameters:
ccy
- the currency to use as reference
-
-
Method Detail
-
getCurrency
public String getCurrency()
- Specified by:
getCurrency
in interfaceIReferenceCurrency
- Returns:
- the reference currency
-
setCurrency
public void setCurrency(String currency)
-
getContextInterface
public Class<? extends com.quartetfs.biz.pivot.context.IContextValue> getContextInterface()
- Specified by:
getContextInterface
in interfacecom.quartetfs.biz.pivot.context.IContextValue
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classcom.quartetfs.biz.pivot.context.impl.AContextValue
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classcom.quartetfs.biz.pivot.context.impl.AContextValue
-
-