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,ProcessableForDataTranslation,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
SystemAccountType,UserAccountType
@Entity public abstract class AccountType extends ConfigurationEntity implements HasCurrency
Represents an account type
-
-
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
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
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- Returns:
-
getFromTransferTypes
public Set<TransferType> getFromTransferTypes()
-
getLimitType
public abstract AccountTypeLimitType getLimitType()
-
getNature
public abstract AccountTypeNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getToTransferTypes
public Set<TransferType> getToTransferTypes()
-
getTransferFilters
public Set<TransferFilter> getTransferFilters()
-
isMaturityFreeze
public boolean isMaturityFreeze()
-
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)
-
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)
-
-