public class OdiMeasure extends 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() |
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.
|
IRepositoryEntity |
getSecurityContainer() |
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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBigNumericId, getGlobalId, getNumericId
public 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)
IMeasure
public java.lang.String getName()
IModelObject
getName
in interface IModelObject
public void setDescription(java.lang.String pDescription)
IMeasure
setDescription
in interface IMeasure
pDescription
- The description for this measure.public java.lang.String getDescription()
IMeasure
getDescription
in interface IMeasure
public int getPosition()
IMeasure
getPosition
in interface IMeasure
public java.io.Serializable getInternalId()
public java.lang.Number getMeasureId()
public IRepositoryEntity getSecurityContainer()
public OdiDataType getDataType()
IMeasure
getDataType
in interface IMeasure
public void setDataType(OdiDataType pDataType)
IMeasure
setDataType
in interface IMeasure
pDataType
- the data type to set for this measure.public java.lang.Integer getSize()
IMeasure
public void setSize(java.lang.Integer pSize)
IMeasure
public java.lang.Integer getScale()
IMeasure
public void setScale(java.lang.Integer pScale)
IMeasure
public OdiCube getCube()
IMeasure
public OdiColumn getBoundColumn()
IMeasure
getBoundColumn
in interface IMeasure
public void setBoundColumn(OdiColumn pBoundColumn)
IMeasure
setBoundColumn
in interface IMeasure
pBoundColumn
- The bound column for this measure.