Class ArgumentInfoList

  • All Implemented Interfaces:
    IArgumentInfoList

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

      Constructors 
      Constructor Description
      ArgumentInfoList()
      Constructs a default ArgumentInfoList.
    • Constructor Detail

      • ArgumentInfoList

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

      • 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​(java.lang.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 java.util.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.