Package org.cyclos.model.system.fields
Class CustomFieldDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.ConfigurationEntityDTO
-
- org.cyclos.model.system.fields.CustomFieldDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity,ICustomField
- Direct Known Subclasses:
AdCustomFieldDTO,ContactCustomFieldDTO,ContactInfoFieldDTO,CustomOperationFieldDTO,CustomWizardFieldDTO,DocumentCustomFieldDTO,RecordCustomFieldDTO,TransactionCustomFieldDTO,UserCustomFieldDTO
public class CustomFieldDTO extends ConfigurationEntityDTO implements ICustomField
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.cyclos.model.ConfigurationEntityDTO
DESCRIPTION, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description CustomFieldDTO()CustomFieldDTO(Long id)CustomFieldDTO(Property<T,? super CustomFieldDTO> property, T value)
-
Method Summary
-
Methods inherited from class org.cyclos.model.ConfigurationEntityDTO
getDescription, getInternalName, setDescription, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationId
-
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
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ALL_SELECTED_LABEL
public static final BasicProperty<String,CustomFieldDTO> ALL_SELECTED_LABEL
-
ALLOWED_MIME_TYPES
public static final SetProperty<FileMimeType,CustomFieldDTO> ALLOWED_MIME_TYPES
-
CONTROL
public static final BasicProperty<CustomFieldControl,CustomFieldDTO> CONTROL
-
DECIMAL_DIGITS
public static final BasicProperty<Integer,CustomFieldDTO> DECIMAL_DIGITS
-
DECIMAL_VALUE_RANGE
public static final BasicProperty<DecimalRangeDTO,CustomFieldDTO> DECIMAL_VALUE_RANGE
-
DEFAULT_BOOLEAN_VALUE
public static final BasicProperty<Boolean,CustomFieldDTO> DEFAULT_BOOLEAN_VALUE
-
DEFAULT_DATE_TODAY
public static final BasicProperty<Boolean,CustomFieldDTO> DEFAULT_DATE_TODAY
-
DEFAULT_DATE_VALUE
public static final BasicProperty<DateTime,CustomFieldDTO> DEFAULT_DATE_VALUE
-
DEFAULT_DECIMAL_VALUE
public static final BasicProperty<BigDecimal,CustomFieldDTO> DEFAULT_DECIMAL_VALUE
-
DEFAULT_INTEGER_VALUE
public static final BasicProperty<Integer,CustomFieldDTO> DEFAULT_INTEGER_VALUE
-
DEFAULT_RICH_TEXT_VALUE
public static final BasicProperty<String,CustomFieldDTO> DEFAULT_RICH_TEXT_VALUE
-
DEFAULT_STRING_VALUE
public static final BasicProperty<String,CustomFieldDTO> DEFAULT_STRING_VALUE
-
DEFAULT_TEXT_VALUE
public static final BasicProperty<String,CustomFieldDTO> DEFAULT_TEXT_VALUE
-
EXPANDED_CATEGORIES
public static final BasicProperty<Boolean,CustomFieldDTO> EXPANDED_CATEGORIES
-
IGNORE_SANITIZER
public static final BasicProperty<Boolean,CustomFieldDTO> IGNORE_SANITIZER
-
INFORMATION_TEXT
public static final BasicProperty<String,CustomFieldDTO> INFORMATION_TEXT
-
INTEGER_VALUE_RANGE
public static final BasicProperty<IntegerRangeDTO,CustomFieldDTO> INTEGER_VALUE_RANGE
-
LENGTH_CONSTRAINT
public static final BasicProperty<IntegerRangeDTO,CustomFieldDTO> LENGTH_CONSTRAINT
-
LINKED_ENTITY_RECORD_TYPE
public static final BasicProperty<RecordTypeVO,CustomFieldDTO> LINKED_ENTITY_RECORD_TYPE
-
LINKED_ENTITY_TYPE
public static final BasicProperty<LinkedEntityType,CustomFieldDTO> LINKED_ENTITY_TYPE
-
LOAD_VALUES_SCRIPT
public static final BasicProperty<CustomScriptVO,CustomFieldDTO> LOAD_VALUES_SCRIPT
-
LOAD_VALUES_SCRIPT_PARAMETERS
public static final BasicProperty<String,CustomFieldDTO> LOAD_VALUES_SCRIPT_PARAMETERS
-
MAX_FILES
public static final BasicProperty<Integer,CustomFieldDTO> MAX_FILES
-
MAX_WORD_SIZE
public static final BasicProperty<Integer,CustomFieldDTO> MAX_WORD_SIZE
-
NATURE
public static final BasicProperty<CustomFieldNature,CustomFieldDTO> NATURE
-
OTHER_MIME_TYPES
public static final BasicProperty<String,CustomFieldDTO> OTHER_MIME_TYPES
-
PATTERN
public static final BasicProperty<String,CustomFieldDTO> PATTERN
-
REQUIRED
public static final BasicProperty<Boolean,CustomFieldDTO> REQUIRED
-
SIZE
public static final BasicProperty<CustomFieldSize,CustomFieldDTO> SIZE
-
STORAGE_DIRECTORY
public static final BasicProperty<String,CustomFieldDTO> STORAGE_DIRECTORY
-
TYPE
public static final BasicProperty<CustomFieldType,CustomFieldDTO> TYPE
-
UNIQUE
public static final BasicProperty<Boolean,CustomFieldDTO> UNIQUE
-
VALIDATION_SCRIPT
public static final BasicProperty<CustomScriptVO,CustomFieldDTO> VALIDATION_SCRIPT
-
VALIDATION_SCRIPT_PARAMETERS
public static final BasicProperty<String,CustomFieldDTO> VALIDATION_SCRIPT_PARAMETERS
-
VALUE_MATCH
public static final BasicProperty<ValueMatch,CustomFieldDTO> VALUE_MATCH
-
-
Constructor Detail
-
CustomFieldDTO
public CustomFieldDTO()
-
CustomFieldDTO
public CustomFieldDTO(Long id)
-
CustomFieldDTO
public CustomFieldDTO(Property<T,? super CustomFieldDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityDTO
-
getAllSelectedLabel
public String getAllSelectedLabel()
-
setAllSelectedLabel
public void setAllSelectedLabel(String allSelectedLabel)
-
getAllowedMimeTypes
public Set<FileMimeType> getAllowedMimeTypes()
-
setAllowedMimeTypes
public void setAllowedMimeTypes(Set<FileMimeType> allowedMimeTypes)
-
getControl
public CustomFieldControl getControl()
-
setControl
public void setControl(CustomFieldControl control)
-
getDecimalDigits
public Integer getDecimalDigits()
- Specified by:
getDecimalDigitsin interfaceICustomField
-
setDecimalDigits
public void setDecimalDigits(Integer decimalDigits)
-
getDecimalValueRange
public DecimalRangeDTO getDecimalValueRange()
-
setDecimalValueRange
public void setDecimalValueRange(DecimalRangeDTO decimalValueRange)
-
getDefaultBooleanValue
public Boolean getDefaultBooleanValue()
-
setDefaultBooleanValue
public void setDefaultBooleanValue(Boolean defaultBooleanValue)
-
isDefaultDateToday
public boolean isDefaultDateToday()
-
setDefaultDateToday
public void setDefaultDateToday(boolean defaultDateToday)
-
getDefaultDateValue
public DateTime getDefaultDateValue()
-
setDefaultDateValue
public void setDefaultDateValue(DateTime defaultDateValue)
-
getDefaultDecimalValue
public BigDecimal getDefaultDecimalValue()
-
setDefaultDecimalValue
public void setDefaultDecimalValue(BigDecimal defaultDecimalValue)
-
getDefaultIntegerValue
public Integer getDefaultIntegerValue()
-
setDefaultIntegerValue
public void setDefaultIntegerValue(Integer defaultIntegerValue)
-
getDefaultRichTextValue
public String getDefaultRichTextValue()
-
setDefaultRichTextValue
public void setDefaultRichTextValue(String defaultRichTextValue)
-
getDefaultStringValue
public String getDefaultStringValue()
-
setDefaultStringValue
public void setDefaultStringValue(String defaultStringValue)
-
getDefaultTextValue
public String getDefaultTextValue()
-
setDefaultTextValue
public void setDefaultTextValue(String defaultTextValue)
-
isExpandedCategories
public boolean isExpandedCategories()
-
setExpandedCategories
public void setExpandedCategories(boolean expandedCategories)
-
isIgnoreSanitizer
public boolean isIgnoreSanitizer()
-
setIgnoreSanitizer
public void setIgnoreSanitizer(boolean ignoreSanitizer)
-
getInformationText
public String getInformationText()
-
setInformationText
public void setInformationText(String informationText)
-
getIntegerValueRange
public IntegerRangeDTO getIntegerValueRange()
-
setIntegerValueRange
public void setIntegerValueRange(IntegerRangeDTO integerValueRange)
-
getLengthConstraint
public IntegerRangeDTO getLengthConstraint()
-
setLengthConstraint
public void setLengthConstraint(IntegerRangeDTO lengthConstraint)
-
getLinkedEntityRecordType
public RecordTypeVO getLinkedEntityRecordType()
-
setLinkedEntityRecordType
public void setLinkedEntityRecordType(RecordTypeVO linkedEntityRecordType)
-
getLinkedEntityType
public LinkedEntityType getLinkedEntityType()
- Specified by:
getLinkedEntityTypein interfaceICustomField
-
setLinkedEntityType
public void setLinkedEntityType(LinkedEntityType linkedEntityType)
-
getLoadValuesScript
public CustomScriptVO getLoadValuesScript()
-
setLoadValuesScript
public void setLoadValuesScript(CustomScriptVO loadValuesScript)
-
getLoadValuesScriptParameters
public String getLoadValuesScriptParameters()
-
setLoadValuesScriptParameters
public void setLoadValuesScriptParameters(String loadValuesScriptParameters)
-
getMaxFiles
public Integer getMaxFiles()
-
setMaxFiles
public void setMaxFiles(Integer maxFiles)
-
getMaxWordSize
public Integer getMaxWordSize()
-
setMaxWordSize
public void setMaxWordSize(Integer maxWordSize)
-
getNature
public CustomFieldNature getNature()
-
setNature
public void setNature(CustomFieldNature nature)
-
getOtherMimeTypes
public String getOtherMimeTypes()
-
setOtherMimeTypes
public void setOtherMimeTypes(String otherMimeTypes)
-
getPattern
public String getPattern()
-
setPattern
public void setPattern(String pattern)
-
isRequired
public boolean isRequired()
-
setRequired
public void setRequired(boolean required)
-
getSize
public CustomFieldSize getSize()
-
setSize
public void setSize(CustomFieldSize size)
-
getStorageDirectory
public String getStorageDirectory()
-
setStorageDirectory
public void setStorageDirectory(String storageDirectory)
-
getType
public CustomFieldType getType()
- Specified by:
getTypein interfaceICustomField
-
setType
public void setType(CustomFieldType type)
-
isUnique
public boolean isUnique()
-
setUnique
public void setUnique(boolean unique)
-
getValidationScript
public CustomScriptVO getValidationScript()
-
setValidationScript
public void setValidationScript(CustomScriptVO validationScript)
-
getValidationScriptParameters
public String getValidationScriptParameters()
-
setValidationScriptParameters
public void setValidationScriptParameters(String validationScriptParameters)
-
getValueMatch
public ValueMatch getValueMatch()
-
setValueMatch
public void setValueMatch(ValueMatch valueMatch)
-
-