Class AttributeDescriptorModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConfigAttributeDescriptorModel, ExpressionAttributeDescriptorModel, RelationDescriptorModel, VariantAttributeDescriptorModel, ViewAttributeDescriptorModel

public class AttributeDescriptorModel extends DescriptorModel
Generated model class for type AttributeDescriptor first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _ATTRIBUTECONSTRAINTATTRIBUTEDESCRELATION

      public static final String _ATTRIBUTECONSTRAINTATTRIBUTEDESCRELATION
      Generated relation code constant for relation AttributeConstraintAttributeDescRelation defining source attribute constraints in extension validation.
      See Also:
    • DATABASECOLUMN

      public static final String DATABASECOLUMN
      Generated constant - Attribute key of AttributeDescriptor.databaseColumn attribute defined at extension core.
      See Also:
    • DEFAULTVALUE

      public static final String DEFAULTVALUE
      Generated constant - Attribute key of AttributeDescriptor.defaultValue attribute defined at extension core.
      See Also:
    • DEFAULTVALUEDEFINITIONSTRING

      public static final String DEFAULTVALUEDEFINITIONSTRING
      Generated constant - Attribute key of AttributeDescriptor.defaultValueDefinitionString attribute defined at extension core.
      See Also:
    • ENCLOSINGTYPE

      public static final String ENCLOSINGTYPE
      Generated constant - Attribute key of AttributeDescriptor.enclosingType attribute defined at extension core.
      See Also:
    • DECLARINGENCLOSINGTYPE

      public static final String DECLARINGENCLOSINGTYPE
      Generated constant - Attribute key of AttributeDescriptor.declaringEnclosingType attribute defined at extension core.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of AttributeDescriptor.description attribute defined at extension core.
      See Also:
    • PERSISTENCECLASS

      public static final String PERSISTENCECLASS
      Generated constant - Attribute key of AttributeDescriptor.persistenceClass attribute defined at extension core.
      See Also:
    • PERSISTENCEQUALIFIER

      public static final String PERSISTENCEQUALIFIER
      Generated constant - Attribute key of AttributeDescriptor.persistenceQualifier attribute defined at extension core.
      See Also:
    • PERSISTENCETYPE

      public static final String PERSISTENCETYPE
      Generated constant - Attribute key of AttributeDescriptor.persistenceType attribute defined at extension core.
      See Also:
    • ATTRIBUTEHANDLER

      public static final String ATTRIBUTEHANDLER
      Generated constant - Attribute key of AttributeDescriptor.attributeHandler attribute defined at extension core.
      See Also:
    • SELECTIONOF

      public static final String SELECTIONOF
      Generated constant - Attribute key of AttributeDescriptor.selectionOf attribute defined at extension core.
      See Also:
    • PROPOSEDDATABASECOLUMN

      public static final String PROPOSEDDATABASECOLUMN
      Generated constant - Attribute key of AttributeDescriptor.proposedDatabaseColumn attribute defined at extension core.
      See Also:
    • MODIFIERS

      public static final String MODIFIERS
      Generated constant - Attribute key of AttributeDescriptor.modifiers attribute defined at extension core.
      See Also:
    • INITIAL

      public static final String INITIAL
      Generated constant - Attribute key of AttributeDescriptor.initial attribute defined at extension core.
      See Also:
    • LOCALIZED

      public static final String LOCALIZED
      Generated constant - Attribute key of AttributeDescriptor.localized attribute defined at extension core.
      See Also:
    • OPTIONAL

      public static final String OPTIONAL
      Generated constant - Attribute key of AttributeDescriptor.optional attribute defined at extension core.
      See Also:
    • PARTOF

      public static final String PARTOF
      Generated constant - Attribute key of AttributeDescriptor.partOf attribute defined at extension core.
      See Also:
    • UNIQUE

      public static final String UNIQUE
      Generated constant - Attribute key of AttributeDescriptor.unique attribute defined at extension core.
      See Also:
    • PRIVATE

      public static final String PRIVATE
      Generated constant - Attribute key of AttributeDescriptor.private attribute defined at extension core.
      See Also:
    • PROPERTY

      public static final String PROPERTY
      Generated constant - Attribute key of AttributeDescriptor.property attribute defined at extension core.
      See Also:
    • READABLE

      public static final String READABLE
      Generated constant - Attribute key of AttributeDescriptor.readable attribute defined at extension core.
      See Also:
    • REMOVABLE

      public static final String REMOVABLE
      Generated constant - Attribute key of AttributeDescriptor.removable attribute defined at extension core.
      See Also:
    • WRITABLE

      public static final String WRITABLE
      Generated constant - Attribute key of AttributeDescriptor.writable attribute defined at extension core.
      See Also:
    • ENCRYPTED

      public static final String ENCRYPTED
      Generated constant - Attribute key of AttributeDescriptor.encrypted attribute defined at extension core.
      See Also:
    • PRIMITIVE

      public static final String PRIMITIVE
      Generated constant - Attribute key of AttributeDescriptor.primitive attribute defined at extension core.
      See Also:
    • HIDDENFORUI

      public static final String HIDDENFORUI
      Generated constant - Attribute key of AttributeDescriptor.hiddenForUI attribute defined at extension core.
      See Also:
    • READONLYFORUI

      public static final String READONLYFORUI
      Generated constant - Attribute key of AttributeDescriptor.readOnlyForUI attribute defined at extension core.
      See Also:
    • CONSTRAINTS

      public static final String CONSTRAINTS
      Generated constant - Attribute key of AttributeDescriptor.constraints attribute defined at extension validation.
      See Also:
    • DONTCOPY

      public static final String DONTCOPY
      Generated constant - Attribute key of AttributeDescriptor.dontCopy attribute defined at extension catalog.
      See Also:
  • Constructor Details

    • AttributeDescriptorModel

      public AttributeDescriptorModel()
      Generated constructor - Default constructor for generic creation.
    • AttributeDescriptorModel

      public AttributeDescriptorModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • AttributeDescriptorModel

      @Deprecated(since="4.1.1", forRemoval=true) public AttributeDescriptorModel(TypeModel _attributeType, ComposedTypeModel _enclosingType, Boolean _generate, Boolean _partOf, String _qualifier)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _attributeType - initial attribute declared by type Descriptor at extension core
      _enclosingType - initial attribute declared by type AttributeDescriptor at extension core
      _generate - initial attribute declared by type TypeManagerManaged at extension core
      _partOf - initial attribute declared by type AttributeDescriptor at extension core
      _qualifier - initial attribute declared by type Descriptor at extension core
    • AttributeDescriptorModel

      @Deprecated(since="4.1.1", forRemoval=true) public AttributeDescriptorModel(TypeModel _attributeType, ComposedTypeModel _enclosingType, Boolean _generate, ItemModel _owner, Boolean _partOf, String _qualifier)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _attributeType - initial attribute declared by type Descriptor at extension core
      _enclosingType - initial attribute declared by type AttributeDescriptor at extension core
      _generate - initial attribute declared by type TypeManagerManaged at extension core
      _owner - initial attribute declared by type Item at extension core
      _partOf - initial attribute declared by type AttributeDescriptor at extension core
      _qualifier - initial attribute declared by type Descriptor at extension core
  • Method Details

    • getAttributeHandler

      @Accessor(qualifier="attributeHandler", type=GETTER) public String getAttributeHandler()
      Generated method - Getter of the AttributeDescriptor.attributeHandler attribute defined at extension core.
      Returns:
      the attributeHandler
    • getConstraints

      @Accessor(qualifier="constraints", type=GETTER) public Set<AttributeConstraintModel> getConstraints()
      Generated method - Getter of the AttributeDescriptor.constraints attribute defined at extension validation. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the constraints
    • getDatabaseColumn

      @Accessor(qualifier="databaseColumn", type=GETTER) public String getDatabaseColumn()
      Generated method - Getter of the AttributeDescriptor.databaseColumn attribute defined at extension core.
      Returns:
      the databaseColumn
    • getDeclaringEnclosingType

      @Accessor(qualifier="declaringEnclosingType", type=GETTER) public ComposedTypeModel getDeclaringEnclosingType()
      Generated method - Getter of the AttributeDescriptor.declaringEnclosingType attribute defined at extension core.
      Returns:
      the declaringEnclosingType
    • getDefaultValue

      @Accessor(qualifier="defaultValue", type=GETTER) public Object getDefaultValue()
      Generated method - Getter of the AttributeDescriptor.defaultValue attribute defined at extension core.
      Returns:
      the defaultValue
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the AttributeDescriptor.description attribute defined at extension core.
      Returns:
      the description
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the AttributeDescriptor.description attribute defined at extension core.
      Parameters:
      loc - the value localization key
      Returns:
      the description
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getDontCopy

      @Accessor(qualifier="dontCopy", type=GETTER) public Boolean getDontCopy()
      Generated method - Getter of the AttributeDescriptor.dontCopy attribute defined at extension catalog.
      Returns:
      the dontCopy
    • getEnclosingType

      @Accessor(qualifier="enclosingType", type=GETTER) public ComposedTypeModel getEnclosingType()
      Generated method - Getter of the AttributeDescriptor.enclosingType attribute defined at extension core.
      Returns:
      the enclosingType
    • getEncrypted

      @Accessor(qualifier="encrypted", type=GETTER) public Boolean getEncrypted()
      Generated method - Getter of the AttributeDescriptor.encrypted attribute defined at extension core.
      Returns:
      the encrypted
    • getHiddenForUI

      @Accessor(qualifier="hiddenForUI", type=GETTER) public Boolean getHiddenForUI()
      Generated method - Getter of the AttributeDescriptor.hiddenForUI attribute defined at extension core.
      Returns:
      the hiddenForUI
    • getInitial

      @Accessor(qualifier="initial", type=GETTER) public Boolean getInitial()
      Generated method - Getter of the AttributeDescriptor.initial attribute defined at extension core.
      Returns:
      the initial
    • getLocalized

      @Accessor(qualifier="localized", type=GETTER) public Boolean getLocalized()
      Generated method - Getter of the AttributeDescriptor.localized attribute defined at extension core.
      Returns:
      the localized
    • getModifiers

      @Accessor(qualifier="modifiers", type=GETTER) public Integer getModifiers()
      Generated method - Getter of the AttributeDescriptor.modifiers attribute defined at extension core.
      Returns:
      the modifiers
    • getOptional

      @Accessor(qualifier="optional", type=GETTER) public Boolean getOptional()
      Generated method - Getter of the AttributeDescriptor.optional attribute defined at extension core.
      Returns:
      the optional
    • getPartOf

      @Accessor(qualifier="partOf", type=GETTER) public Boolean getPartOf()
      Generated method - Getter of the AttributeDescriptor.partOf attribute defined at extension core.
      Returns:
      the partOf
    • getPersistenceClass

      @Accessor(qualifier="persistenceClass", type=GETTER) public Class getPersistenceClass()
      Generated method - Getter of the AttributeDescriptor.persistenceClass attribute defined at extension core.
      Returns:
      the persistenceClass
    • getPrimitive

      @Accessor(qualifier="primitive", type=GETTER) public Boolean getPrimitive()
      Generated method - Getter of the AttributeDescriptor.primitive attribute defined at extension core.
      Returns:
      the primitive
    • getPrivate

      @Accessor(qualifier="private", type=GETTER) public Boolean getPrivate()
      Generated method - Getter of the AttributeDescriptor.private attribute defined at extension core.
      Returns:
      the private
    • getProperty

      @Accessor(qualifier="property", type=GETTER) public Boolean getProperty()
      Generated method - Getter of the AttributeDescriptor.property attribute defined at extension core.
      Returns:
      the property
    • getProposedDatabaseColumn

      @Accessor(qualifier="proposedDatabaseColumn", type=GETTER) public String getProposedDatabaseColumn()
      Generated method - Getter of the AttributeDescriptor.proposedDatabaseColumn attribute defined at extension core.
      Returns:
      the proposedDatabaseColumn
    • getReadable

      @Accessor(qualifier="readable", type=GETTER) public Boolean getReadable()
      Generated method - Getter of the AttributeDescriptor.readable attribute defined at extension core.
      Returns:
      the readable
    • getReadOnlyForUI

      @Accessor(qualifier="readOnlyForUI", type=GETTER) public Boolean getReadOnlyForUI()
      Generated method - Getter of the AttributeDescriptor.readOnlyForUI attribute defined at extension core.
      Returns:
      the readOnlyForUI
    • getRemovable

      @Accessor(qualifier="removable", type=GETTER) public Boolean getRemovable()
      Generated method - Getter of the AttributeDescriptor.removable attribute defined at extension core.
      Returns:
      the removable
    • getSearch

      @Accessor(qualifier="search", type=GETTER) public Boolean getSearch()
      Generated method - Getter of the AttributeDescriptor.search attribute defined at extension core.
      Returns:
      the search
    • getSelectionOf

      @Accessor(qualifier="selectionOf", type=GETTER) public AttributeDescriptorModel getSelectionOf()
      Generated method - Getter of the AttributeDescriptor.selectionOf attribute defined at extension core.
      Returns:
      the selectionOf
    • getUnique

      @Accessor(qualifier="unique", type=GETTER) public Boolean getUnique()
      Generated method - Getter of the AttributeDescriptor.unique attribute defined at extension core.
      Returns:
      the unique
    • getWritable

      @Accessor(qualifier="writable", type=GETTER) public Boolean getWritable()
      Generated method - Getter of the AttributeDescriptor.writable attribute defined at extension core.
      Returns:
      the writable
    • setAttributeHandler

      @Accessor(qualifier="attributeHandler", type=SETTER) public void setAttributeHandler(String value)
      Generated method - Setter of AttributeDescriptor.attributeHandler attribute defined at extension core.
      Parameters:
      value - the attributeHandler
    • setConstraints

      @Accessor(qualifier="constraints", type=SETTER) public void setConstraints(Set<AttributeConstraintModel> value)
      Generated method - Setter of AttributeDescriptor.constraints attribute defined at extension validation.
      Parameters:
      value - the constraints
    • setDatabaseColumn

      @Accessor(qualifier="databaseColumn", type=SETTER) public void setDatabaseColumn(String value)
      Generated method - Setter of AttributeDescriptor.databaseColumn attribute defined at extension core.
      Parameters:
      value - the databaseColumn
    • setDefaultValue

      @Accessor(qualifier="defaultValue", type=SETTER) public void setDefaultValue(Object value)
      Generated method - Setter of AttributeDescriptor.defaultValue attribute defined at extension core.
      Parameters:
      value - the defaultValue
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of AttributeDescriptor.description attribute defined at extension core.
      Parameters:
      value - the description
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
      Generated method - Setter of AttributeDescriptor.description attribute defined at extension core.
      Parameters:
      value - the description
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setDontCopy

      @Accessor(qualifier="dontCopy", type=SETTER) public void setDontCopy(Boolean value)
      Generated method - Setter of AttributeDescriptor.dontCopy attribute defined at extension catalog.
      Parameters:
      value - the dontCopy
    • setEnclosingType

      @Accessor(qualifier="enclosingType", type=SETTER) public void setEnclosingType(ComposedTypeModel value)
      Generated method - Initial setter of AttributeDescriptor.enclosingType attribute defined at extension core. Can only be used at creation of model - before first save.
      Parameters:
      value - the enclosingType
    • setEncrypted

      @Accessor(qualifier="encrypted", type=SETTER) public void setEncrypted(Boolean value)
      Generated method - Setter of AttributeDescriptor.encrypted attribute defined at extension core.
      Parameters:
      value - the encrypted
    • setHiddenForUI

      @Accessor(qualifier="hiddenForUI", type=SETTER) public void setHiddenForUI(Boolean value)
      Generated method - Setter of AttributeDescriptor.hiddenForUI attribute defined at extension core.
      Parameters:
      value - the hiddenForUI
    • setInitial

      @Accessor(qualifier="initial", type=SETTER) public void setInitial(Boolean value)
      Generated method - Setter of AttributeDescriptor.initial attribute defined at extension core.
      Parameters:
      value - the initial
    • setModifiers

      @Accessor(qualifier="modifiers", type=SETTER) public void setModifiers(Integer value)
      Generated method - Setter of AttributeDescriptor.modifiers attribute defined at extension core.
      Parameters:
      value - the modifiers
    • setOptional

      @Accessor(qualifier="optional", type=SETTER) public void setOptional(Boolean value)
      Generated method - Setter of AttributeDescriptor.optional attribute defined at extension core.
      Parameters:
      value - the optional
    • setPartOf

      @Accessor(qualifier="partOf", type=SETTER) public void setPartOf(Boolean value)
      Generated method - Setter of AttributeDescriptor.partOf attribute defined at extension core.
      Parameters:
      value - the partOf
    • setPrimitive

      @Accessor(qualifier="primitive", type=SETTER) public void setPrimitive(Boolean value)
      Generated method - Setter of AttributeDescriptor.primitive attribute defined at extension core.
      Parameters:
      value - the primitive
    • setPrivate

      @Accessor(qualifier="private", type=SETTER) public void setPrivate(Boolean value)
      Generated method - Setter of AttributeDescriptor.private attribute defined at extension core.
      Parameters:
      value - the private
    • setProperty

      @Accessor(qualifier="property", type=SETTER) public void setProperty(Boolean value)
      Generated method - Initial setter of AttributeDescriptor.property attribute defined at extension core. Can only be used at creation of model - before first save.
      Parameters:
      value - the property
    • setReadable

      @Accessor(qualifier="readable", type=SETTER) public void setReadable(Boolean value)
      Generated method - Setter of AttributeDescriptor.readable attribute defined at extension core.
      Parameters:
      value - the readable
    • setReadOnlyForUI

      @Accessor(qualifier="readOnlyForUI", type=SETTER) public void setReadOnlyForUI(Boolean value)
      Generated method - Setter of AttributeDescriptor.readOnlyForUI attribute defined at extension core.
      Parameters:
      value - the readOnlyForUI
    • setRemovable

      @Accessor(qualifier="removable", type=SETTER) public void setRemovable(Boolean value)
      Generated method - Setter of AttributeDescriptor.removable attribute defined at extension core.
      Parameters:
      value - the removable
    • setSearch

      @Accessor(qualifier="search", type=SETTER) public void setSearch(Boolean value)
      Generated method - Setter of AttributeDescriptor.search attribute defined at extension core.
      Parameters:
      value - the search
    • setUnique

      @Accessor(qualifier="unique", type=SETTER) public void setUnique(Boolean value)
      Generated method - Setter of AttributeDescriptor.unique attribute defined at extension core.
      Parameters:
      value - the unique
    • setWritable

      @Accessor(qualifier="writable", type=SETTER) public void setWritable(Boolean value)
      Generated method - Setter of AttributeDescriptor.writable attribute defined at extension core.
      Parameters:
      value - the writable