Package com.microstrategy.web.objects
Interface WebOperatorNode
- 
- All Superinterfaces:
- WebNode,- WebPromptableNode,- WebPromptSite
 
 public interface WebOperatorNode extends WebPromptableNode The WebOperatorNode interface represents an operator node within an expression. This interface contains methods specific to an operator node. For methods which apply to all nodes, see theWebNodeinterface, which this one extends.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetFunction()Returns the function being used in the node.intgetFunctionType()Returns the function type of the node.intgetNodeProperty()DE86283: The security filter expression for cube with MDX-RA(recursive attribute) need "nodeProperty" value in WebOperatorNode.java.lang.StringgetPropertyString()Returns an XML string representing the properties of this operator node.voidsetApplyOrder(int order)set the apply_order attribute on the operator nodevoidsetFunction(int function)Sets the function being used in the operator node.- 
Methods inherited from interface com.microstrategy.web.objects.WebNodeappendChild, clear, clearPlaceHolder, containsPrompts, createPlaceHolder, getCanExpand, getChild, getChildCount, getDataType, getDimensionality, getDimensionalityType, getDisplayName, getExpressionType, getFirstChild, getIsIndependentCSI, getIsSpliced, getKey, getLastChild, getNextSibling, getNodeType, getParent, getPlaceHolder, getPreviousSibling, getShortXML, getTag, getUCFlag, hasChildNodes, hasPlaceHolder, insertAfter, insertBefore, isCancelledPrompt, removeChild, replaceChild, setCanExpand, setDataType, setDimensionalityType, setDisplayName, setExpressionType, setIsIndependentCSI, setIsSpliced, setTag, setUCFlag
 - 
Methods inherited from interface com.microstrategy.web.objects.WebPromptSitegetPromptInstances
 
- 
 
- 
- 
- 
Method Detail- 
getFunctionTypeint getFunctionType() Returns the function type of the node.- Returns:
- The function type of the operator node, from EnumWebFunctionType.
 
 - 
getFunctionint getFunction() Returns the function being used in the node.- Returns:
- The function of an operator node, from EnumDSSXMLFunction, orEnumWebMRPFunctionin the case of rank or percent nodes.
- See Also:
- setFunction(int)
 
 - 
setFunctionvoid setFunction(int function) throws java.lang.IllegalArgumentExceptionSets the function being used in the operator node.- Parameters:
- function- The function to use, from- EnumDSSXMLFunction( or- EnumWebMRPFunctionin the case of rank or percent nodes).
- Throws:
- java.lang.IllegalArgumentException- Thrown if the function passed is invalid.
- See Also:
- getFunction()
 
 - 
getPropertyStringjava.lang.String getPropertyString() Returns an XML string representing the properties of this operator node. This string is empty for operator whose function is NOT (@link EnumDSSXMLFunction#DssXmlFunctionRank}. When its function is (@link EnumDSSXMLFunction#DssXmlFunctionRank}, these properties will be used to carry more information about this operator. Basically there are two properties, one of index 4, one of index 5. The index 5 property will determine whether this operator is really a Rank operator or a Percentage operator. If this string contains "", then it is a Percentage operator. The index 4 property can determine the actual function, for example whether it is TOP function or a BOTTOM function. - Returns:
- The XML string of properties.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
getNodePropertyint getNodeProperty() DE86283: The security filter expression for cube with MDX-RA(recursive attribute) need "nodeProperty" value in WebOperatorNode. and the "nodeProperty" for MDX-RA will be 1 or 2 which is not default value, and if "nodeProperty" with default value will be not returned in long xml from IServer Return nodeProperty which is named "node" in expression long XML which used for interacting with IServer, for example:... ... - Returns:
- node property
 
 - 
setApplyOrdervoid setApplyOrder(int order) set the apply_order attribute on the operator node- Parameters:
- order-
 
 
- 
 
-