Class POJOPropertiesContainerAdapter

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • POJOPropertiesContainerAdapter

        public POJOPropertiesContainerAdapter​(java.lang.Object object)
    • 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 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:
        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 interface IPropertiesContainer
        Parameters:
        properties - Map with String propertyName:Object value. Null is like a empty map.
        Throws:
        ValidationException - Some problem validating the data
        java.rmi.RemoteException - Some system problem or another unexpected problem, since v6.5.2 is better to use PropertiesContainerException
        javax.validation.ValidationException