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

      All Methods Instance Methods Abstract 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

        java.util.Map executeGets​(java.lang.String properties)
                           throws PropertiesContainerException,
                                  java.rmi.RemoteException
        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.2
        java.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.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 data
        PropertiesContainerException - Any unexpected problem, since v6.5.2
        java.rmi.RemoteException - Some system problem or another unexpected problem, since v6.5.2 is better to use PropertiesContainerException