Class VoucherCustomFieldDTO
- 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
-
- org.cyclos.model.banking.voucherfields.VoucherCustomFieldDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity,ICustomField
public class VoucherCustomFieldDTO extends CustomFieldDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,VoucherCustomFieldDTO>SHOW_IN_SEARCHstatic BasicProperty<Boolean,VoucherCustomFieldDTO>SHOW_IN_VOUCHER_INFORMATIONstatic BasicProperty<VoucherCustomFieldUsage,VoucherCustomFieldDTO>USAGEstatic BasicProperty<Boolean,VoucherCustomFieldDTO>USED_ON_BUYINGstatic BasicProperty<Boolean,VoucherCustomFieldDTO>USED_ON_GENERATION-
Fields inherited from class org.cyclos.model.system.fields.CustomFieldDTO
ALL_SELECTED_LABEL, ALLOWED_MIME_TYPES, CONTROL, DECIMAL_DIGITS, DECIMAL_VALUE_RANGE, DEFAULT_BOOLEAN_VALUE, DEFAULT_DATE_TODAY, DEFAULT_DATE_VALUE, DEFAULT_DECIMAL_VALUE, DEFAULT_INTEGER_VALUE, DEFAULT_RICH_TEXT_VALUE, DEFAULT_STRING_VALUE, DEFAULT_TEXT_VALUE, EXPANDED_CATEGORIES, IGNORE_SANITIZER, INFORMATION_TEXT, INTEGER_VALUE_RANGE, LENGTH_CONSTRAINT, LINKED_ENTITY_RECORD_TYPE, LINKED_ENTITY_TYPE, LOAD_VALUES_SCRIPT, LOAD_VALUES_SCRIPT_PARAMETERS, MAX_FILES, MAX_WORD_SIZE, NATURE, OTHER_MIME_TYPES, PATTERN, REQUIRED, SHOW_QR_CODE_SCAN, SIZE, STORAGE_DIRECTORY, TYPE, UNIQUE, VALIDATION_SCRIPT, VALIDATION_SCRIPT_PARAMETERS, VALUE_MATCH
-
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 VoucherCustomFieldDTO()VoucherCustomFieldDTO(Long id)VoucherCustomFieldDTO(Property<T,? super VoucherCustomFieldDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()VoucherCustomFieldUsagegetUsage()booleanisShowInSearch()booleanisShowInVoucherInformation()booleanisUsedOnBuying()booleanisUsedOnGeneration()voidsetShowInSearch(boolean showInSearch)voidsetShowInVoucherInformation(boolean showInVoucherInformation)voidsetUsage(VoucherCustomFieldUsage usage)voidsetUsedOnBuying(boolean usedOnBuying)voidsetUsedOnGeneration(boolean usedOnGeneration)-
Methods inherited from class org.cyclos.model.system.fields.CustomFieldDTO
getAllowedMimeTypes, getAllSelectedLabel, getControl, getDecimalDigits, getDecimalValueRange, getDefaultBooleanValue, getDefaultDateValue, getDefaultDecimalValue, getDefaultIntegerValue, getDefaultRichTextValue, getDefaultStringValue, getDefaultTextValue, getInformationText, getIntegerValueRange, getLengthConstraint, getLinkedEntityRecordType, getLinkedEntityType, getLoadValuesScript, getLoadValuesScriptParameters, getMaxFiles, getMaxWordSize, getNature, getOtherMimeTypes, getPattern, getShowQrCodeScan, getSize, getStorageDirectory, getType, getValidationScript, getValidationScriptParameters, getValueMatch, isDefaultDateToday, 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, setNature, setOtherMimeTypes, setPattern, setRequired, setShowQrCodeScan, setSize, setStorageDirectory, setType, setUnique, setValidationScript, setValidationScriptParameters, setValueMatch
-
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, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
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
-
SHOW_IN_SEARCH
public static final BasicProperty<Boolean,VoucherCustomFieldDTO> SHOW_IN_SEARCH
-
SHOW_IN_VOUCHER_INFORMATION
public static final BasicProperty<Boolean,VoucherCustomFieldDTO> SHOW_IN_VOUCHER_INFORMATION
-
USAGE
public static final BasicProperty<VoucherCustomFieldUsage,VoucherCustomFieldDTO> USAGE
-
USED_ON_BUYING
public static final BasicProperty<Boolean,VoucherCustomFieldDTO> USED_ON_BUYING
-
USED_ON_GENERATION
public static final BasicProperty<Boolean,VoucherCustomFieldDTO> USED_ON_GENERATION
-
-
Constructor Detail
-
VoucherCustomFieldDTO
public VoucherCustomFieldDTO()
-
VoucherCustomFieldDTO
public VoucherCustomFieldDTO(Long id)
-
VoucherCustomFieldDTO
public VoucherCustomFieldDTO(Property<T,? super VoucherCustomFieldDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classCustomFieldDTO
-
isShowInSearch
public boolean isShowInSearch()
-
setShowInSearch
public void setShowInSearch(boolean showInSearch)
-
isShowInVoucherInformation
public boolean isShowInVoucherInformation()
-
setShowInVoucherInformation
public void setShowInVoucherInformation(boolean showInVoucherInformation)
-
getUsage
public VoucherCustomFieldUsage getUsage()
-
setUsage
public void setUsage(VoucherCustomFieldUsage usage)
-
isUsedOnBuying
public boolean isUsedOnBuying()
-
setUsedOnBuying
public void setUsedOnBuying(boolean usedOnBuying)
-
isUsedOnGeneration
public boolean isUsedOnGeneration()
-
setUsedOnGeneration
public void setUsedOnGeneration(boolean usedOnGeneration)
-
className
public String className()
- Overrides:
classNamein classCustomFieldDTO
-
-