public class JaloPropertyContainerAdapter extends Object implements JaloPropertyContainer
| Constructor and Description |
|---|
JaloPropertyContainerAdapter(JaloSession jaloSession) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
void |
setAllLocalizedProperties(String name,
Map<Language,Object> values)
Allows to set all values of a localized property at once.
|
void |
setLocalizedProperty(SessionContext ctx,
String name,
Object value)
sets an external localized property
|
void |
setLocalizedProperty(String name,
Object value)
sets an external localized property, using the default session context to determine the property's language
|
void |
setProperty(String name,
Object value)
sets a property
|
int |
size() |
String |
toString() |
EJBPropertyContainer |
unwrap() |
public JaloPropertyContainerAdapter(JaloSession jaloSession)
public EJBPropertyContainer unwrap()
public void setProperty(String name, Object value)
JaloPropertyContainersetProperty in interface JaloPropertyContainervalue - may be null to remove a propertypublic void setLocalizedProperty(String name, Object value)
JaloPropertyContainersetLocalizedProperty in interface JaloPropertyContainerpublic void setLocalizedProperty(SessionContext ctx, String name, Object value)
JaloPropertyContainersetLocalizedProperty in interface JaloPropertyContainerctx - determines the property's language, but not the staging methodpublic void setAllLocalizedProperties(String name, Map<Language,Object> values)
JaloPropertyContainersetAllLocalizedProperties in interface JaloPropertyContainername - the property namevalues - all values as mappublic boolean isEmpty()
public int size()
Copyright © 2017 SAP SE. All Rights Reserved.