Package org.cyclos.entities.users
Class ContactCustomField
- java.lang.Object
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForDataTranslation,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,IUnqualifiedInternalNamedEntity,HasValueMatch,ICustomField,ProfileField
@Entity public class ContactCustomField extends CustomField<ContactCustomField,ContactCustomFieldPossibleValueCategory,ContactCustomFieldPossibleValue> implements DefinesNetwork, ProfileField
A custom field for contacts
-
-
Field Summary
-
Fields inherited from interface org.cyclos.model.users.users.ProfileField
PROPERTY_NAME
-
-
Constructor Summary
Constructors Constructor Description ContactCustomField()
-
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<ContactCustomFieldPossibleValueCategory>getPossibleValueCategories()Class<ContactCustomFieldPossibleValueCategory>getPossibleValueCategoryClass()Class<ContactCustomFieldPossibleValue>getPossibleValueClass()List<ContactCustomFieldPossibleValue>getPossibleValues()booleanisShowInList()booleanisShowInSearch()voidsetNetwork(Network network)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.system.fields.HasValueMatch
getValueMatch
-
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<ContactCustomField,ContactCustomFieldPossibleValueCategory,ContactCustomFieldPossibleValue>
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPossibleValueCategories
public List<ContactCustomFieldPossibleValueCategory> getPossibleValueCategories()
-
getPossibleValueCategoryClass
public Class<ContactCustomFieldPossibleValueCategory> getPossibleValueCategoryClass()
-
getPossibleValueClass
public Class<ContactCustomFieldPossibleValue> getPossibleValueClass()
- Specified by:
getPossibleValueClassin classCustomField<ContactCustomField,ContactCustomFieldPossibleValueCategory,ContactCustomFieldPossibleValue>
-
getPossibleValues
public List<ContactCustomFieldPossibleValue> getPossibleValues()
- Specified by:
getPossibleValuesin classCustomField<ContactCustomField,ContactCustomFieldPossibleValueCategory,ContactCustomFieldPossibleValue>
-
isShowInList
public boolean isShowInList()
-
isShowInSearch
public boolean isShowInSearch()
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setShowInList
public void setShowInList(boolean showInList)
-
setShowInSearch
public void setShowInSearch(boolean showInSearch)
-
-