Class POJOPropertiesContainerAdapter

java.lang.Object
org.openxava.model.impl.POJOPropertiesContainerAdapter
All Implemented Interfaces:
IPropertiesContainer

public class POJOPropertiesContainerAdapter extends Object implements IPropertiesContainer
Author:
Javier Paniza
  • Constructor Details

    • POJOPropertiesContainerAdapter

      public POJOPropertiesContainerAdapter(Object object)
  • Method Details

    • executeGets

      public Map executeGets(String properties) throws RemoteException
      Description copied from interface: IPropertiesContainer
      Obtain the values of properties in a Map.

      Specified by:
      executeGets in interface IPropertiesContainer
      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: IPropertiesContainer
      Update the properties from a map.

      Specified by:
      executeSets in interface IPropertiesContainer
      Parameters:
      properties - Map with String propertyName:Object value. Null is like a empty map.
      Throws:
      ValidationException - Some problem validating the data
      RemoteException - Some system problem or another unexpected problem, since v6.5.2 is better to use PropertiesContainerException
      javax.validation.ValidationException