Interface BaseType

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addParam​(java.lang.String paramName, java.lang.Object paramValue)
      Add a custom parameter to the entity.
      java.lang.String getId()
      Get the id of the entity.
      java.lang.Object getParam​(java.lang.String paramName)
      Get a custom param value
      java.util.Map<java.lang.String,​java.lang.Object> getParams()
      Get entity config parameters (if any).
      void setId​(java.lang.String id)
      Set the id of the entity
      void setParams​(java.util.Map<java.lang.String,​java.lang.Object> params)
      Set entity config parameters (if any).
    • Method Detail

      • getId

        java.lang.String getId()
        Get the id of the entity.
        Returns:
        The identifier of the entity
      • setId

        void setId​(java.lang.String id)
        Set the id of the entity
        Parameters:
        id - Entity identifier.
      • getParams

        java.util.Map<java.lang.String,​java.lang.Object> getParams()
        Get entity config parameters (if any). These have been added to take care of any email provder specific paramaters.
        Returns:
        a map containing custom properties.
      • setParams

        void setParams​(java.util.Map<java.lang.String,​java.lang.Object> params)
        Set entity config parameters (if any). These have been added to take care of any email provder specific paramaters.
        Parameters:
        params - A map containing custom parameters.
      • addParam

        void addParam​(java.lang.String paramName,
                      java.lang.Object paramValue)
        Add a custom parameter to the entity.
        Parameters:
        paramName - The parameter name
        paramValue - The parameter value
      • getParam

        java.lang.Object getParam​(java.lang.String paramName)
        Get a custom param value
        Parameters:
        paramName - name of parameter
        Returns:
        value of parameter