Class DocumentCustomField
- 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<DocumentCustomField,DocumentCustomFieldPossibleValueCategory,DocumentCustomFieldPossibleValue>
-
- org.cyclos.entities.contentmanagement.DocumentCustomField
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForDataTranslation,IEntity,IInternalNamedEntity,INamedEntity,IUnqualifiedInternalNamedEntity,HasValueMatch,ICustomField
@Entity public class DocumentCustomField extends CustomField<DocumentCustomField,DocumentCustomFieldPossibleValueCategory,DocumentCustomFieldPossibleValue>
A custom field for document
-
-
Constructor Summary
Constructors Constructor Description DocumentCustomField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicDocumentgetDocument()CustomFieldNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toList<DocumentCustomFieldPossibleValueCategory>getPossibleValueCategories()Class<DocumentCustomFieldPossibleValueCategory>getPossibleValueCategoryClass()Class<DocumentCustomFieldPossibleValue>getPossibleValueClass()List<DocumentCustomFieldPossibleValue>getPossibleValues()voidsetDocument(DynamicDocument document)-
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
getDataTranslationType, 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
-
getDocument
public DynamicDocument getDocument()
-
getNature
public CustomFieldNature getNature()
- Specified by:
getNaturein classCustomField<DocumentCustomField,DocumentCustomFieldPossibleValueCategory,DocumentCustomFieldPossibleValue>
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getPossibleValueCategories
public List<DocumentCustomFieldPossibleValueCategory> getPossibleValueCategories()
-
getPossibleValueCategoryClass
public Class<DocumentCustomFieldPossibleValueCategory> getPossibleValueCategoryClass()
-
getPossibleValueClass
public Class<DocumentCustomFieldPossibleValue> getPossibleValueClass()
-
getPossibleValues
public List<DocumentCustomFieldPossibleValue> getPossibleValues()
- Specified by:
getPossibleValuesin classCustomField<DocumentCustomField,DocumentCustomFieldPossibleValueCategory,DocumentCustomFieldPossibleValue>
-
setDocument
public void setDocument(DynamicDocument document)
-
-