public class KeywordModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_CATEGORY2KEYWORDRELATION
Generated relation code constant for relation
Category2KeywordRelation defining source attribute categories in extension catalog. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CATALOG
Generated constant - Attribute key of
Keyword.catalog attribute defined at extension catalog. |
static java.lang.String |
CATALOGVERSION
Generated constant - Attribute key of
Keyword.catalogVersion attribute defined at extension catalog. |
static java.lang.String |
CATEGORIES
Generated constant - Attribute key of
Keyword.categories attribute defined at extension catalog. |
static java.lang.String |
KEYWORD
Generated constant - Attribute key of
Keyword.keyword attribute defined at extension catalog. |
static java.lang.String |
LANGUAGE
Generated constant - Attribute key of
Keyword.language attribute defined at extension catalog. |
static java.lang.String |
PRODUCTS
Generated constant - Attribute key of
Keyword.products attribute defined at extension catalog. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
KeywordModel()
Generated constructor - Default constructor for generic creation.
|
KeywordModel(CatalogVersionModel _catalogVersion,
java.lang.String _keyword,
LanguageModel _language)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
KeywordModel(CatalogVersionModel _catalogVersion,
java.lang.String _keyword,
LanguageModel _language,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
KeywordModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CatalogVersionModel |
getCatalogVersion()
Generated method - Getter of the
Keyword.catalogVersion attribute defined at extension catalog. |
java.util.Collection<CategoryModel> |
getCategories()
Generated method - Getter of the
Keyword.categories attribute defined at extension catalog. |
java.util.Collection<CategoryModel> |
getCategories(java.util.Locale loc)
Generated method - Getter of the
Keyword.categories attribute defined at extension catalog. |
java.lang.String |
getKeyword()
Generated method - Getter of the
Keyword.keyword attribute defined at extension catalog. |
LanguageModel |
getLanguage()
Generated method - Getter of the
Keyword.language attribute defined at extension catalog. |
java.util.Collection<ProductModel> |
getProducts()
Generated method - Getter of the
Keyword.products attribute defined at extension catalog. |
java.util.Collection<ProductModel> |
getProducts(java.util.Locale loc)
Generated method - Getter of the
Keyword.products attribute defined at extension catalog. |
void |
setCatalogVersion(CatalogVersionModel value)
Generated method - Setter of
Keyword.catalogVersion attribute defined at extension catalog. |
void |
setCategories(java.util.Collection<CategoryModel> value)
Generated method - Setter of
Keyword.categories attribute defined at extension catalog. |
void |
setCategories(java.util.Collection<CategoryModel> value,
java.util.Locale loc)
Generated method - Setter of
Keyword.categories attribute defined at extension catalog. |
void |
setKeyword(java.lang.String value)
Generated method - Setter of
Keyword.keyword attribute defined at extension catalog. |
void |
setLanguage(LanguageModel value)
Generated method - Initial setter of
Keyword.language attribute defined at extension catalog. |
void |
setProducts(java.util.Collection<ProductModel> value)
Generated method - Setter of
Keyword.products attribute defined at extension catalog. |
void |
setProducts(java.util.Collection<ProductModel> value,
java.util.Locale loc)
Generated method - Setter of
Keyword.products attribute defined at extension catalog. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, 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 java.lang.String _TYPECODE
public static final java.lang.String _CATEGORY2KEYWORDRELATION
Category2KeywordRelation defining source attribute categories in extension catalog.public static final java.lang.String KEYWORD
Keyword.keyword attribute defined at extension catalog.public static final java.lang.String LANGUAGE
Keyword.language attribute defined at extension catalog.public static final java.lang.String CATALOG
Keyword.catalog attribute defined at extension catalog.public static final java.lang.String CATALOGVERSION
Keyword.catalogVersion attribute defined at extension catalog.public static final java.lang.String PRODUCTS
Keyword.products attribute defined at extension catalog.public static final java.lang.String CATEGORIES
Keyword.categories attribute defined at extension catalog.public KeywordModel()
public KeywordModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public KeywordModel(CatalogVersionModel _catalogVersion, java.lang.String _keyword, LanguageModel _language)
_catalogVersion - initial attribute declared by type Keyword at extension catalog_keyword - initial attribute declared by type Keyword at extension catalog_language - initial attribute declared by type Keyword at extension catalog@Deprecated public KeywordModel(CatalogVersionModel _catalogVersion, java.lang.String _keyword, LanguageModel _language, ItemModel _owner)
_catalogVersion - initial attribute declared by type Keyword at extension catalog_keyword - initial attribute declared by type Keyword at extension catalog_language - initial attribute declared by type Keyword at extension catalog_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Keyword.catalogVersion attribute defined at extension catalog.@Accessor(qualifier="categories", type=GETTER) public java.util.Collection<CategoryModel> getCategories()
Keyword.categories attribute defined at extension catalog.@Accessor(qualifier="categories", type=GETTER) public java.util.Collection<CategoryModel> getCategories(java.util.Locale loc)
Keyword.categories attribute defined at extension catalog.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="keyword", type=GETTER) public java.lang.String getKeyword()
Keyword.keyword attribute defined at extension catalog.@Accessor(qualifier="language", type=GETTER) public LanguageModel getLanguage()
Keyword.language attribute defined at extension catalog.@Accessor(qualifier="products", type=GETTER) public java.util.Collection<ProductModel> getProducts()
Keyword.products attribute defined at extension catalog.@Accessor(qualifier="products", type=GETTER) public java.util.Collection<ProductModel> getProducts(java.util.Locale loc)
Keyword.products attribute defined at extension catalog.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Keyword.catalogVersion attribute defined at extension catalog.value - the catalogVersion@Accessor(qualifier="categories", type=SETTER) public void setCategories(java.util.Collection<CategoryModel> value)
Keyword.categories attribute defined at extension catalog.value - the categories - Categories@Accessor(qualifier="categories", type=SETTER) public void setCategories(java.util.Collection<CategoryModel> value, java.util.Locale loc)
Keyword.categories attribute defined at extension catalog.value - the categories - Categoriesloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="keyword", type=SETTER) public void setKeyword(java.lang.String value)
Keyword.keyword attribute defined at extension catalog.value - the keyword@Accessor(qualifier="language", type=SETTER) public void setLanguage(LanguageModel value)
Keyword.language attribute defined at extension catalog. Can only be used at creation of model - before first save.value - the language@Accessor(qualifier="products", type=SETTER) public void setProducts(java.util.Collection<ProductModel> value)
Keyword.products attribute defined at extension catalog.value - the products - Products@Accessor(qualifier="products", type=SETTER) public void setProducts(java.util.Collection<ProductModel> value, java.util.Locale loc)
Keyword.products attribute defined at extension catalog.value - the products - Productsloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2018 SAP SE. All Rights Reserved.