Package org.cyclos.entities.banking
Class TransactionCustomField
- 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.ConfigurationOrderableEntity
-
- org.cyclos.entities.system.CustomField<TransactionCustomField,TransactionCustomFieldPossibleValueCategory,TransactionCustomFieldPossibleValue>
-
- org.cyclos.entities.banking.TransactionCustomField
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,IUnqualifiedInternalNamedEntity,HasValueMatch,ICustomField,UsesScript
@Entity public class TransactionCustomField extends CustomField<TransactionCustomField,TransactionCustomFieldPossibleValueCategory,TransactionCustomFieldPossibleValue> implements DefinesNetwork
A custom field for transactions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description TransactionCustomField()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.system.CustomField
getAllowedMimeTypes, getAllSelectedLabel, getControl, getDecimalDigits, getDecimalValueRange, getDefaultBooleanValue, getDefaultDateValue, getDefaultDecimalValue, getDefaultIntegerValue, getDefaultRichTextValue, getDefaultStringValue, getDefaultTextValue, getInformationText, getIntegerValueRange, getLengthConstraint, getLinkedEntityRecordType, getLinkedEntityType, getLoadValuesScript, getLoadValuesScriptParameters, getMaxFiles, getMaxWordSize, getOtherMimeTypes, getPattern, getShowQrCodeScan, getSize, getStorageDirectory, getType, getValidationScript, getValidationScriptParameters, getValueMatch, isAllowedAsSearchFilter, isDefaultDateToday, isExactMatch, isExpandedCategories, isIgnoreSanitizer, isRequired, isUnique, setAllowedMimeTypes, setAllSelectedLabel, setControl, setDecimalDigits, setDecimalValueRange, setDefaultBooleanValue, setDefaultDateToday, setDefaultDateValue, setDefaultDecimalValue, setDefaultIntegerValue, setDefaultRichTextValue, setDefaultStringValue, setDefaultTextValue, setExpandedCategories, setIgnoreSanitizer, setInformationText, setIntegerValueRange, setLengthConstraint, setLinkedEntityRecordType, setLinkedEntityType, setLoadValuesScript, setLoadValuesScriptParameters, setMaxFiles, setMaxWordSize, setOtherMimeTypes, setPattern, setRequired, setShowQrCodeScan, setSize, setStorageDirectory, setType, setUnique, setValidationScript, setValidationScriptParameters, setValueMatch
-
Methods inherited from class org.cyclos.entities.ConfigurationOrderableEntity
compareTo, getOrder, setOrder, toString
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString
-
Methods inherited from class org.cyclos.entities.NamedEntity
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.model.IInternalNamedEntity
getInternalName, matches, setInternalName
-
Methods inherited from interface org.cyclos.model.INamedEntity
getName, setName
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
Methods inherited from interface org.cyclos.model.system.scripts.UsesScript
isEnabled
-
-
-
-
Method Detail
-
getContextsToShowInList
public Set<TransSearchContext> getContextsToShowInList()
-
getContextsToShowInSearch
public Set<TransSearchContext> getContextsToShowInSearch()
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getNature
public CustomFieldNature getNature()
- Specified by:
getNaturein classCustomField<TransactionCustomField,TransactionCustomFieldPossibleValueCategory,TransactionCustomFieldPossibleValue>
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPossibleValueCategories
public List<TransactionCustomFieldPossibleValueCategory> getPossibleValueCategories()
-
getPossibleValueCategoryClass
public Class<TransactionCustomFieldPossibleValueCategory> getPossibleValueCategoryClass()
-
getPossibleValueClass
public Class<TransactionCustomFieldPossibleValue> getPossibleValueClass()
-
getPossibleValues
public List<TransactionCustomFieldPossibleValue> getPossibleValues()
-
getScriptUsedInType
public CustomScriptUsedInType getScriptUsedInType()
Description copied from interface:UsesScriptReturns the type of script usage- Specified by:
getScriptUsedInTypein interfaceUsesScript
-
getTransferTypes
public Set<PaymentTransferType> getTransferTypes()
-
isHideInForm
public boolean isHideInForm()
-
setContextsToShowInList
public void setContextsToShowInList(Set<TransSearchContext> contextsToShowInList)
-
setContextsToShowInSearch
public void setContextsToShowInSearch(Set<TransSearchContext> contextsToShowInSearch)
-
setHideInForm
public void setHideInForm(boolean hideInForm)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setTransferTypes
public void setTransferTypes(Set<PaymentTransferType> transferTypes)
-
-