public class DefaultElementObjectPropertyValue extends Object implements ElementObjectPropertyValue, Serializable
Constructor and Description |
---|
DefaultElementObjectPropertyValue() |
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(Object object,
String parameterName)
Gets the property of an bean.
|
void |
setProperty(Object object,
String parameterName,
Object parameter)
TODO: this function is not completed !!
|
void |
setPropertyMap(Object object,
Map<String,Object> attributes)
Sets all bean properties.
|
public void setProperty(Object object, String parameterName, Object parameter) throws ElementObjectPropertyValueException
setProperty
in interface ElementObjectPropertyValue
object
- parameterName
- parameter
- ElementParameterException
ElementObjectPropertyValueException
public Object getProperty(Object object, String parameterName) throws ElementObjectPropertyValueException
getProperty
in interface ElementObjectPropertyValue
object
- The object to get from.parameterName
- The parameter name of the property to get.ElementParameterException
ElementObjectPropertyValueException
public void setPropertyMap(Object object, Map<String,Object> attributes) throws ElementObjectPropertyValueException
ElementObjectPropertyValue
setPropertyMap
in interface ElementObjectPropertyValue
object
- To object to set all the properties to.attributes
- A Map with the keys as properties names and the valua as value to set.ElementObjectPropertyValueException
ElementObjectPropertyValue.setPropertyMap(java.lang.Object, java.util.Map)
Copyright © 2004-2013 X4O. All Rights Reserved.