public class ConstantAttributeAccess extends AbstractNonChangeableAttributeAccess
| Constructor and Description |
|---|
ConstantAttributeAccess(String qualifier,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue(SessionContext ctx,
Item item)
Retrieves the attribute data from a given item.
|
setValuepublic Object getValue(SessionContext ctx, Item item) throws JaloTypeException, JaloInvalidParameterException, JaloSecurityException
AttributeAccessint are wrapped into their
object instances.ctx - the current session context - e.g. specifies the session languageitem - the item to get data fromJaloTypeException - in case the attribute type does not allow reading this valueJaloInvalidParameterException - in some data required for reading the value is missing or not as expected ( like missing session
language )JaloSecurityException - in case there are security constraints which do not allow reding this valueCopyright © 2017 SAP SE. All Rights Reserved.