Class VariantTypeModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.type.TypeManagerManagedModel
de.hybris.platform.core.model.type.TypeModel
de.hybris.platform.core.model.type.ComposedTypeModel
de.hybris.platform.variants.model.VariantTypeModel
- All Implemented Interfaces:
Serializable
Generated model class for type VariantType first defined at extension catalog.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofVariantType.variantAttributesattribute defined at extensioncatalog.Fields inherited from class de.hybris.platform.core.model.type.ComposedTypeModel
_COCKPITITEMTEMPLATE2COMPOSEDTYPERELATION, _CONSTRAINTCOMPOSITETYPERELATION, _FORMAT2COMTYPREL, _STREAMCONFIGURATIONEXCLUDEDSUBTYPES, _SYNCJOB2TYPEREL, ABSTRACT, ALLSUBTYPES, ALLSUPERTYPES, ATTRIBUTEDESCRIPTORS, CATALOGITEMTYPE, CATALOGVERSIONATTRIBUTE, CATALOGVERSIONATTRIBUTEQUALIFIER, COCKPITITEMTEMPLATES, CONSTRAINTS, DECLAREDATTRIBUTEDESCRIPTORS, DUMPPROPERTYTABLE, DYNAMIC, FORMATS, INHERITANCEPATHSTRING, INHERITEDATTRIBUTEDESCRIPTORS, JALOCLASS, JALOONLY, JNDINAME, LEGACYPERSISTENCE, SINGLETON, STREAMCONFIGURATIONS, SUBTYPES, SUPERTYPE, SYNCJOBS, SYSTEMTYPE, TABLE, UNIQUEKEYATTRIBUTEQUALIFIER, UNIQUEKEYATTRIBUTESFields inherited from class de.hybris.platform.core.model.type.TypeModel
CODE, DEFAULTVALUE, DESCRIPTION, XMLDEFINITIONFields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAMEFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextVariantTypeModel(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 parametersVariantTypeModel(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 -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.since agesvoidsetSuperType(ComposedTypeModel value) Generated method - Initial setter ofComposedType.superTypeattribute defined at extensioncoreand redeclared at extensioncatalog.voidDeprecated, for removal: This API element is subject to removal in a future version.since agesMethods inherited from class de.hybris.platform.core.model.type.ComposedTypeModel
getAbstract, getAllSubTypes, getAllSuperTypes, getCatalogItemType, getCatalogVersionAttribute, getCockpitItemTemplates, getConstraints, getDeclaredattributedescriptors, getDumpPropertyTable, getDynamic, getFormats, getInheritedattributedescriptors, getJaloclass, getJaloonly, getJndiName, getLegacyPersistence, getSingleton, getStreamConfigurations, getSubtypes, getSuperType, getSystemType, getTable, getUniqueKeyAttributes, setCatalogItemType, setCatalogVersionAttribute, setCockpitItemTemplates, setConstraints, setDeclaredattributedescriptors, setFormats, setJaloclass, setJaloonly, setLegacyPersistence, setSingleton, setStreamConfigurations, setSystemType, setUniqueKeyAttributesMethods inherited from class de.hybris.platform.core.model.type.TypeModel
getCode, getDefaultValue, getDescription, getDescription, getXmldefinition, setCode, setDefaultValue, setDescription, setDescriptionMethods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setNameMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
VARIANTATTRIBUTES
Generated constant - Attribute key ofVariantType.variantAttributesattribute defined at extensioncatalog.- See Also:
-
-
Constructor Details
-
VariantTypeModel
public VariantTypeModel()Generated constructor - Default constructor for generic creation. -
VariantTypeModel
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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogItemType- initial attribute declared by typeComposedTypeat extensioncatalog_code- initial attribute declared by typeTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_singleton- initial attribute declared by typeComposedTypeat extensioncore_superType- initial attribute declared by typeVariantTypeat extensioncatalog
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogItemType- initial attribute declared by typeComposedTypeat extensioncatalog_code- initial attribute declared by typeTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_owner- initial attribute declared by typeItemat extensioncore_singleton- initial attribute declared by typeComposedTypeat extensioncore_superType- initial attribute declared by typeVariantTypeat extensioncatalog
-
-
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 agesGenerated method - Getter of theVariantType.variantAttributesattribute defined at extensioncatalog. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the variantAttributes
-
setSuperType
Generated method - Initial setter ofComposedType.superTypeattribute defined at extensioncoreand redeclared at extensioncatalog. Can only be used at creation of model - before first save. Will only accept values of typeComposedTypeModel.- Overrides:
setSuperTypein classComposedTypeModel- 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 agesGenerated method - Setter ofVariantType.variantAttributesattribute defined at extensioncatalog.- Parameters:
value- the variantAttributes
-