Package org.cyclos.entities.users
Class RecordCustomField
- java.lang.Object
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForDataTranslation,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,IUnqualifiedInternalNamedEntity,HasValueMatch,ICustomField
@Entity public class RecordCustomField extends CustomField<RecordCustomField,RecordCustomFieldPossibleValueCategory,RecordCustomFieldPossibleValue> implements DefinesNetwork
A custom field for records
-
-
Constructor Summary
Constructors Constructor Description RecordCustomField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColspan()DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeCustomFieldNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toList<RecordCustomFieldPossibleValueCategory>getPossibleValueCategories()Class<RecordCustomFieldPossibleValueCategory>getPossibleValueCategoryClass()Class<RecordCustomFieldPossibleValue>getPossibleValueClass()List<RecordCustomFieldPossibleValue>getPossibleValues()RecordTypegetRecordType()RecordSectiongetSection()booleanisShared()booleanisShowInList()booleanisShowInSearch()voidsetColspan(int colspan)voidsetNetwork(Network network)voidsetRecordType(RecordType recordType)voidsetSection(RecordSection section)voidsetShowInList(boolean showInList)voidsetShowInSearch(boolean showInSearch)-
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, 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
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, uniqueIds, uniqueIds
-
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
-
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- Returns:
-
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()
-
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)
-
-