Class AdqlFeature.Function

java.lang.Object
uk.ac.starlink.vo.AdqlFeature
uk.ac.starlink.vo.AdqlFeature.Function
Enclosing class:
AdqlFeature

public static class AdqlFeature.Function extends AdqlFeature
AdqlFeature subclass which represents a function. This includes declared arguments and a return type.
  • Constructor Details

    • Function

      protected Function(String name, String description, AdqlFeature.Arg[] args, AdqlFeature.Type returnType)
      Constructor.
      Parameters:
      name - function name
      description - plain text description directed at users
      args - function declared arguments
      returnType - function declared return type
  • Method Details

    • getArgs

      public AdqlFeature.Arg[] getArgs()
      Returns the declared arguments of this function.
      Returns:
      arguments
    • getReturnType

      public AdqlFeature.Type getReturnType()
      Returns the declared return type of this function.
      Returns:
      return type