Package org.openxava.util
Interface IPropertiesContainer
-
- All Known Implementing Classes:
POJOPropertiesContainerAdapter
public interface IPropertiesContainerAllows update and read object properties to/from a Map.- Author:
- Javier Paniza
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.MapexecuteGets(java.lang.String properties)Obtain the values of properties in a Map.voidexecuteSets(java.util.Map properties)Update the properties from a map.
-
-
-
Method Detail
-
executeGets
java.util.Map executeGets(java.lang.String properties) throws PropertiesContainerException, java.rmi.RemoteExceptionObtain the values of properties in a Map.- Parameters:
properties- Names of properties to obtain separated by a colon (:). The properties have to exists in the object.- Returns:
- Map withString propertyName:Object value. Not null
- Throws:
PropertiesContainerException- Any unexpected problem, since v6.5.2java.rmi.RemoteException- Some system problem or another unexpected problem, since v6.5.2 is better to use PropertiesContainerException
-
executeSets
void executeSets(java.util.Map properties) throws ValidationException, PropertiesContainerException, java.rmi.RemoteExceptionUpdate the properties from a map.- Parameters:
properties- Map with String propertyName:Object value. Null is like a empty map.- Throws:
ValidationException- Some problem validating the dataPropertiesContainerException- Any unexpected problem, since v6.5.2java.rmi.RemoteException- Some system problem or another unexpected problem, since v6.5.2 is better to use PropertiesContainerException
-
-