Class VariantTypeModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

      public static final String VARIANTATTRIBUTES
      Generated constant - Attribute key of VariantType.variantAttributes attribute defined at extension catalog.
      See Also:
  • Constructor Details

    • 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(Boolean _catalogItemType, String _code, Boolean _generate, 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(Boolean _catalogItemType, String _code, Boolean _generate, ItemModel _owner, 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 Details

    • getVariantAttributes

      @Deprecated(since="ages", forRemoval=true) @Accessor(qualifier="variantAttributes", type=GETTER) public 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
    • setSuperType

      @Accessor(qualifier="superType", type=SETTER) public void setSuperType(ComposedTypeModel value)
      Generated method - Initial setter of ComposedType.superType attribute defined at extension core and redeclared at extension catalog. Can only be used at creation of model - before first save. Will only accept values of type ComposedTypeModel.
      Overrides:
      setSuperType in class ComposedTypeModel
      Parameters:
      value - the superType
    • setVariantAttributes

      @Deprecated(since="ages", forRemoval=true) @Accessor(qualifier="variantAttributes", type=SETTER) public void setVariantAttributes(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