public class AttributeTools extends Object
| Constructor and Description |
|---|
AttributeTools() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getAttribute(Object object,
Object key)
Get an attribute value from object
|
static Object |
getAttributeBasic(Object object,
Object key)
Get an attribute value from object
|
static Object |
removeAttribute(Object object,
Object key)
Remove an attribute binding from object
|
static Object |
removeAttributeBasic(Object object,
Object key)
Remove an attribute binding from object
|
static Object |
setAttribute(Object object,
Object key,
Object value)
Set the value of an attribute in object
|
static Object |
setAttributeBasic(Object object,
Object key,
Object value)
Set the value of an attribute in object
|
public static Object getAttribute(Object object, Object key)
object - The target object hosting the attributekey - the name of the attribute to getkeypublic static Object getAttributeBasic(Object object, Object key)
object - The target object hosting the attributekey - the name of the attribute to getkeypublic static Object removeAttribute(Object object, Object key)
object - The target object hosting the attributekey - the name of the attribute to removekeypublic static Object removeAttributeBasic(Object object, Object key)
object - The target object hosting the attributekey - the name of the attribute to removekeypublic static Object setAttribute(Object object, Object key, Object value)
object - The target object hosting the attributekey - the name of the attribute to setvalue - the new value the attributekeypublic static Object setAttributeBasic(Object object, Object key, Object value)
object - The target object hosting the attributekey - the name of the attribute to setvalue - the new value the attributekeyCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.