The WebElement interface represents a single element. Generally, these objects are stored
in an WebElements object. This object is not directly instantiatable - it can only
be obtained from WebElements and WebTemplateUnit.
Retruns the Element ID ensuring that it is properly constructed with the following format;
"h1;8D679D4B11D3E4981000E787EC6DE8A4;Northeast" is an example.
Returns the key of this element, if it is part of a collection. If it is not
part of a WebElements collection, then this will be 0. A valid key will be
a positive integer.
Returns:
The current key of this element, or 0 if it is not in a collection.
Returns a String array of browse form values. Browse form values are used
in order to construct element's display name if the XML retrieved from
the Intelligence Server does not have display name for elements.
Returns underlying object to which this element belongs.
getRawValue
java.lang.String getRawValue()
Returns raw value if one is associated with this element
Returns:
String containing raw value of element
getLevel
int getLevel()
Returns element level. For non-recursive attributes this
value will always be 0.
Parameters:
value - element level
setLevel
void setLevel(int value)
setHasChildren
void setHasChildren(boolean value)
hasChildren
boolean hasChildren()
getParentElementID
java.lang.String getParentElementID()
Returns the ID of its parent element.
Returns:
The parent element ID.
setParentElementID
void setParentElementID(java.lang.String value)
isHidden
boolean isHidden()
setHidden
void setHidden(boolean value)
isExpanded
boolean isExpanded()
setExpanded
void setExpanded(boolean value)
setLeafNode
void setLeafNode(boolean value)
isLeafNode
boolean isLeafNode()
setParentElementIndex
void setParentElementIndex(int value)
getParentElementIndex
int getParentElementIndex()
getConstructedElementID
java.lang.String getConstructedElementID()
Retruns the Element ID ensuring that it is properly constructed with the following format;
"h1;8D679D4B11D3E4981000E787EC6DE8A4;Northeast" is an example.
It consists of ";;display name".
Returns:
getSemantics
int getSemantics()
Returns header's semantics if one is associated with the element.
getWeight
java.lang.String getWeight()
Returns weight value if one is associated with this element
Returns:
String containing weight value of element
isNullElement
boolean isNullElement()
Since:
MicroStrategy Web 9.3.2
getConsolidationID
java.lang.String getConsolidationID()
Returns the consolidation id if the element comes from a New DE.