public class MediaContextModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
MAPPINGS
Generated constant - Attribute key of
MediaContext.mappings attribute defined at extension core. |
static String |
NAME
Generated constant - Attribute key of
MediaContext.name attribute defined at extension core. |
static String |
QUALIFIER
Generated constant - Attribute key of
MediaContext.qualifier attribute defined at extension core. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
MediaContextModel()
Generated constructor - Default constructor for generic creation.
|
MediaContextModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
MediaContextModel(ItemModel _owner,
String _qualifier)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
MediaContextModel(String _qualifier)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
Collection<MediaFormatMappingModel> |
getMappings()
Generated method - Getter of the
MediaContext.mappings attribute defined at extension core. |
String |
getName()
Generated method - Getter of the
MediaContext.name attribute defined at extension core. |
String |
getName(Locale loc)
Generated method - Getter of the
MediaContext.name attribute defined at extension core. |
String |
getQualifier()
Generated method - Getter of the
MediaContext.qualifier attribute defined at extension core. |
void |
setMappings(Collection<MediaFormatMappingModel> value)
Generated method - Setter of
MediaContext.mappings attribute defined at extension core. |
void |
setName(String value)
Generated method - Setter of
MediaContext.name attribute defined at extension core. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
MediaContext.name attribute defined at extension core. |
void |
setQualifier(String value)
Generated method - Setter of
MediaContext.qualifier attribute defined at extension core. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String QUALIFIER
MediaContext.qualifier attribute defined at extension core.public static final String NAME
MediaContext.name attribute defined at extension core.public static final String MAPPINGS
MediaContext.mappings attribute defined at extension core.public MediaContextModel()
public MediaContextModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public MediaContextModel(String _qualifier)
_qualifier - initial attribute declared by type MediaContext at extension core@Deprecated public MediaContextModel(ItemModel _owner, String _qualifier)
_owner - initial attribute declared by type Item at extension core_qualifier - initial attribute declared by type MediaContext at extension core@Accessor(qualifier="mappings", type=GETTER) public Collection<MediaFormatMappingModel> getMappings()
MediaContext.mappings attribute defined at extension core.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="name", type=GETTER) public String getName()
MediaContext.name attribute defined at extension core.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
MediaContext.name attribute defined at extension core.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="qualifier", type=GETTER) public String getQualifier()
MediaContext.qualifier attribute defined at extension core.@Accessor(qualifier="mappings", type=SETTER) public void setMappings(Collection<MediaFormatMappingModel> value)
MediaContext.mappings attribute defined at extension core.value - the mappings@Accessor(qualifier="name", type=SETTER) public void setName(String value)
MediaContext.name attribute defined at extension core.value - the name - Name of this context@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
MediaContext.name attribute defined at extension core.value - the name - Name of this contextloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.