Class CurrencyDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.ConfigurationEntityDTO
-
- org.cyclos.model.banking.currencies.CurrencyDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
public class CurrencyDTO extends ConfigurationEntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<ARateParametersDTO,CurrencyDTO>A_RATE_PARAMETERSstatic StringCLASS_NAMEstatic BasicProperty<DRateParametersDTO,CurrencyDTO>D_RATE_PARAMETERSstatic BasicProperty<String,CurrencyDTO>DISPLAY_TEMPLATEstatic BasicProperty<Integer,CurrencyDTO>PRECISIONstatic BasicProperty<String,CurrencyDTO>PREFIXstatic BasicProperty<String,CurrencyDTO>SUFFIXstatic BasicProperty<String,CurrencyDTO>SYMBOLstatic BasicProperty<NumberGenerationDTO,CurrencyDTO>TRANSACTION_NUMBERstatic BasicProperty<Boolean,CurrencyDTO>TRANSACTION_NUMBER_ENABLED-
Fields inherited from class org.cyclos.model.ConfigurationEntityDTO
DESCRIPTION, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description CurrencyDTO()CurrencyDTO(Long id)CurrencyDTO(Property<T,? super CurrencyDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()ARateParametersDTOgetARateParameters()StringgetDisplayTemplate()DRateParametersDTOgetDRateParameters()IntegergetPrecision()StringgetPrefix()StringgetSuffix()StringgetSymbol()NumberGenerationDTOgetTransactionNumber()booleanisTransactionNumberEnabled()voidsetARateParameters(ARateParametersDTO ARateParameters)voidsetDisplayTemplate(String displayTemplate)voidsetDRateParameters(DRateParametersDTO DRateParameters)voidsetPrecision(Integer precision)voidsetPrefix(String prefix)voidsetSuffix(String suffix)voidsetSymbol(String symbol)voidsetTransactionNumber(NumberGenerationDTO transactionNumber)voidsetTransactionNumberEnabled(boolean transactionNumberEnabled)-
Methods inherited from class org.cyclos.model.ConfigurationEntityDTO
getDescription, getInternalName, setDescription, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, 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
-
A_RATE_PARAMETERS
public static final BasicProperty<ARateParametersDTO,CurrencyDTO> A_RATE_PARAMETERS
-
D_RATE_PARAMETERS
public static final BasicProperty<DRateParametersDTO,CurrencyDTO> D_RATE_PARAMETERS
-
DISPLAY_TEMPLATE
public static final BasicProperty<String,CurrencyDTO> DISPLAY_TEMPLATE
-
PRECISION
public static final BasicProperty<Integer,CurrencyDTO> PRECISION
-
PREFIX
public static final BasicProperty<String,CurrencyDTO> PREFIX
-
SUFFIX
public static final BasicProperty<String,CurrencyDTO> SUFFIX
-
SYMBOL
public static final BasicProperty<String,CurrencyDTO> SYMBOL
-
TRANSACTION_NUMBER
public static final BasicProperty<NumberGenerationDTO,CurrencyDTO> TRANSACTION_NUMBER
-
TRANSACTION_NUMBER_ENABLED
public static final BasicProperty<Boolean,CurrencyDTO> TRANSACTION_NUMBER_ENABLED
-
-
Constructor Detail
-
CurrencyDTO
public CurrencyDTO()
-
CurrencyDTO
public CurrencyDTO(Long id)
-
CurrencyDTO
public CurrencyDTO(Property<T,? super CurrencyDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityDTO
-
getARateParameters
public ARateParametersDTO getARateParameters()
-
setARateParameters
public void setARateParameters(ARateParametersDTO ARateParameters)
-
getDRateParameters
public DRateParametersDTO getDRateParameters()
-
setDRateParameters
public void setDRateParameters(DRateParametersDTO DRateParameters)
-
getDisplayTemplate
public String getDisplayTemplate()
-
setDisplayTemplate
public void setDisplayTemplate(String displayTemplate)
-
getPrecision
public Integer getPrecision()
-
setPrecision
public void setPrecision(Integer precision)
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
getSuffix
public String getSuffix()
-
setSuffix
public void setSuffix(String suffix)
-
getSymbol
public String getSymbol()
-
setSymbol
public void setSymbol(String symbol)
-
getTransactionNumber
public NumberGenerationDTO getTransactionNumber()
-
setTransactionNumber
public void setTransactionNumber(NumberGenerationDTO transactionNumber)
-
isTransactionNumberEnabled
public boolean isTransactionNumberEnabled()
-
setTransactionNumberEnabled
public void setTransactionNumberEnabled(boolean transactionNumberEnabled)
-
-