public class OdiMeasure extends oracle.odi.domain.support.AbstractRepositoryEntity implements IMeasure
| Constructor and Description |
|---|
OdiMeasure(OdiCube pCube,
java.lang.String pName)
OdiMeasure constructor.
|
OdiMeasure(OdiCube pCube,
java.lang.String pName,
OdiDataType pDataType)
OdiMeasure constructor.
|
OdiMeasure(OdiCube pCube,
java.lang.String pName,
OdiDataType pDataType,
java.lang.Integer pLength)
OdiMeasure constructor.
|
OdiMeasure(OdiCube pCube,
java.lang.String pName,
OdiDataType pDataType,
java.lang.Integer pLength,
java.lang.Integer pScale)
OdiMeasure constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OdiColumn |
getBoundColumn()
Get the bound column for this measure.
|
OdiCube |
getCube()
Get the owning cube of this measure.
|
OdiDataType |
getDataType()
Get the data type that is associated with this measure.
|
java.lang.String |
getDescription()
Get the description of this measure
|
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
java.lang.Number |
getMeasureId()
Returns the internal identifier of this measure.
|
java.lang.String |
getName()
Gets the name of this model object.
|
int |
getPosition()
Get the position of this measure in its owning cube.
|
java.lang.Integer |
getScale()
Get the scale of this measure.
|
java.lang.Integer |
getSize()
Get the the size (length or precision) of this measure.
|
void |
setBoundColumn(OdiColumn pBoundColumn)
Set the bound column for this measure.
|
void |
setDataType(OdiDataType pDataType)
Set the data type that is associated with this measure.
|
void |
setDescription(java.lang.String pDescription)
Set the description for this measure.
|
void |
setName(java.lang.String pName)
Set the name for this measure.
|
void |
setScale(java.lang.Integer pScale)
Set the scale for this measure.
|
void |
setSize(java.lang.Integer pSize)
Set the size for this measure.
|
equals, getBigNumericId, getGlobalId, getNumericId, getParent, hashCode, toStringgetBigNumericId, getGlobalId, getNumericIdpublic OdiMeasure(OdiCube pCube, java.lang.String pName)
pCube - The owning cube for this measure. It cannot be null.pName - The name of the measure.public OdiMeasure(OdiCube pCube, java.lang.String pName, OdiDataType pDataType)
pCube - The owning cube for this measure. It cannot be null.pName - The name of the measure.pDataType - The measure data type. It must be a data type owned by the
generic technology.public OdiMeasure(OdiCube pCube, java.lang.String pName, OdiDataType pDataType, java.lang.Integer pLength)
pCube - The owning cube for this measure. It cannot be null.pName - The name of the measure.pDataType - The measure data type. It must be a data type owned by the
generic technology.pLength - The data length/precision or size for the measure. It can be
set to null if size is not applicable for the data type.public OdiMeasure(OdiCube pCube, java.lang.String pName, OdiDataType pDataType, java.lang.Integer pLength, java.lang.Integer pScale)
pCube - The owning cube for this measure. It cannot be null.pName - The name of the measure.pDataType - The measure data type. It must be a data type owned by the
generic technology.pLength - The data length/precision or size for the measure. It can be
set to null if size is not applicable for the data type.pScale - The data scale for the measure. It can be set to null if scale
is not applicable for the data type.public void setName(java.lang.String pName)
IMeasurepublic java.lang.String getName()
IModelObjectgetName in interface IModelObjectpublic void setDescription(java.lang.String pDescription)
IMeasuresetDescription in interface IMeasurepDescription - The description for this measure.public java.lang.String getDescription()
IMeasuregetDescription in interface IMeasurepublic int getPosition()
IMeasuregetPosition in interface IMeasurepublic java.io.Serializable getInternalId()
IRepositoryEntity
Typically a subclass will delegate to a public
SomePrimitiveWrapper getId() method. The necessity for the
getInternalId() abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.
Returning null from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.
getInternalId in interface IRepositoryEntitypublic java.lang.Number getMeasureId()
public OdiDataType getDataType()
IMeasuregetDataType in interface IMeasurepublic void setDataType(OdiDataType pDataType)
IMeasuresetDataType in interface IMeasurepDataType - the data type to set for this measure.public java.lang.Integer getSize()
IMeasurepublic void setSize(java.lang.Integer pSize)
IMeasurepublic java.lang.Integer getScale()
IMeasurepublic void setScale(java.lang.Integer pScale)
IMeasurepublic OdiCube getCube()
IMeasurepublic OdiColumn getBoundColumn()
IMeasuregetBoundColumn in interface IMeasurepublic void setBoundColumn(OdiColumn pBoundColumn)
IMeasuresetBoundColumn in interface IMeasurepBoundColumn - The bound column for this measure.