public class ItemAttributeProvider extends java.lang.Object implements AttributeProvider
Item.| Constructor and Description |
|---|
ItemAttributeProvider(PersistenceObject item,
ItemModelConverter converter)
Creates a new provider setting the managed item.
|
ItemAttributeProvider(PK pk,
ItemModelConverter converter)
Creates a new provider setting with PK only.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttribute(java.lang.String qualifier)
Gets the attribute value of managed source object for attribute with given qualifier without paying attention to
current session language.
|
ItemModelConverter |
getConverter() |
Item |
getItem()
Deprecated.
since 5.7.0
|
java.lang.Object |
getLocalizedAttribute(java.lang.String qualifier,
java.util.Locale dataLoc)
Gets the attribute value of managed source object for attribute with given qualifier for the given
Locale |
PersistenceObject |
getPersistenceObject() |
java.lang.String |
toString() |
public ItemAttributeProvider(PersistenceObject item, ItemModelConverter converter)
item - item from which the attribute values will be gatheredpublic ItemAttributeProvider(PK pk, ItemModelConverter converter)
public ItemModelConverter getConverter()
public java.lang.Object getAttribute(java.lang.String qualifier)
AttributeProvidergetAttribute in interface AttributeProviderqualifier - qualifier identifying the attribute for which the value is neededpublic java.lang.Object getLocalizedAttribute(java.lang.String qualifier,
java.util.Locale dataLoc)
AttributeProviderLocalegetLocalizedAttribute in interface AttributeProviderqualifier - qualifier identifying the attribute for which the value is neededdataLoc - the localepublic PersistenceObject getPersistenceObject()
@Deprecated public Item getItem()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 SAP SE. All Rights Reserved.