| java.lang.Object | |
| ↳ | com.microstrategy.web.transform.StyleMapperResultImpl |
This class represents a simple implementation of the StyleMapperResult interface.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
StyleMapperResultImpl(boolean conditionMet, String preferredStyleName)
Creates a new StyleMapperResultImpl object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getMappedStyleName()
Returns the preferred style name that was selected by the mapper, if the
conditions were met.
| ||||||||||
| void |
setMappedStyleName(String toStyle)
Sets the preferred style name to map to, if the conditions were met.
| ||||||||||
| void |
setWereConditionsMet(boolean conditionsMet)
Sets whether the conditions were successfully met or not.
| ||||||||||
| boolean |
wereConditionsMet()
Returns whether the conditions for performing the mapping were met or
not.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.web.transform.StyleMapperResult
| |||||||||||
Creates a new StyleMapperResultImpl object.
| conditionMet | Whether the conditions were met or not. |
|---|---|
| preferredStyleName | What the preferred style name should be. |
Returns the preferred style name that was selected by the mapper, if the conditions were met.
Sets the preferred style name to map to, if the conditions were met.
| toStyle | The preferred style name to map to, if the conditions were met. |
|---|
Sets whether the conditions were successfully met or not.
| conditionsMet | Whether the conditions were successfully met or not. |
|---|
Returns whether the conditions for performing the mapping were met or not.