Class ResultInfo


  • public class ResultInfo
    extends java.lang.Object
    Information about a result. Includes type, description and converter (object -> string).
    • Field Detail

      • type

        protected java.lang.Class<?> type
        The type.
      • description

        protected java.lang.String description
        The description.
    • Constructor Detail

      • ResultInfo

        public ResultInfo()
        Create a new argument info.
      • ResultInfo

        public ResultInfo​(java.lang.Class<?> type,
                          java.lang.String description,
                          IObjectStringConverter converter)
        Create a new result info.
    • Method Detail

      • getType

        public java.lang.Class<?> getType()
        Get the type.
        Returns:
        The type.
      • setType

        public void setType​(java.lang.Class<?> type)
        Set the type.
        Parameters:
        type - The type to set.
      • getDescription

        public java.lang.String getDescription()
        Get the description.
        Returns:
        The description.
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the description.
        Parameters:
        description - The description to set.
      • setConverter

        public void setConverter​(IObjectStringConverter converter)
        Set the converter.
        Parameters:
        converter - The converter to set.