Package org.cyclos.entities.banking
Class AccountType
- 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.AccountType
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasCurrency,HasNetwork,ProcessableForProxying,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
SystemAccountType,UserAccountType
@Entity public abstract class AccountType extends ConfigurationEntity implements HasCurrency
Represents an account type
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description AccountType()
-
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
-
getCustomFieldsForList
public Set<TransactionCustomField> getCustomFieldsForList()
-
getCustomFieldsForSearch
public Set<TransactionCustomField> getCustomFieldsForSearch()
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getFromTransferTypes
public Set<TransferType> getFromTransferTypes()
-
getLimitType
public abstract AccountTypeLimitType getLimitType()
-
getNature
public abstract AccountTypeNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getToTransferTypes
public Set<TransferType> getToTransferTypes()
-
getTransferFilters
public Set<TransferFilter> getTransferFilters()
-
isMaturityFreeze
public boolean isMaturityFreeze()
-
isPrintHistoryLandscape
public boolean isPrintHistoryLandscape()
-
isShowDescriptionInHistoryFilters
public boolean isShowDescriptionInHistoryFilters()
-
isShowDescriptionInHistoryList
public boolean isShowDescriptionInHistoryList()
-
setCurrency
public void setCurrency(Currency currency)
-
setCustomFieldsForList
public void setCustomFieldsForList(Set<TransactionCustomField> customFieldsForList)
-
setCustomFieldsForSearch
public void setCustomFieldsForSearch(Set<TransactionCustomField> customFieldsForSearch)
-
setFromTransferTypes
public void setFromTransferTypes(Set<TransferType> fromTransferTypes)
-
setMaturityFreeze
public void setMaturityFreeze(boolean maturityFreeze)
-
setPrintHistoryLandscape
public void setPrintHistoryLandscape(boolean printHistoryLandscape)
-
setShowDescriptionInHistoryFilters
public void setShowDescriptionInHistoryFilters(boolean showDescriptionInHistoryFilters)
-
setShowDescriptionInHistoryList
public void setShowDescriptionInHistoryList(boolean showDescriptionInHistoryList)
-
setToTransferTypes
public void setToTransferTypes(Set<TransferType> toTransferTypes)
-
setTransferFilters
public void setTransferFilters(Set<TransferFilter> transferFilters)
-
-