Package com.microstrategy.web.objects
Interface WebDerivedElement
-
- All Superinterfaces:
EnumWebPersistableState,KeyedObject,Persistable,WebDisplayUnit,WebFeatures,WebObjectInfo,WebPromptSite
public interface WebDerivedElement extends WebObjectInfo, Persistable
This interface represents a Derived Element object.- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static intUSAGE_SORT-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearParentElement()intgetAggregationMode()Returns the aggregation mode value that controls how the parent's value is calculated.booleangetApplyToAllOthers()Indicates whether the leaves of the element should be considered when calculating the Residue (Other) element.WebAttributegetAttribute()Returns the Derived Element's attributeWebOperatorNodegetCalculationNode()Returns the operator node for Calculation Derived Elementjava.lang.StringgetDeltaXml()java.lang.StringgetDeltaXml(boolean isNewDE)intgetElementType()Returns Derived Element typeintgetElementType(WebExpression expr)Determins the Derived Element Type for a given expression.WebExpressiongetExpression()Returns the Derived Element expression.WebTokenStreamgetExpressionTokenStream()WebFormat[]getFormats()Returns collection of derived element formats.WebElementsObjectNodegetListNode()Returns the Elements node for List Derived ElementsWebElementgetParentElement()java.lang.StringgetPassThroughExpression()Returns the pass-through expression string of the DEbooleangetShowChildren()Returns value of the Show Children flag.booleangetShowParent()Returns value of the Show Parent flag.intgetUsage()booleanisDormant()booleanisSmart()Indicates whether the derived element's value comes from data source such as subsetting or query engine, or it should be calculated by Analytical Engine.booleanisVisible()Returns the value of the Visible flag.voidsetAggregationMode(int value)Sets aggregation modevoidsetApplyToAllOthers(boolean value)Sets the ApplyToAllOthers flag valuevoidsetAttribute(WebAttribute value)Sets the Derived Element's attributevoidsetExpressionTokenStream(WebTokenStream tokenStream)voidsetGenerateDeltaByTokenStream(boolean value)voidsetIsSmart(boolean value)Sets the is smart flag valuevoidsetParentElement(java.lang.String id, java.lang.String name)voidsetPassThroughExpression(java.lang.String passThroughExpression)voidsetShowChildren(boolean value)Sets value of the Show Children flag.voidsetShowParent(boolean value)Sets value of the Show Parent flagvoidsetUsage(int value)voidsetVisible(boolean value)Sets value of the Visible flag.-
Methods inherited from interface com.microstrategy.utils.KeyedObject
_getObKey
-
Methods inherited from interface com.microstrategy.utils.serialization.Persistable
restoreState, restoreState, saveState, saveState, saveState, saveState
-
Methods inherited from interface com.microstrategy.web.objects.WebDisplayUnit
addDetails, applyVisitor, canHighlight, getChildUnits, getDisplayName, getDisplayUnitType, hasDetails, highlightUnit, highlightUnit, isHighlighted, isObjectInfo, isSelected, setDisplayName, setSelected
-
Methods inherited from interface com.microstrategy.web.objects.WebFeatures
isFeatureAvailable, isFeatureAvailable
-
Methods inherited from interface com.microstrategy.web.objects.WebObjectInfo
buildShortObjectAttributes, buildShortXML, getAbbreviation, getAccessGranted, getAncestors, getCardStatus, getCertifiedInfo, getComments, getContainerDid, getContainerType, getCreationTime, getCreationTimeStamp, getDataSources, getDefaultLanguage, getDescription, getExtendedType, getFactory, getFlags, getIconPath, getID, getModificationTime, getModificationTimeStamp, getName, getNonSchedulable, getOtherNameTransCount, getOwner, getParent, getPreSaveAsFlags, getProjectId, getProjectName, getPropertyFlags, getPropertySetFilter, getPropertySets, getRecommendationInfo, getSecurity, getState, getSubType, getTemplateInfo, getType, getVersionID, getViewMediaSettings, getVisualizationViewMode, getXML, getXML, hasOwner, isAncestorNamedFolder, isDirty, isEmbedded, isHidden, isNew, isPopulated, populate, populate, setAbbreviation, setComments, setDataSources, setDefaultLanguage, setDescription, setExtendedType, setFlags, setHidden, setIconPath, setName, setNonSchedulable, setPreSaveAsFlags, setPropertyFlags
-
Methods inherited from interface com.microstrategy.web.objects.WebPromptSite
getPromptInstances
-
-
-
-
Field Detail
-
USAGE_SORT
static final int USAGE_SORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getExpression
WebExpression getExpression()
Returns the Derived Element expression.- Returns:
- the Derived Element expression.
-
getPassThroughExpression
java.lang.String getPassThroughExpression()
Returns the pass-through expression string of the DE- Returns:
- the pass-through expression string of the DE
-
setPassThroughExpression
void setPassThroughExpression(java.lang.String passThroughExpression)
-
getAttribute
WebAttribute getAttribute()
Returns the Derived Element's attribute- Returns:
- the Derived Element's attribute
-
setAttribute
void setAttribute(WebAttribute value)
Sets the Derived Element's attribute- Parameters:
value- attribute object
-
getListNode
WebElementsObjectNode getListNode()
Returns the Elements node for List Derived Elements- Returns:
- the Elements node.
-
getCalculationNode
WebOperatorNode getCalculationNode()
Returns the operator node for Calculation Derived Element- Returns:
- the operator node for Calculation Derived Element
-
getElementType
int getElementType()
Returns Derived Element type- Returns:
- Derived Element type
-
getElementType
int getElementType(WebExpression expr)
Determins the Derived Element Type for a given expression.- Parameters:
expr- expression- Returns:
- Derived Element type.
-
getShowChildren
boolean getShowChildren()
Returns value of the Show Children flag.- Returns:
- value of the Show Children flag.
-
setShowChildren
void setShowChildren(boolean value)
Sets value of the Show Children flag.- Parameters:
value- value
-
getShowParent
boolean getShowParent()
Returns value of the Show Parent flag.- Returns:
- value of the Show Parent flag.
-
setShowParent
void setShowParent(boolean value)
Sets value of the Show Parent flag- Parameters:
value- value
-
getFormats
WebFormat[] getFormats()
Returns collection of derived element formats.- Returns:
- collection of derived element formats.
-
isVisible
boolean isVisible()
Returns the value of the Visible flag.- Returns:
- the value of the Visible flag.
-
setVisible
void setVisible(boolean value)
Sets value of the Visible flag.- Parameters:
value- value
-
isSmart
boolean isSmart()
Indicates whether the derived element's value comes from data source such as subsetting or query engine, or it should be calculated by Analytical Engine.- Returns:
- true if element is smart
-
setIsSmart
void setIsSmart(boolean value)
Sets the is smart flag value- Parameters:
value-
-
getAggregationMode
int getAggregationMode()
Returns the aggregation mode value that controls how the parent's value is calculated.- Returns:
- aggregation mode
- See Also:
EnumDSSXMLAggregation
-
setAggregationMode
void setAggregationMode(int value)
Sets aggregation mode- Parameters:
value-
-
getApplyToAllOthers
boolean getApplyToAllOthers()
Indicates whether the leaves of the element should be considered when calculating the Residue (Other) element.- Returns:
- true if the leaves of the element should be considered when calculating the Residue (Other) element.
-
setApplyToAllOthers
void setApplyToAllOthers(boolean value)
Sets the ApplyToAllOthers flag value- Parameters:
value-
-
getDeltaXml
java.lang.String getDeltaXml()
-
getDeltaXml
java.lang.String getDeltaXml(boolean isNewDE)
-
isDormant
boolean isDormant()
-
setUsage
void setUsage(int value)
-
getUsage
int getUsage()
-
getExpressionTokenStream
WebTokenStream getExpressionTokenStream()
-
setExpressionTokenStream
void setExpressionTokenStream(WebTokenStream tokenStream)
-
setGenerateDeltaByTokenStream
void setGenerateDeltaByTokenStream(boolean value)
-
setParentElement
void setParentElement(java.lang.String id, java.lang.String name)
-
getParentElement
WebElement getParentElement()
-
clearParentElement
void clearParentElement()
-
-