Package com.microstrategy.web.transform
Interface FormalParameters
-
public interface FormalParametersThe FormalParameters interface is a read-only collection, used to learn the nature of a set of existing formal parameters.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontainsFormalParameter(java.lang.String name)Returns true if the collection contains the specifiedFormalParameter.intgetCount()Returns the number of formal parameters in the collection.FormalParametergetFormalParameter(int index)Retrieves a specific formal paramter by its numeric index.FormalParametergetFormalParameter(java.lang.String name)Retrives a specific formal parameter by its name.
-
-
-
Method Detail
-
getCount
int getCount()
Returns the number of formal parameters in the collection.- Returns:
- formal parameters contained in the collection.
- See Also:
FormalParameter
-
getFormalParameter
FormalParameter getFormalParameter(int index) throws java.lang.IndexOutOfBoundsException
Retrieves a specific formal paramter by its numeric index.- Parameters:
index- the index of the object in collection.- Returns:
- the
FormalParameterobject in the collection with the given index. - Throws:
java.lang.IndexOutOfBoundsException- thrown if the index is invalid.
-
getFormalParameter
FormalParameter getFormalParameter(java.lang.String name) throws java.lang.IllegalArgumentException
Retrives a specific formal parameter by its name.- Parameters:
name- the name of the FormalParameter object.- Returns:
- the
FormalParameterobject in the collection with the given name. - Throws:
java.lang.IllegalArgumentException- thrown if no formal parameter has the given name.
-
containsFormalParameter
boolean containsFormalParameter(java.lang.String name)
Returns true if the collection contains the specifiedFormalParameter.- Parameters:
name- the name ofFormalParameterwhose presence in the collection is to be tested- Returns:
- true if the collection contains the specified
FormalParameter.
-
-