Package org.cyclos.entities.users
Class RecordCustomField
- java.lang.Object
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,IUnqualifiedInternalNamedEntity,HasValueMatch,ICustomField,UsesScript
@Entity public class RecordCustomField extends CustomField<RecordCustomField,RecordCustomFieldPossibleValueCategory,RecordCustomFieldPossibleValue> implements DefinesNetwork
A custom field for records
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description RecordCustomField()
-
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
-
getColspan
public int getColspan()
-
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<RecordCustomField,RecordCustomFieldPossibleValueCategory,RecordCustomFieldPossibleValue>
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPossibleValueCategories
public List<RecordCustomFieldPossibleValueCategory> getPossibleValueCategories()
-
getPossibleValueCategoryClass
public Class<RecordCustomFieldPossibleValueCategory> getPossibleValueCategoryClass()
-
getPossibleValueClass
public Class<RecordCustomFieldPossibleValue> getPossibleValueClass()
- Specified by:
getPossibleValueClassin classCustomField<RecordCustomField,RecordCustomFieldPossibleValueCategory,RecordCustomFieldPossibleValue>
-
getPossibleValues
public List<RecordCustomFieldPossibleValue> getPossibleValues()
- Specified by:
getPossibleValuesin classCustomField<RecordCustomField,RecordCustomFieldPossibleValueCategory,RecordCustomFieldPossibleValue>
-
getRecordType
public RecordType getRecordType()
-
getScriptUsedInType
public CustomScriptUsedInType getScriptUsedInType()
Description copied from interface:UsesScriptReturns the type of script usage- Specified by:
getScriptUsedInTypein interfaceUsesScript
-
getSection
public RecordSection getSection()
-
isShared
public boolean isShared()
-
isShowInList
public boolean isShowInList()
-
isShowInSearch
public boolean isShowInSearch()
-
setColspan
public void setColspan(int colspan)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setRecordType
public void setRecordType(RecordType recordType)
-
setSection
public void setSection(RecordSection section)
-
setShowInList
public void setShowInList(boolean showInList)
-
setShowInSearch
public void setShowInSearch(boolean showInSearch)
-
-