Class VoucherTransactionVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.banking.vouchers.VoucherTransactionVO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
VoucherTransactionResultVO
public class VoucherTransactionVO extends EntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<BigDecimal,VoucherTransactionVO>AMOUNTstatic BasicProperty<BasicUserVO,VoucherTransactionVO>BYstatic StringCLASS_NAMEstatic BasicProperty<DateTime,VoucherTransactionVO>DATEstatic BasicProperty<VoucherTransactionNature,VoucherTransactionVO>NATUREstatic BasicProperty<TransactionDetailedVO,VoucherTransactionVO>TRANSACTIONstatic BasicProperty<UserVO,VoucherTransactionVO>USER-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description VoucherTransactionVO()VoucherTransactionVO(Long id)VoucherTransactionVO(Property<T,? super VoucherTransactionVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()BigDecimalgetAmount()BasicUserVOgetBy()DateTimegetDate()VoucherTransactionNaturegetNature()TransactionDetailedVOgetTransaction()UserVOgetUser()voidsetAmount(BigDecimal amount)voidsetBy(BasicUserVO by)voidsetDate(DateTime date)voidsetNature(VoucherTransactionNature nature)voidsetTransaction(TransactionDetailedVO transaction)voidsetUser(UserVO user)-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId, toString
-
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
-
AMOUNT
public static final BasicProperty<BigDecimal,VoucherTransactionVO> AMOUNT
-
BY
public static final BasicProperty<BasicUserVO,VoucherTransactionVO> BY
-
DATE
public static final BasicProperty<DateTime,VoucherTransactionVO> DATE
-
NATURE
public static final BasicProperty<VoucherTransactionNature,VoucherTransactionVO> NATURE
-
TRANSACTION
public static final BasicProperty<TransactionDetailedVO,VoucherTransactionVO> TRANSACTION
-
USER
public static final BasicProperty<UserVO,VoucherTransactionVO> USER
-
-
Constructor Detail
-
VoucherTransactionVO
public VoucherTransactionVO()
-
VoucherTransactionVO
public VoucherTransactionVO(Long id)
-
VoucherTransactionVO
public VoucherTransactionVO(Property<T,? super VoucherTransactionVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
getBy
public BasicUserVO getBy()
-
setBy
public void setBy(BasicUserVO by)
-
getDate
public DateTime getDate()
-
setDate
public void setDate(DateTime date)
-
getNature
public VoucherTransactionNature getNature()
-
setNature
public void setNature(VoucherTransactionNature nature)
-
getTransaction
public TransactionDetailedVO getTransaction()
-
setTransaction
public void setTransaction(TransactionDetailedVO transaction)
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-