Class Argument


  • class Argument
    extends java.lang.Object
    Represents a user-specified call argument.
    Author:
    Holger Eichelberger
    • Constructor Summary

      Constructors 
      Constructor Description
      Argument​(IMetaType type)
      Creates a call argument.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getArgument()
      Returns the current argument (expression).
      java.lang.String getParameterType()
      Returns the parameter type as String.
      IMetaType getType()
      Returns the actual type of the argument.
      void setArgument​(java.lang.String argument)
      Changes the argument (expression).
      • Methods inherited from class java.lang.Object

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

      • parameterType

        private java.lang.String parameterType
      • argument

        private java.lang.String argument
    • Constructor Detail

      • Argument

        Argument​(IMetaType type)
        Creates a call argument.
        Parameters:
        type - the type of the argument
    • Method Detail

      • getParameterType

        public java.lang.String getParameterType()
        Returns the parameter type as String.
        Returns:
        the parameter type as string
      • getArgument

        public java.lang.String getArgument()
        Returns the current argument (expression).
        Returns:
        the current argument
      • setArgument

        public void setArgument​(java.lang.String argument)
        Changes the argument (expression).
        Parameters:
        argument - the new argument expression
      • getType

        public IMetaType getType()
        Returns the actual type of the argument.
        Returns:
        the type