com.microstrategy.web.transform.ActualParameters |
![]() |
The ActualParameters interface provides a read-write collection of actual parameter objects.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
clear()
Clears the actual parameters collection.
| ||||||||||
abstract ActualParameter |
getActualParameter(int index)
Retrieves a specific actual parameter at a given index in the collection.
| ||||||||||
abstract ActualParameter |
getActualParameter(String name)
Retrieves the actual parameter with the given name.
| ||||||||||
abstract ActualParameter |
getActualParameter(FormalParameter formalParam)
Retrieves the actual parameter associated with the given formal parameter.
| ||||||||||
abstract Enumeration |
getActualParameters(String name)
This method is deprecated.
The name of the actual parameter is now used as the key therefore this enumeration will return
at most one value, the same as
getActualParameter(String) .
| ||||||||||
abstract Enumeration |
getActualParameters(FormalParameter formalParam)
Returns an array of ActualParameter objects which matches the specified
FormalParameter.
| ||||||||||
abstract int |
getCount()
Returns the number of actual parameters in the collection.
| ||||||||||
abstract int |
getNumMismatchedParams()
Returns the number of actual parameters, whose name doesn't match a formal parameter.
| ||||||||||
abstract boolean |
hasActualParameter(FormalParameter formalParameter)
Determines whether an actual parameter exists for a given formal parameter.
| ||||||||||
abstract ActualParameter |
newActualParameter(String name)
Creates a new ActualParameter object with the given name, and it adds it to the collection.
| ||||||||||
abstract ActualParameter |
newActualParameter(FormalParameter formalParam)
Creates a new ActualParameter object associated with the given formal parameter.
| ||||||||||
abstract void |
remove(int index)
Removes the ActualParameter object with the given index from the collection.
| ||||||||||
abstract void |
remove(String name)
Removes the ActualParameter object with the given name.
| ||||||||||
abstract void |
remove(FormalParameter formalParam)
Removes the ActualParameter object associated with the given formal parameter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Clears the actual parameters collection.
Retrieves a specific actual parameter at a given index in the collection.
index | of the object in collection. |
---|
ActualParameter
object in the collection with the given index.IndexOutOfBoundsException | thrown if the index is invalid. |
---|
Retrieves the actual parameter with the given name.
name | the name of the actual parameter. |
---|
ActualParameter
object with the given name.IllegalArgumentException | thrown if no actual parameter has the given name. |
---|
Retrieves the actual parameter associated with the given formal parameter.
formalParam | the FormalParameter associated with the actual parameter. |
---|
ActualParameter
object associated with the given formal parameter.IllegalArgumentException | thrown if no actual parameter is associated with the given formal parameter object. |
---|
This method is deprecated.
The name of the actual parameter is now used as the key therefore this enumeration will return
at most one value, the same as getActualParameter(String)
.
Returns an enumeration of ActualParameter objects with the specified actual parameter name.
name | the actual parameter name |
---|
IllegalArgumentException | thrown if the name does not exist |
---|
Returns an array of ActualParameter objects which matches the specified FormalParameter.
formalParam | a FormalParameter |
---|
IllegalArgumentException | if there is no such an ActualParameter matching the specified FormalParameter. |
---|
Returns the number of actual parameters in the collection.
Returns the number of actual parameters, whose name doesn't match a formal parameter.
Determines whether an actual parameter exists for a given formal parameter.
formalParameter | The FormalParameter who's actual you are looking for. |
---|
Creates a new ActualParameter object with the given name, and it adds it to the collection.
name | the name of the new ActualParameter object. |
---|
IllegalArgumentException | thrown if the name is null. |
---|
Creates a new ActualParameter object associated with the given formal parameter.
formalParam | the FormalParameter object the caller wants to associate the actual parameter with. |
---|
ActualParameter
object created.
IllegalArgumentException |
---|
Removes the ActualParameter object with the given index from the collection.
index | the index of the ActualParameter object in collection. |
---|
IndexOutOfBoundsException | thrown if the index is invalid. |
---|
Removes the ActualParameter object with the given name.
name | the name of the ActualParameter object. |
---|
IllegalArgumentException | thrown if no actual parameter has the given name. |
---|
Removes the ActualParameter object associated with the given formal parameter.
formalParam | the FormalParameter associated with the actual parameter. |
---|
IllegalArgumentException | thrown if no actual parameter is associated with the given formal parameter object. |
---|