Class TransVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.banking.transactions.TransVO
-
- All Implemented Interfaces:
Serializable,HasTransactionNumber,IEntity,HasDisplay
- Direct Known Subclasses:
TransactionVO,TransferVO
public class TransVO extends EntityVO implements HasTransactionNumber, HasDisplay
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<CurrencyAmountDTO,TransVO>CURRENCY_AMOUNTstatic BasicProperty<DateTime,TransVO>DATEstatic BasicProperty<String,TransVO>DISPLAYstatic BasicProperty<AccountVO,TransVO>FROMstatic BasicProperty<AccountVO,TransVO>TOstatic BasicProperty<String,TransVO>TRANSACTION_NUMBERstatic BasicProperty<TransferTypeVO,TransVO>TYPE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()CurrencyAmountDTOgetCurrencyAmount()DateTimegetDate()StringgetDisplay()AccountVOgetFrom()AccountVOgetTo()StringgetTransactionNumber()TransferTypeVOgetType()voidsetCurrencyAmount(CurrencyAmountDTO currencyAmount)voidsetDate(DateTime date)voidsetDisplay(String display)voidsetFrom(AccountVO from)voidsetTo(AccountVO to)voidsetTransactionNumber(String transactionNumber)voidsetType(TransferTypeVO type)StringtoString()-
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
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CURRENCY_AMOUNT
public static final BasicProperty<CurrencyAmountDTO,TransVO> CURRENCY_AMOUNT
-
DATE
public static final BasicProperty<DateTime,TransVO> DATE
-
DISPLAY
public static final BasicProperty<String,TransVO> DISPLAY
-
FROM
public static final BasicProperty<AccountVO,TransVO> FROM
-
TO
public static final BasicProperty<AccountVO,TransVO> TO
-
TRANSACTION_NUMBER
public static final BasicProperty<String,TransVO> TRANSACTION_NUMBER
-
TYPE
public static final BasicProperty<TransferTypeVO,TransVO> TYPE
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getCurrencyAmount
public CurrencyAmountDTO getCurrencyAmount()
-
setCurrencyAmount
public void setCurrencyAmount(CurrencyAmountDTO currencyAmount)
-
getDate
public DateTime getDate()
-
setDate
public void setDate(DateTime date)
-
getDisplay
public String getDisplay()
- Specified by:
getDisplayin interfaceHasDisplay
-
setDisplay
public void setDisplay(String display)
- Specified by:
setDisplayin interfaceHasDisplay
-
getFrom
public AccountVO getFrom()
-
setFrom
public void setFrom(AccountVO from)
-
getTo
public AccountVO getTo()
-
setTo
public void setTo(AccountVO to)
-
getTransactionNumber
public String getTransactionNumber()
- Specified by:
getTransactionNumberin interfaceHasTransactionNumber
-
setTransactionNumber
public void setTransactionNumber(String transactionNumber)
-
getType
public TransferTypeVO getType()
-
setType
public void setType(TransferTypeVO type)
-
toString
public String toString()
- Overrides:
toStringin classEntityModel
-
-