Package com.microstrategy.web.beans
Interface TransformInstance
- 
 public interface TransformInstanceThis interface manages aTransformobject and its associatedMarkupOutputobject. This enables the caller to determine which transform is the "default" one and to associate a unique name for eachTransformobject.A TransformInstancemay possibly have no key or a null key associated with it. If such aTransformInstanceobject is neither the default transform, it becomes unreachable in the sense that it can not be retrieved from the collection of transforms.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetKey()Returns the key associated with this instance.TransformgetTransform()Returns theTransforminstance held by this instance.booleanisDefault()Determines whether this instance is the default TransformInstance.voidsetDefault(boolean def)Sets the flag that determines whether the current instance is the default TransformInstance.voidsetFormalParameter(java.lang.String name, java.lang.String value)Convenience method to set a formal parameter.voidsetKey(java.lang.String key)Sets a new key to this instance.
 
- 
- 
- 
Method Detail- 
isDefaultboolean isDefault() Determines whether this instance is the default TransformInstance. Only one TransformInstance could be the default one.- Returns:
- true if this is the default TransformInstance.
 
 - 
setDefaultvoid setDefault(boolean def) Sets the flag that determines whether the current instance is the default TransformInstance. Only one TransformInstance could be the default one.- Parameters:
- def- a boolean value indicating default or not.
 
 - 
getKeyjava.lang.String getKey() Returns the key associated with this instance. Null key is generally not allowed. ATransformInstancewith no key, neither is it the default transform, becomes unreachable from the collection of transforms.- Returns:
- the key associated with this instance.
 
 - 
setKeyvoid setKey(java.lang.String key) throws KeyAlreadyExistsExceptionSets a new key to this instance. Null key is generally not allowed. ATransformInstancewith no key, neither is it the default transform, becomes unreachable from the collection of transforms.- Parameters:
- key- a new key to associate with
- Throws:
- KeyAlreadyExistsException- thrown if the key already exists.
 
 - 
getTransformTransform getTransform() Returns theTransforminstance held by this instance.- Returns:
- the Transforminstance
 
 - 
setFormalParametervoid setFormalParameter(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentExceptionConvenience method to set a formal parameter. - Parameters:
- name- name of the formal parameter
- value- new value of the formal parameter
- Throws:
- java.lang.IllegalArgumentException- thrown if the formal parameter by the given name does not exist
- Since:
- MicroStrategy Web 8.0.0
 
 
- 
 
-