com.microstrategy.web.objects.WebParsedMetric |
This interface represents a metric resulted from parsing by backend. The main part is a token stream, and it may also contain a symbol folder used for resolving naming ambiguity.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
canBeSmart()
Returns a boolean value indicating whether this metric can be set to smart.
| ||||||||||
abstract int |
getAggregateFromBase()
Returns an integer indicating what Aggregated From Base is for a derived metric.
| ||||||||||
abstract int |
getAllChildrenJoin()
Returns an integer value from
EnumDSSXMLOuterJoinTypes
indicating the outer join type of this metric. | ||||||||||
abstract WebDataType |
getDataType()
Gets the data type for this metric.
| ||||||||||
abstract int |
getDecomposable()
Returns an integer value from
EnumDSSXMLDecomposable
indicating whether this metric is decomposable. | ||||||||||
abstract String |
getDescription()
Get the description of this metric.
| ||||||||||
abstract int |
getFromBaseFlag()
Returns an integer indicating what DerivedMetricDynamicAggAndSubtotal value is set on a derived metric.
| ||||||||||
abstract WebFormat |
getGridFormat()
Returns the
WebFormat object for the values/data of the metric object. | ||||||||||
abstract WebFormat |
getHeaderFormat()
Returns the
WebFormat object for the header of the metric object. | ||||||||||
abstract String |
getID()
Get the DSS id of the metric.
| ||||||||||
abstract WebFolder |
getLocalSymbolFolder()
Get the local symbol folder for this token stream.
| ||||||||||
abstract String |
getMessageID()
Return the Report or RW message ID associated with this WebParsedMetric object.
| ||||||||||
abstract String |
getMetricEditType()
Return the metric edit type
EnumDSSXMLMetricEditType generated by backend parser for the token stream. | ||||||||||
abstract int |
getMetricType()
Returns an integer value from
EnumDSSXMLMetricType
indicating the metric type. | ||||||||||
abstract String |
getName()
Get the name of this metric.
| ||||||||||
abstract WebPropertyGroup |
getPropertySets()
Gets the property sets associated with this metric.
| ||||||||||
abstract int |
getRejectErrorCode()
Returns the reject error code generated by backend parser for the token stream.
| ||||||||||
abstract String |
getRejectErrorDescription()
Returns the reject error description generated by backend parser for the token stream.
| ||||||||||
abstract WebFolder |
getSearchResultsFolder()
Get the search results folder for this token stream.
| ||||||||||
abstract int |
getSubType()
Get the subType of this metric.
| ||||||||||
abstract int |
getSubtotalFromBase()
Returns an integer indicating what Subtotal From Base is for a derived metric.
| ||||||||||
abstract List<WebMetricSubtotal> |
getSubtotals()
Gets the subtotals for this metric.
| ||||||||||
abstract WebTokenStream |
getTokenStream()
Get the token stream for this metric.
| ||||||||||
abstract int |
getType()
Get the type of this object.
| ||||||||||
abstract void |
load(int parserOutFlags)
Load the token stream for this metric from backend.
| ||||||||||
abstract void |
save(int parserOutFlags)
Save the metric.
| ||||||||||
abstract void |
saveAs(String folderID, boolean isOverwrite, int parserOutFlags)
Save the metric as a new metric.
| ||||||||||
abstract void |
setAggregateFromBase(int aggregateFromBase)
Set Aggregated From Base for a derived metric.
| ||||||||||
abstract void |
setAllChildrenJoin(int allChildrenJoinType)
Set the value of all children join type.
| ||||||||||
abstract void |
setDecomposable(int decomposable)
Set the value of the decomposable type, value from
EnumDSSXMLDecomposable . | ||||||||||
abstract void |
setDescription(String desc)
Set the description of this metric.
| ||||||||||
abstract void |
setFormId(String formId)
Set the form id of the parsed object
| ||||||||||
abstract void |
setFromBaseFlag(int fromBaseFlag)
Set DerivedMetricDynamicAggAndSubtotal value for a derived metric.
| ||||||||||
abstract void |
setIsIDForm(boolean isIDForm)
Set whether the form is an ID form.
| ||||||||||
abstract void |
setMessageID(String mid)
Set Report or RW message ID which will be passed to xmlCommand "pm" to support Derived Metric object.
| ||||||||||
abstract void |
setMetricEditType(String met)
Set the metric edit type
EnumDSSXMLMetricEditType | ||||||||||
abstract void |
setMetricType(int metricType)
Set the metric type, value from
EnumDSSXMLMetricType . | ||||||||||
abstract void |
setName(String name)
Set the name of this metric.
| ||||||||||
abstract void |
setNew(boolean isNew)
Set whether it is a new metric or saved one.
| ||||||||||
abstract void |
setSubtotalFromBase(int subtotalFromBase)
Set Subtotal From Base (i.e.
| ||||||||||
abstract void |
setType(int type)
Set the type of this object.
| ||||||||||
abstract void |
validate(int parserOutFlags)
Validate the metric.
|
Returns a boolean value indicating whether this metric can be set to smart.
Returns an integer indicating what Aggregated From Base is for a derived metric.
Returns an integer value from EnumDSSXMLOuterJoinTypes
indicating the outer join type of this metric.
Returns an integer value from EnumDSSXMLDecomposable
indicating whether this metric is decomposable.
Get the description of this metric.
Returns an integer indicating what DerivedMetricDynamicAggAndSubtotal value is set on a derived metric.
Returns the WebFormat
object for the values/data of the metric object.
Returns the WebFormat
object for the header of the metric object.
Get the DSS id of the metric.
Get the local symbol folder for this token stream.
Return the Report or RW message ID associated with this WebParsedMetric object.
Return the metric edit type EnumDSSXMLMetricEditType
generated by backend parser for the token stream.
Returns an integer value from EnumDSSXMLMetricType
indicating the metric type.
Get the name of this metric.
Gets the property sets associated with this metric.
WebPropertyGroup
object, which contains the property sets associated
with this metric.
Returns the reject error code generated by backend parser for the token stream.
Returns the reject error description generated by backend parser for the token stream.
Get the search results folder for this token stream.
Get the subType of this metric.
Returns an integer indicating what Subtotal From Base is for a derived metric.
Gets the subtotals for this metric.
WebMetricSubtotal
objects for this metric.
Get the token stream for this metric.
Get the type of this object.
Load the token stream for this metric from backend.
parserOutFlags | values from EnumDSSXMLParserOutFlags |
---|
WebObjectsException |
---|
Save the metric.
parserOutFlags | values from EnumDSSXMLParserOutFlags |
---|
WebObjectsException |
---|
Save the metric as a new metric.
folderID | in which folder the metric should be saved |
---|---|
isOverwrite | whether to overwrite the existing metric |
parserOutFlags | values from EnumDSSXMLParserOutFlags
|
WebObjectsException |
---|
Set Aggregated From Base for a derived metric.
Set the value of all children join type. Value from EnumDSSXMLOuterJoinTypes
l
Set the value of the decomposable type, value from EnumDSSXMLDecomposable
.
Set the description of this metric.
Set the form id of the parsed object
Set DerivedMetricDynamicAggAndSubtotal value for a derived metric.
Set whether the form is an ID form.
Set Report or RW message ID which will be passed to xmlCommand "pm" to support Derived Metric object.
Set the metric edit type EnumDSSXMLMetricEditType
met | metric edit type |
---|
Set the metric type, value from EnumDSSXMLMetricType
.
Set the name of this metric.
Set whether it is a new metric or saved one.
Set Subtotal From Base (i.e. AggreateFromBaseStyle) for a derived metric.
Set the type of this object.
Validate the metric.
parserOutFlags | values from EnumDSSXMLParserOutFlags |
---|
WebObjectsException |
---|