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:
java.io.Serializable
public class VariantTypeModel extends ComposedTypeModel
Generated model class for type VariantType first defined at extension catalog.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringVARIANTATTRIBUTESGenerated 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, UNIQUEKEYATTRIBUTES
-
Fields inherited from class de.hybris.platform.core.model.type.TypeModel
CODE, DEFAULTVALUE, DESCRIPTION, XMLDEFINITION
-
Fields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAME
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description VariantTypeModel()Generated constructor - Default constructor for generic creation.VariantTypeModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextVariantTypeModel(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 parametersVariantTypeModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<VariantAttributeDescriptorModel>getVariantAttributes()Deprecated, 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.voidsetVariantAttributes(java.util.List<VariantAttributeDescriptorModel> value)Deprecated, for removal: This API element is subject to removal in a future version.since ages-
Methods 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, setUniqueKeyAttributes
-
Methods inherited from class de.hybris.platform.core.model.type.TypeModel
getCode, getDefaultValue, getDescription, getDescription, getXmldefinition, setCode, setDefaultValue, setDescription, setDescription
-
Methods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setName
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 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 ofVariantType.variantAttributesattribute defined at extensioncatalog.- 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 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(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 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 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 agesGenerated method - Getter of theVariantType.variantAttributesattribute defined at extensioncatalog. 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 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(java.util.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
-
-