Class ArgumentInfoList
- java.lang.Object
-
- 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
Constructors Constructor Description ArgumentInfoList()
Constructs a defaultArgumentInfoList
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addArgument(IArgumentInfo argument)
Adds argument to this method definition.java.util.Iterator<IArgumentInfo>
argumentsIterator()
Returns the iterator of argument definition.IArgumentInfo
getArgument(java.lang.String argumentName)
Returns the argument definition given the name.
-
-
-
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 interfaceIArgumentInfoList
- 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 containsArgumentInfo
.- Specified by:
argumentsIterator
in interfaceIArgumentInfoList
- Returns:
- iterator of argument definition.
-
-