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