Class PerformTransactionDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.transactions.PerformTransactionDTO
-
- All Implemented Interfaces:
Serializable,IPerformTransactionDTO,ModelWithCustomValues<CustomFieldValueDTO>
- Direct Known Subclasses:
CreateTicketDTO,PerformExternalTransactionDTO,PerformInternalTransactionDTO
public abstract class PerformTransactionDTO extends Bean implements IPerformTransactionDTO, ModelWithCustomValues<CustomFieldValueDTO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<BigDecimal,PerformTransactionDTO>AMOUNTstatic StringCLASS_NAMEstatic BasicProperty<String,PerformTransactionDTO>CONFIRMATION_PASSWORDstatic BasicProperty<CurrencyVO,PerformTransactionDTO>CURRENCYstatic ListProperty<CustomFieldValueDTO,PerformTransactionDTO>CUSTOM_VALUESstatic BasicProperty<String,PerformTransactionDTO>DESCRIPTIONstatic BasicProperty<InternalAccountOwner,PerformTransactionDTO>OWNERstatic BasicProperty<TransferTypeVO,PerformTransactionDTO>TYPE
-
Constructor Summary
Constructors Constructor Description PerformTransactionDTO()PerformTransactionDTO(Property<T,? super PerformTransactionDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()BigDecimalgetAmount()StringgetConfirmationPassword()CurrencyVOgetCurrency()List<CustomFieldValueDTO>getCustomValues()StringgetDescription()InternalAccountOwnergetOwner()TransferTypeVOgetType()voidsetAmount(BigDecimal amount)voidsetConfirmationPassword(String confirmationPassword)voidsetCurrency(CurrencyVO currency)voidsetCustomValues(List<CustomFieldValueDTO> customValues)voidsetDescription(String description)voidsetOwner(InternalAccountOwner owner)voidsetType(TransferTypeVO type)-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, className, 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.banking.transactions.IPerformTransactionDTO
getFrom, setFrom
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
AMOUNT
public static final BasicProperty<BigDecimal,PerformTransactionDTO> AMOUNT
-
CONFIRMATION_PASSWORD
public static final BasicProperty<String,PerformTransactionDTO> CONFIRMATION_PASSWORD
-
CURRENCY
public static final BasicProperty<CurrencyVO,PerformTransactionDTO> CURRENCY
-
CUSTOM_VALUES
public static final ListProperty<CustomFieldValueDTO,PerformTransactionDTO> CUSTOM_VALUES
-
DESCRIPTION
public static final BasicProperty<String,PerformTransactionDTO> DESCRIPTION
-
OWNER
public static final BasicProperty<InternalAccountOwner,PerformTransactionDTO> OWNER
-
TYPE
public static final BasicProperty<TransferTypeVO,PerformTransactionDTO> TYPE
-
-
Constructor Detail
-
PerformTransactionDTO
public PerformTransactionDTO()
-
PerformTransactionDTO
public PerformTransactionDTO(Property<T,? super PerformTransactionDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
getConfirmationPassword
public String getConfirmationPassword()
-
setConfirmationPassword
public void setConfirmationPassword(String confirmationPassword)
-
getCurrency
public CurrencyVO getCurrency()
-
setCurrency
public void setCurrency(CurrencyVO currency)
-
getCustomValues
public List<CustomFieldValueDTO> getCustomValues()
- Specified by:
getCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
setCustomValues
public void setCustomValues(List<CustomFieldValueDTO> customValues)
- Specified by:
setCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getOwner
public InternalAccountOwner getOwner()
- Specified by:
getOwnerin interfaceIPerformTransactionDTO
-
setOwner
public void setOwner(InternalAccountOwner owner)
- Specified by:
setOwnerin interfaceIPerformTransactionDTO
-
getType
public TransferTypeVO getType()
-
setType
public void setType(TransferTypeVO type)
-
-