Class MediaContainerModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.media.MediaContainerModel
- All Implemented Interfaces:
Serializable
Generated model class for type MediaContainer first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofMediaContainer.catalogVersionattribute defined at extensioncatalog.static final StringGenerated constant - Attribute key ofMediaContainer.mediasattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofMediaContainer.nameattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofMediaContainer.qualifierattribute defined at extensioncore.Fields 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.MediaContainerModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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 parametersMediaContainerModel(CatalogVersionModel _catalogVersion, 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 parametersMediaContainerModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theMediaContainer.catalogVersionattribute defined at extensioncatalog.Generated method - Getter of theMediaContainer.mediasattribute defined at extensioncore.getName()Generated method - Getter of theMediaContainer.nameattribute defined at extensioncore.Generated method - Getter of theMediaContainer.nameattribute defined at extensioncore.Generated method - Getter of theMediaContainer.qualifierattribute defined at extensioncore.voidGenerated method - Setter ofMediaContainer.catalogVersionattribute defined at extensioncatalog.voidsetMedias(Collection<MediaModel> value) Generated method - Setter ofMediaContainer.mediasattribute defined at extensioncore.voidGenerated method - Setter ofMediaContainer.nameattribute defined at extensioncore.voidGenerated method - Setter ofMediaContainer.nameattribute defined at extensioncore.voidsetQualifier(String value) Generated method - Setter ofMediaContainer.qualifierattribute defined at extensioncore.Methods 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:
-
QUALIFIER
Generated constant - Attribute key ofMediaContainer.qualifierattribute defined at extensioncore.- See Also:
-
NAME
Generated constant - Attribute key ofMediaContainer.nameattribute defined at extensioncore.- See Also:
-
MEDIAS
Generated constant - Attribute key ofMediaContainer.mediasattribute defined at extensioncore.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofMediaContainer.catalogVersionattribute defined at extensioncatalog.- See Also:
-
-
Constructor Details
-
MediaContainerModel
public MediaContainerModel()Generated constructor - Default constructor for generic creation. -
MediaContainerModel
public MediaContainerModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
MediaContainerModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaContainerModel(CatalogVersionModel _catalogVersion, 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeMediaContainerat extensioncatalog_qualifier- initial attribute declared by typeMediaContainerat extensioncore
-
MediaContainerModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaContainerModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeMediaContainerat extensioncatalog_owner- initial attribute declared by typeItemat extensioncore_qualifier- initial attribute declared by typeMediaContainerat extensioncore
-
-
Method Details
-
getCatalogVersion
Generated method - Getter of theMediaContainer.catalogVersionattribute defined at extensioncatalog.- Returns:
- the catalogVersion
-
getMedias
Generated method - Getter of theMediaContainer.mediasattribute defined at extensioncore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the medias
-
getName
Generated method - Getter of theMediaContainer.nameattribute defined at extensioncore.- Returns:
- the name - Name of this container
-
getName
Generated method - Getter of theMediaContainer.nameattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the name - Name of this container
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getQualifier
Generated method - Getter of theMediaContainer.qualifierattribute defined at extensioncore.- Returns:
- the qualifier - Qualifying name of this container
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value) Generated method - Setter ofMediaContainer.catalogVersionattribute defined at extensioncatalog.- Parameters:
value- the catalogVersion
-
setMedias
Generated method - Setter ofMediaContainer.mediasattribute defined at extensioncore.- Parameters:
value- the medias
-
setName
Generated method - Setter ofMediaContainer.nameattribute defined at extensioncore.- Parameters:
value- the name - Name of this container
-
setName
Generated method - Setter ofMediaContainer.nameattribute defined at extensioncore.- Parameters:
value- the name - Name of this containerloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setQualifier
Generated method - Setter ofMediaContainer.qualifierattribute defined at extensioncore.- Parameters:
value- the qualifier - Qualifying name of this container
-