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 theWebNode
interface, which this one extends.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getFunction()
Returns the function being used in the node.int
getFunctionType()
Returns the function type of the node.int
getNodeProperty()
DE86283: The security filter expression for cube with MDX-RA(recursive attribute) need "nodeProperty" value in WebOperatorNode.java.lang.String
getPropertyString()
Returns an XML string representing the properties of this operator node.void
setApplyOrder(int order)
set the apply_order attribute on the operator nodevoid
setFunction(int function)
Sets the function being used in the operator node.-
Methods inherited from interface com.microstrategy.web.objects.WebNode
appendChild, 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.WebPromptableNode
containsNonSystemPrompts
-
Methods inherited from interface com.microstrategy.web.objects.WebPromptSite
getPromptInstances
-
-
-
-
Method Detail
-
getFunctionType
int getFunctionType()
Returns the function type of the node.- Returns:
- The function type of the operator node, from
EnumWebFunctionType
.
-
getFunction
int getFunction()
Returns the function being used in the node.- Returns:
- The function of an operator node, from
EnumDSSXMLFunction
, orEnumWebMRPFunction
in the case of rank or percent nodes. - See Also:
setFunction(int)
-
setFunction
void setFunction(int function) throws java.lang.IllegalArgumentException
Sets the function being used in the operator node.- Parameters:
function
- The function to use, fromEnumDSSXMLFunction
( orEnumWebMRPFunction
in the case of rank or percent nodes).- Throws:
java.lang.IllegalArgumentException
- Thrown if the function passed is invalid.- See Also:
getFunction()
-
getPropertyString
java.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
-
getNodeProperty
int 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
-
setApplyOrder
void setApplyOrder(int order)
set the apply_order attribute on the operator node- Parameters:
order
-
-
-