Class VariantTypeModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class VariantTypeModel
    extends ComposedTypeModel
    Generated model class for type VariantType first defined at extension catalog.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String VARIANTATTRIBUTES
        Generated constant - Attribute key of VariantType.variantAttributes attribute defined at extension catalog.
        See Also:
        Constant Field Values
    • Constructor Detail

      • VariantTypeModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public VariantTypeModel​(java.lang.Boolean _catalogItemType,
                                java.lang.String _code,
                                java.lang.Boolean _generate,
                                java.lang.Boolean _singleton,
                                ComposedTypeModel _superType)
        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:
        _catalogItemType - initial attribute declared by type ComposedType at extension catalog
        _code - initial attribute declared by type Type at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _singleton - initial attribute declared by type ComposedType at extension core
        _superType - initial attribute declared by type VariantType at extension catalog
      • VariantTypeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public VariantTypeModel​(java.lang.Boolean _catalogItemType,
                                java.lang.String _code,
                                java.lang.Boolean _generate,
                                ItemModel _owner,
                                java.lang.Boolean _singleton,
                                ComposedTypeModel _superType)
        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:
        _catalogItemType - initial attribute declared by type ComposedType at extension catalog
        _code - initial attribute declared by type Type at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _owner - initial attribute declared by type Item at extension core
        _singleton - initial attribute declared by type ComposedType at extension core
        _superType - initial attribute declared by type VariantType at extension catalog
    • Method Detail

      • getVariantAttributes

        @Deprecated(since="ages",
                    forRemoval=true)
        @Accessor(qualifier="variantAttributes",
                  type=GETTER)
        public java.util.List<VariantAttributeDescriptorModel> getVariantAttributes()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since ages
        Generated method - Getter of the VariantType.variantAttributes attribute defined at extension catalog. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the variantAttributes
      • setVariantAttributes

        @Deprecated(since="ages",
                    forRemoval=true)
        @Accessor(qualifier="variantAttributes",
                  type=SETTER)
        public void setVariantAttributes​(java.util.List<VariantAttributeDescriptorModel> value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since ages
        Generated method - Setter of VariantType.variantAttributes attribute defined at extension catalog.
        Parameters:
        value - the variantAttributes