| java.lang.Object | |||
| ↳ | com.microstrategy.utils.config.AbstractConfigurationElement | ||
| ↳ | com.microstrategy.web.transform.AbstractStyleCatalogElement | ||
| ↳ | com.microstrategy.web.transform.ActualParameterImpl | ||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | ATT_NAME | ||||||||||
| String | ATT_ORDER | ||||||||||
| String | ATT_SOURCE | ||||||||||
| String | ATT_TYPE | ||||||||||
| String | ATT_VALUE | ||||||||||
| String | NODE_ACTUAL_PARAMETER | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.utils.config.AbstractConfigurationElement
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ActualParameterImpl() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getCatalogValue()
Returns the value of the actual parameter as registered in the
StyleCatalog object. | ||||||||||
| FormalParameter |
getFormalParam(Transform t)
Returns the formal parameter object of a supplied Transform that is
associated with the actual parameter.
| ||||||||||
| FormalParameter |
getFormalParam()
Returns the formal parameter object associated with the actual parameter.
| ||||||||||
| String |
getName()
Returns the name of the actual parameter object.
| ||||||||||
| int |
getOrder()
Returns the precedence of the actual parameter.
| ||||||||||
| String |
getSource()
Returns the source name to look up the
SourceLookup object
registered in the current StyleCatalog object. | ||||||||||
| int | getType() | ||||||||||
| Object |
getValue()
Returns the value of the actual parameter.
| ||||||||||
| Object |
getValue(StyleRequestContext context)
Returns the value of the actual parameter in the given context
| ||||||||||
| boolean |
hasValue(StyleRequestContext context)
Returns whether the actual parameter has a value based on the context.
| ||||||||||
| boolean |
hasValue()
Returns whether the actual parameter has a value.
| ||||||||||
| boolean |
isMatched()
Returns whether the name of the actual parameter matches a formal parameter and if its
value is valid for the corresponding formal parameter.
| ||||||||||
| boolean |
isMatched(StyleRequestContext context)
Returns whether the name of the actual parameter matches a formal parameter and if its
value is valid for the corresponding formal parameter in the given context.
| ||||||||||
| void |
setCatalogValue(String value)
Sets the value of the actual parameter to be saved in the
StyleCatalog object. | ||||||||||
| void |
setFormalParam(FormalParameter param)
Associates the formal parameter object with this actual parameter.
| ||||||||||
| void | setName(String value) | ||||||||||
| void |
setOrder(int order)
Sets a precedence to the actual parameter.
| ||||||||||
| void |
setSource(String source)
Sets the source name to look up the
SourceLookup object
registered in the current StyleCatalog object. | ||||||||||
| void |
setValue(Object value)
Sets the value of the actual parameter.
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
clearCaches()
This method is invoked whenever the structure of the style catalog has changed
and caches to other objects in the structure needs to be updated.
| ||||||||||
| String |
getKeyAttribute()
This method must return the attribute that uniquely identifies this element among its siblings;
if no single attribute can be used, return null and override the
getKey and
setKey methods. | ||||||||||
| TransformDefn | getTransformDefn() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.transform.AbstractStyleCatalogElement
| |||||||||||
From class
com.microstrategy.utils.config.AbstractConfigurationElement
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.utils.config.ConfigurationElement
| |||||||||||
From interface
com.microstrategy.utils.config.ConfigurationFile
| |||||||||||
From interface
com.microstrategy.web.transform.ActualParameter
| |||||||||||
Returns the value of the actual parameter as registered in the StyleCatalog object.
Returns the formal parameter object of a supplied Transform that is associated with the actual parameter.
| t | The Transform object to use for finding formal parameters. |
|---|
FormalParameter object associated with the acutal parameter.
Returns the formal parameter object associated with the actual parameter.
FormalParameter object associated with the acutal parameter.
Returns the name of the actual parameter object.
Returns the precedence of the actual parameter. This precedence is used to resolve which actual parameter to use if there are multiple actual parameters matching the same formal parameter. Higher this number, higher precedence.
Returns the source name to look up the SourceLookup object
registered in the current StyleCatalog object.
Returns the value of the actual parameter.
Returns the value of the actual parameter in the given context
Returns whether the actual parameter has a value based on the context.
Returns whether the actual parameter has a value.
Returns whether the name of the actual parameter matches a formal parameter and if its value is valid for the corresponding formal parameter.
Returns whether the name of the actual parameter matches a formal parameter and if its value is valid for the corresponding formal parameter in the given context.
Sets the value of the actual parameter to be saved in the StyleCatalog object.
| value | the value of the actual parameter. |
|---|
Associates the formal parameter object with this actual parameter.
| param | the FormalParameter object associated with this actual parameter. |
|---|
| IllegalArgumentException |
|---|
Sets a precedence to the actual parameter. This precedence is used to resolve which actual parameter to use if there are multiple actual parameters matching the same formal parameter. Higher this number, higher precedence.
| order | the precedence of the actual parameter. |
|---|
Sets the source name to look up the SourceLookup object
registered in the current StyleCatalog object.
| source | the source name to look up the SourceLookup object. |
|---|
Sets the value of the actual parameter.
| value | the value of the actual parameter. |
|---|
| IllegalArgumentException |
|---|
This method is invoked whenever the structure of the style catalog has changed and caches to other objects in the structure needs to be updated.
This method must return the attribute that uniquely identifies this element among its siblings;
if no single attribute can be used, return null and override the getKey and
setKey methods.