com.businessobjects.datasource
Interface Measure

All Superinterfaces:
DataSourceObject

public interface Measure
extends DataSourceObject

The Measure interface represents a measure object in the universe. You can use a measure object as a query result,query condition, or query scope object in a query.

The DataSourceSpecification for a universe contains zero or more DataSourceClass instances. Each of these DataSourceClass instances contains zero or more instances of objects that inherit from the DataSourceObject interface. Essentially, this means that the DataSourceClass instances in a given DataSourceSpecification contain Detail, Dimension, Measure, and PreConditionObject instances that can be used to construct a query.

See DataSourceObject for information about how to find Measure instances in a DataSourceSpecification.

After you obtain the keys for the Measure instances in a DataSourceSpecification, add the keys for the objects that you want to include in your query to QueryObject instances. See QueryObject for details about how to include a Measure object in a query.

Note: The QuerySpecification interface is the root interface for a query. It contains CombinedQuery instances which, in turn, contain Query instances (which then contain QueryObject instances).

See Also:
DataSourceObject, DataSourceSpecification, QueryObject, Query

Nested Class Summary
static class Measure.Factory
          A class with methods for creating instances of the Measure type.
 
Field Summary
static org.apache.xmlbeans.SchemaType type
          Internal Use Only.
 
Method Summary
 boolean getHasLov()
           Returns true, if the Measure instance has a list of values, otherwise false.
 ObjectType.Enum getType()
           Gets the type of the Measure instance as an ObjectType (such as a date, numeric, text etc).
 void setHasLov(boolean hasLov)
          Internal Use Only.
 void setType(ObjectType.Enum type)
          Internal Use Only.
 org.apache.xmlbeans.XmlBoolean xgetHasLov()
          Internal Use Only.
 ObjectType xgetType()
          Internal Use Only.
 void xsetHasLov(org.apache.xmlbeans.XmlBoolean hasLov)
          Internal Use Only.
 void xsetType(ObjectType type)
          Internal Use Only.
 
Methods inherited from interface com.businessobjects.datasource.DataSourceObject
getAllowedInFilter, getAllowedInResult, getAllowedInSort, getDescription, getHasDelegatedLov, getKey, getName, setAllowedInFilter, setAllowedInResult, setAllowedInSort, setDescription, setHasDelegatedLov, setKey, setName, xgetAllowedInFilter, xgetAllowedInResult, xgetAllowedInSort, xgetDescription, xgetHasDelegatedLov, xgetKey, xgetName, xsetAllowedInFilter, xsetAllowedInResult, xsetAllowedInSort, xsetDescription, xsetHasDelegatedLov, xsetKey, xsetName
 

Field Detail

type

static final org.apache.xmlbeans.SchemaType type

Internal Use Only.

Method Detail

getType

ObjectType.Enum getType()

Gets the type of the Measure instance as an ObjectType (such as a date, numeric, text etc).

Returns:
The type of the Measure instance as an ObjectType

xgetType

ObjectType xgetType()

Internal Use Only.


setType

void setType(ObjectType.Enum type)

Internal Use Only.


xsetType

void xsetType(ObjectType type)

Internal Use Only.


getHasLov

boolean getHasLov()

Returns true, if the Measure instance has a list of values, otherwise false.

Returns:
true, if the Measure instance has a list of values, otherwise false.

xgetHasLov

org.apache.xmlbeans.XmlBoolean xgetHasLov()

Internal Use Only.


setHasLov

void setHasLov(boolean hasLov)

Internal Use Only.


xsetHasLov

void xsetHasLov(org.apache.xmlbeans.XmlBoolean hasLov)

Internal Use Only.