java.lang.Object
tools.refinery.interpreter.matchers.psystem.queries.PParameter

public class PParameter extends Object
A descriptor for declared PQuery parameters. A parameter has a name, a declared type and a direction constraint
  • Constructor Details

  • Method Details

    • getDirection

      public PParameterDirection getDirection()
      Returns:
      the direction
      Since:
      1.4
    • getName

      public String getName()
      Returns:
      the name of the parameter
    • getTypeName

      public String getTypeName()
      Returns a textual representation of the declared type of the parameter
      Returns:
      the type description, or null if not available
    • getDeclaredUnaryType

      public IInputKey getDeclaredUnaryType()
      Yield an IInputKey representation of the type declared for this parameter.
      Returns:
      the unary type that was declared on this parameter in the query header, or null if not available
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object