Class DescriptorModel

    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • QUALIFIER

        public static final java.lang.String QUALIFIER
        Generated constant - Attribute key of Descriptor.qualifier attribute defined at extension core.
        See Also:
        Constant Field Values
      • ATTRIBUTETYPE

        public static final java.lang.String ATTRIBUTETYPE
        Generated constant - Attribute key of Descriptor.attributeType attribute defined at extension core.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DescriptorModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DescriptorModel​(TypeModel _attributeType,
                               java.lang.Boolean _generate,
                               java.lang.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
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _qualifier - initial attribute declared by type Descriptor at extension core
      • DescriptorModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DescriptorModel​(TypeModel _attributeType,
                               java.lang.Boolean _generate,
                               ItemModel _owner,
                               java.lang.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
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _owner - initial attribute declared by type Item at extension core
        _qualifier - initial attribute declared by type Descriptor at extension core
    • Method Detail

      • getAttributeType

        @Accessor(qualifier="attributeType",
                  type=GETTER)
        public TypeModel getAttributeType()
        Generated method - Getter of the Descriptor.attributeType attribute defined at extension core.
        Returns:
        the attributeType
      • getQualifier

        @Accessor(qualifier="qualifier",
                  type=GETTER)
        public java.lang.String getQualifier()
        Generated method - Getter of the Descriptor.qualifier attribute defined at extension core.
        Returns:
        the qualifier
      • setAttributeType

        @Accessor(qualifier="attributeType",
                  type=SETTER)
        public void setAttributeType​(TypeModel value)
        Generated method - Setter of Descriptor.attributeType attribute defined at extension core.
        Parameters:
        value - the attributeType
      • setQualifier

        @Accessor(qualifier="qualifier",
                  type=SETTER)
        public void setQualifier​(java.lang.String value)
        Generated method - Initial setter of Descriptor.qualifier attribute defined at extension core. Can only be used at creation of model - before first save.
        Parameters:
        value - the qualifier