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>,HasOrder,ProcessableForDataTranslation,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,IUnqualifiedInternalNamedEntity,HasValueMatch,ICustomField
@Entity public class TransactionCustomField extends CustomField<TransactionCustomField,TransactionCustomFieldPossibleValueCategory,TransactionCustomFieldPossibleValue> implements DefinesNetwork
A custom field for transactions
-
-
Constructor Summary
Constructors Constructor Description TransactionCustomField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeCustomFieldNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toList<TransactionCustomFieldPossibleValueCategory>getPossibleValueCategories()Class<TransactionCustomFieldPossibleValueCategory>getPossibleValueCategoryClass()Class<TransactionCustomFieldPossibleValue>getPossibleValueClass()List<TransactionCustomFieldPossibleValue>getPossibleValues()Set<PaymentTransferType>getTransferTypes()booleanisHideInForm()voidsetHideInForm(boolean hideInForm)voidsetNetwork(Network network)voidsetTransferTypes(Set<PaymentTransferType> transferTypes)-
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, getSize, getStorageDirectory, getType, getValidationScript, getValidationScriptParameters, getValueMatch, 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, 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
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
getInternalName, matches, setInternalName
-
Methods inherited from interface org.cyclos.model.INamedEntity
getName, setName
-
-
-
-
Method Detail
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity- Returns:
-
getNature
public CustomFieldNature getNature()
- Specified by:
getNaturein classCustomField<TransactionCustomField,TransactionCustomFieldPossibleValueCategory,TransactionCustomFieldPossibleValue>
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getPossibleValueCategories
public List<TransactionCustomFieldPossibleValueCategory> getPossibleValueCategories()
-
getPossibleValueCategoryClass
public Class<TransactionCustomFieldPossibleValueCategory> getPossibleValueCategoryClass()
-
getPossibleValueClass
public Class<TransactionCustomFieldPossibleValue> getPossibleValueClass()
-
getPossibleValues
public List<TransactionCustomFieldPossibleValue> getPossibleValues()
-
getTransferTypes
public Set<PaymentTransferType> getTransferTypes()
-
isHideInForm
public boolean isHideInForm()
-
setHideInForm
public void setHideInForm(boolean hideInForm)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setTransferTypes
public void setTransferTypes(Set<PaymentTransferType> transferTypes)
-
-