Class TransferFeePreviewVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- org.cyclos.model.banking.transactions.TransferFeePreviewVO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,IEntity,IInternalNamedEntity,INamedEntity
public class TransferFeePreviewVO extends NamedEntityVO implements IInternalNamedEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<CurrencyAmountDTO,TransferFeePreviewVO>AMOUNTstatic StringCLASS_NAMEstatic BasicProperty<AccountVO,TransferFeePreviewVO>FROMstatic BasicProperty<String,TransferFeePreviewVO>INTERNAL_NAMEstatic BasicProperty<AccountVO,TransferFeePreviewVO>TOstatic BasicProperty<TransferTypeVO,TransferFeePreviewVO>TYPE-
Fields inherited from class org.cyclos.model.NamedEntityVO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description TransferFeePreviewVO()TransferFeePreviewVO(Long id)TransferFeePreviewVO(Property<T,? super TransferFeePreviewVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()CurrencyAmountDTOgetAmount()AccountVOgetFrom()StringgetInternalName()AccountVOgetTo()TransferTypeVOgetType()voidsetAmount(CurrencyAmountDTO amount)voidsetFrom(AccountVO from)voidsetInternalName(String internalName)voidsetTo(AccountVO to)voidsetType(TransferTypeVO type)-
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
-
AMOUNT
public static final BasicProperty<CurrencyAmountDTO,TransferFeePreviewVO> AMOUNT
-
FROM
public static final BasicProperty<AccountVO,TransferFeePreviewVO> FROM
-
INTERNAL_NAME
public static final BasicProperty<String,TransferFeePreviewVO> INTERNAL_NAME
-
TO
public static final BasicProperty<AccountVO,TransferFeePreviewVO> TO
-
TYPE
public static final BasicProperty<TransferTypeVO,TransferFeePreviewVO> TYPE
-
-
Constructor Detail
-
TransferFeePreviewVO
public TransferFeePreviewVO()
-
TransferFeePreviewVO
public TransferFeePreviewVO(Long id)
-
TransferFeePreviewVO
public TransferFeePreviewVO(Property<T,? super TransferFeePreviewVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityVO
-
getAmount
public CurrencyAmountDTO getAmount()
-
setAmount
public void setAmount(CurrencyAmountDTO amount)
-
getFrom
public AccountVO getFrom()
-
setFrom
public void setFrom(AccountVO from)
-
getInternalName
public String getInternalName()
- Specified by:
getInternalNamein interfaceIInternalNamedEntity- Returns:
- the internal name.
-
setInternalName
public void setInternalName(String internalName)
- Specified by:
setInternalNamein interfaceIInternalNamedEntity- Parameters:
internalName- the internal name to be set.
-
getTo
public AccountVO getTo()
-
setTo
public void setTo(AccountVO to)
-
getType
public TransferTypeVO getType()
-
setType
public void setType(TransferTypeVO type)
-
-