Class CurrencyVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- org.cyclos.model.ConfigurationEntityVO
-
- org.cyclos.model.banking.currencies.CurrencyVO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,ICurrency,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
CurrencyVOWithDRate
public class CurrencyVO extends ConfigurationEntityVO implements ICurrency
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Integer,CurrencyVO>PRECISIONstatic BasicProperty<String,CurrencyVO>PREFIXstatic BasicProperty<String,CurrencyVO>SUFFIXstatic BasicProperty<String,CurrencyVO>SYMBOLstatic BasicProperty<String,CurrencyVO>TRANSACTION_NUMBER_PATTERNstatic BasicProperty<String,CurrencyVO>TRANSACTION_NUMBER_PREFIXstatic BasicProperty<String,CurrencyVO>TRANSACTION_NUMBER_SUFFIX-
Fields inherited from class org.cyclos.model.ConfigurationEntityVO
GLOBAL, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityVO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description CurrencyVO()CurrencyVO(Long id)CurrencyVO(Property<T,? super CurrencyVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()intgetPrecision()StringgetPrefix()StringgetSuffix()StringgetSymbol()StringgetTransactionNumberPattern()StringgetTransactionNumberPrefix()StringgetTransactionNumberSuffix()voidsetPrecision(int precision)voidsetPrefix(String prefix)voidsetSuffix(String suffix)voidsetSymbol(String symbol)voidsetTransactionNumberPattern(String transactionNumberPattern)voidsetTransactionNumberPrefix(String transactionNumberPrefix)voidsetTransactionNumberSuffix(String transactionNumberSuffix)-
Methods inherited from class org.cyclos.model.ConfigurationEntityVO
getInternalName, isGlobal, setGlobal, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityVO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
PRECISION
public static final BasicProperty<Integer,CurrencyVO> PRECISION
-
PREFIX
public static final BasicProperty<String,CurrencyVO> PREFIX
-
SUFFIX
public static final BasicProperty<String,CurrencyVO> SUFFIX
-
SYMBOL
public static final BasicProperty<String,CurrencyVO> SYMBOL
-
TRANSACTION_NUMBER_PATTERN
public static final BasicProperty<String,CurrencyVO> TRANSACTION_NUMBER_PATTERN
-
TRANSACTION_NUMBER_PREFIX
public static final BasicProperty<String,CurrencyVO> TRANSACTION_NUMBER_PREFIX
-
TRANSACTION_NUMBER_SUFFIX
public static final BasicProperty<String,CurrencyVO> TRANSACTION_NUMBER_SUFFIX
-
-
Constructor Detail
-
CurrencyVO
public CurrencyVO()
-
CurrencyVO
public CurrencyVO(Long id)
-
CurrencyVO
public CurrencyVO(Property<T,? super CurrencyVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityVO
-
getPrecision
public int getPrecision()
- Specified by:
getPrecisionin interfaceICurrency
-
setPrecision
public void setPrecision(int precision)
-
setPrefix
public void setPrefix(String prefix)
-
setSuffix
public void setSuffix(String suffix)
-
setSymbol
public void setSymbol(String symbol)
-
getTransactionNumberPattern
public String getTransactionNumberPattern()
-
setTransactionNumberPattern
public void setTransactionNumberPattern(String transactionNumberPattern)
-
getTransactionNumberPrefix
public String getTransactionNumberPrefix()
-
setTransactionNumberPrefix
public void setTransactionNumberPrefix(String transactionNumberPrefix)
-
getTransactionNumberSuffix
public String getTransactionNumberSuffix()
-
setTransactionNumberSuffix
public void setTransactionNumberSuffix(String transactionNumberSuffix)
-
-