com.businessobjects.datasource
Class Measure

java.lang.Object
  extended bycom.businessobjects.datasource.DataSourceObject
      extended bycom.businessobjects.datasource.Measure
All Implemented Interfaces:
java.io.Serializable

public class Measure
extends DataSourceObject
implements java.io.Serializable

The Measure class 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 class. 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 class is the root class for a query. It contains CombinedQuery instances which, in turn, contain Query instances (which then contain QueryObject instances).

See Also:
DataSourceObject, DataSourceSpecification, QueryObject, Query, Serialized Form

Constructor Summary
Measure()
          Instantiate a new blank Measure object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Internal Use Only.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Internal Use Only.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Internal Use Only.
 ObjectType getType()
           Gets the type of the Measure instance as an ObjectType (such as a date, numeric, text etc).
static org.apache.axis.description.TypeDesc getTypeDesc()
          Internal Use Only.
 int hashCode()
          Internal Use Only.
 boolean isHasLov()
           true if the Measure instance has a list of values, otherwise false.
 void setHasLov(boolean hasLov)
          Internal Use Only.
 void setType(ObjectType type)
          Internal Use Only.
 
Methods inherited from class com.businessobjects.datasource.DataSourceObject
getDescription, getKey, getName, setDescription, setKey, setName
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Measure

public Measure()
Instantiate a new blank Measure object.

Method Detail

getType

public ObjectType 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

setType

public void setType(ObjectType type)

Internal Use Only.


isHasLov

public boolean isHasLov()

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

setHasLov

public void setHasLov(boolean hasLov)

Internal Use Only.


equals

public boolean equals(java.lang.Object obj)

Internal Use Only.

Overrides:
equals in class DataSourceObject

hashCode

public int hashCode()

Internal Use Only.

Overrides:
hashCode in class DataSourceObject

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()

Internal Use Only.


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)

Internal Use Only.


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)

Internal Use Only.