Package org.cyclos.entities.banking
Class Currency
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,ICurrency,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class Currency extends ConfigurationEntity implements ICurrency, DefinesNetwork
An account type currency
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description Currency()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getaRateParameters
public ARateParameters getaRateParameters()
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getDisplayTemplate
public String getDisplayTemplate()
-
getdRateParameters
public DRateParameters getdRateParameters()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPrecision
public int getPrecision()
- Specified by:
getPrecisionin interfaceICurrency
-
getTransactionNumber
public NumberGeneration getTransactionNumber()
-
getTransactionNumberPattern
public String getTransactionNumberPattern()
-
getTransactionNumberPrefix
public String getTransactionNumberPrefix()
-
getTransactionNumberSuffix
public String getTransactionNumberSuffix()
-
isTransactionNumberEnabled
public boolean isTransactionNumberEnabled()
-
setaRateParameters
public void setaRateParameters(ARateParameters aRateParameters) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
setDisplayTemplate
public void setDisplayTemplate(String displayTemplate)
-
setdRateParameters
public void setdRateParameters(DRateParameters dRateParameters)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setPrecision
public void setPrecision(int precision)
-
setPrefix
public void setPrefix(String prefix)
-
setSuffix
public void setSuffix(String suffix)
-
setSymbol
public void setSymbol(String symbol)
-
setTransactionNumber
public void setTransactionNumber(NumberGeneration transactionNumber)
-
-