Class ArgumentInfoList

java.lang.Object
org.eclipse.birt.report.model.api.metadata.ArgumentInfoList
All Implemented Interfaces:
IArgumentInfoList

public class ArgumentInfoList extends Object implements IArgumentInfoList
Represents an optional argument list of a method.
  • Constructor Details

    • ArgumentInfoList

      public ArgumentInfoList()
      Constructs a default ArgumentInfoList.
  • Method Details

    • addArgument

      protected void addArgument(IArgumentInfo argument)
      Adds argument to this method definition.
      Parameters:
      argument - the argument definition to add
      Throws:
      org.eclipse.birt.report.model.metadata.MetaDataException - if the argument name exists.
    • getArgument

      public IArgumentInfo getArgument(String argumentName)
      Returns the argument definition given the name.
      Specified by:
      getArgument in interface IArgumentInfoList
      Parameters:
      argumentName - name of the argument to get
      Returns:
      the argument definition with the specified name.
    • argumentsIterator

      public Iterator<IArgumentInfo> argumentsIterator()
      Returns the iterator of argument definition. Each one is a list that contains ArgumentInfo.
      Specified by:
      argumentsIterator in interface IArgumentInfoList
      Returns:
      iterator of argument definition.