Package org.cyclos.entities.banking
Class TransferType
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.ConfigurationEntity
-
- org.cyclos.entities.banking.TransferType
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasCurrency,HasNetwork,ProcessableForProxying,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
GeneratedTransferType,PaymentTransferType
@Entity public abstract class TransferType extends ConfigurationEntity implements HasCurrency
Every transfer has a type, which may contain fees and other relevant data
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description TransferType()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.banking.HasCurrency
round, withCurrency
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrencyin interfaceHasCurrency
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getDescriptionAvailability
public Availability getDescriptionAvailability()
-
getDirection
public TransferTypeDirection getDirection()
-
getDisplayTemplate
public String getDisplayTemplate()
-
getdRateCreationValue
public DRateCreationValueForTransferType getdRateCreationValue()
-
getFrom
public AccountType getFrom()
-
getInitialStatuses
public Set<TransferStatus> getInitialStatuses()
-
getMaxChargebackTime
public TimeInterval getMaxChargebackTime()
-
getNature
public abstract TransferTypeNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getStatusFlows
public Set<TransferStatusFlow> getStatusFlows()
-
getTo
public AccountType getTo()
-
getTransferFees
public Set<TransferFee> getTransferFees()
-
getValueForEmptyDescription
public String getValueForEmptyDescription()
-
isEnabled
public abstract boolean isEnabled()
-
isFromSystem
public boolean isFromSystem()
-
isFromUser
public boolean isFromUser()
-
isIgnoreAccountLimits
public boolean isIgnoreAccountLimits()
-
isLockFrom
public boolean isLockFrom()
-
isLockTo
public boolean isLockTo()
-
isNotifyPaymentReceived
public boolean isNotifyPaymentReceived()
-
isToSystem
public boolean isToSystem()
-
isToUser
public boolean isToUser()
-
setDescriptionAvailability
public void setDescriptionAvailability(Availability descriptionAvailability)
-
setDirection
public void setDirection(TransferTypeDirection direction)
-
setDisplayTemplate
public void setDisplayTemplate(String displayTemplate)
-
setdRateCreationValue
public void setdRateCreationValue(DRateCreationValueForTransferType dRateCreationValue)
-
setFrom
public void setFrom(AccountType from)
-
setIgnoreAccountLimits
public void setIgnoreAccountLimits(Boolean ignoreAccountLimits)
-
setInitialStatuses
public void setInitialStatuses(Set<TransferStatus> initialStatuses)
-
setLockFrom
public void setLockFrom(boolean lockFrom)
-
setLockTo
public void setLockTo(boolean lockTo)
-
setMaxChargebackTime
public void setMaxChargebackTime(TimeInterval maxChargebackTime)
-
setNotifyPaymentReceived
public void setNotifyPaymentReceived(boolean notifyPaymentReceived)
-
setStatusFlows
public void setStatusFlows(Set<TransferStatusFlow> statusFlows)
-
setTo
public void setTo(AccountType to)
-
setTransferFees
public void setTransferFees(Set<TransferFee> transferFees)
-
setValueForEmptyDescription
public void setValueForEmptyDescription(String valueForEmptyDescription)
-
-