Package org.openxava.model.impl
Class POJOPropertiesContainerAdapter
- java.lang.Object
-
- org.openxava.model.impl.POJOPropertiesContainerAdapter
-
- All Implemented Interfaces:
IPropertiesContainer
public class POJOPropertiesContainerAdapter extends java.lang.Object implements IPropertiesContainer
- Author:
- Javier Paniza
-
-
Constructor Summary
Constructors Constructor Description POJOPropertiesContainerAdapter(java.lang.Object object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map
executeGets(java.lang.String properties)
Obtain the values of properties in a Map.void
executeSets(java.util.Map properties)
Update the properties from a map.
-
-
-
Method Detail
-
executeGets
public java.util.Map executeGets(java.lang.String properties) throws java.rmi.RemoteException
Description copied from interface:IPropertiesContainer
Obtain the values of properties in a Map.- Specified by:
executeGets
in interfaceIPropertiesContainer
- 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:
java.rmi.RemoteException
- Some system problem or another unexpected problem, since v6.5.2 is better to use PropertiesContainerException
-
executeSets
public void executeSets(java.util.Map properties) throws javax.validation.ValidationException, java.rmi.RemoteException
Description copied from interface:IPropertiesContainer
Update the properties from a map.- Specified by:
executeSets
in interfaceIPropertiesContainer
- Parameters:
properties
- Map with String propertyName:Object value. Null is like a empty map.- Throws:
ValidationException
- Some problem validating the datajava.rmi.RemoteException
- Some system problem or another unexpected problem, since v6.5.2 is better to use PropertiesContainerExceptionjavax.validation.ValidationException
-
-