Package org.openxava.util
Interface IPropertiesContainer
- All Known Implementing Classes:
POJOPropertiesContainerAdapter
public interface IPropertiesContainer
Allows update and read object properties to/from a Map.
- Author:
- Javier Paniza
-
Method Summary
Modifier and TypeMethodDescriptionexecuteGets(String properties) Obtain the values of properties in a Map.voidexecuteSets(Map properties) Update the properties from a map.
-
Method Details
-
executeGets
Obtain 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.2RemoteException- Some system problem or another unexpected problem, since v6.5.2 is better to use PropertiesContainerException
-
executeSets
void executeSets(Map properties) throws ValidationException, PropertiesContainerException, RemoteException Update 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.2RemoteException- Some system problem or another unexpected problem, since v6.5.2 is better to use PropertiesContainerException
-