org.eclipse.birt.report.model.api.metadata
Class ArgumentInfoList

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

public class ArgumentInfoList
extends java.lang.Object
implements IArgumentInfoList

Represents an optional argument list of a method.


Constructor Summary
ArgumentInfoList()
          Constructs a default ArgumentInfoList.
 
Method Summary
protected  void addArgument(IArgumentInfo argument)
          Adds argument to this method definition.
 java.util.Iterator argumentsIterator()
          Returns the iterator of argument definition.
 IArgumentInfo getArgument(java.lang.String argumentName)
          Returns the argument definition given the name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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.


Copyright © 2008 Actuate Corp. All rights reserved.