Class Parameter


  • public class Parameter
    extends java.lang.Object
    Describes a parameter.
    • Constructor Summary

      Constructors 
      Constructor Description
      Parameter​(java.lang.String name, byte id, ParameterType parameterType)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte getId()
      Returns the token id used to highlight the parameter name.
      java.lang.String getName()
      Returns the parameter name.
      ParameterType getParameterType()
      Returns the parameter type for the value of this parameter.
      • Methods inherited from class java.lang.Object

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

      • Parameter

        public Parameter​(java.lang.String name,
                         byte id,
                         ParameterType parameterType)
        Creates a new instance.
        Parameters:
        name - the parameter name
        id - the token id used to highlight the parameter name
        parameterType - the parameter type for the value of this parameter
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the parameter name.
        Returns:
        the parameter name
      • getId

        public byte getId()
        Returns the token id used to highlight the parameter name.
        Returns:
        the token id
      • getParameterType

        public ParameterType getParameterType()
        Returns the parameter type for the value of this parameter.
        Returns:
        the parameter type