public class OdiCubeUsesDimension extends oracle.odi.domain.support.AbstractRepositoryEntity implements ICubeUsesDimension
Constructor and Description |
---|
OdiCubeUsesDimension(OdiCube pCube)
Cube uses dimension constructor.
|
OdiCubeUsesDimension(OdiCube pCube,
OdiLevel pLevel)
Cube uses dimension constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addKeyPartUse(OdiKeyPartUse pKeyPartUse)
Add the key part use into this cube uses dimension.
|
OdiKeyPartUse |
findKeyPartUse(java.lang.String pLevelAttributeName)
Find the key part use with the specified level attribute name.
|
OdiCube |
getCube()
Get the owning cube of this cube uses dimension.
|
java.lang.Number |
getCubeUsesDimensionId()
Returns the internal identifier of this cube uses dimension.
|
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.util.List |
getKeyPartUses()
Get a list of key part uses owned by this cube uses dimension.
|
OdiLevel |
getLevel()
Get the dimension level that is referenced by this cube uses dimension.
|
java.util.List |
getOrderedKeyPartUses()
Get a sorted list of key part uses owned by this cube uses dimension.
|
int |
getPosition()
Get the position of this cube uses dimension.
|
java.lang.String |
getRole()
Get the role name of this cube uses dimension.
|
void |
removeKeyPartUse(OdiKeyPartUse pKeyPartUse)
Remove a key part use from this cube uses dimension.
|
void |
setLevel(OdiLevel pLevel)
Set the dimension level that is referenced by this cube uses dimension.
|
void |
setRole(java.lang.String pRole)
Set the role name for this cube uses dimension.
|
public OdiCubeUsesDimension(OdiCube pCube)
pCube
- The cube that will contain the new cube uses dimension.public OdiCubeUsesDimension(OdiCube pCube, OdiLevel pLevel)
pCube
- The cube that will contain the new cube uses dimension.pLevel
- The dimension level that is referenced by this cube uses
dimension.public void setRole(java.lang.String pRole)
ICubeUsesDimension
setRole
in interface ICubeUsesDimension
pRole
- The role name to be set.public java.lang.String getRole()
ICubeUsesDimension
getRole
in interface ICubeUsesDimension
public int getPosition()
ICubeUsesDimension
getPosition
in interface ICubeUsesDimension
public 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 IRepositoryEntity
public java.lang.Number getCubeUsesDimensionId()
public OdiCube getCube()
ICubeUsesDimension
getCube
in interface ICubeUsesDimension
public OdiLevel getLevel()
ICubeUsesDimension
getLevel
in interface ICubeUsesDimension
public void setLevel(OdiLevel pLevel)
ICubeUsesDimension
setLevel
in interface ICubeUsesDimension
pLevel
- The referenced dimension level.public OdiKeyPartUse findKeyPartUse(java.lang.String pLevelAttributeName)
ICubeUsesDimension
findKeyPartUse
in interface ICubeUsesDimension
pLevelAttributeName
- The surrogate key attribute name if the surrogate key of the
level is linked with the key part use or the natural key
attribute name if the natural key of the level is linked with
the key part use.public java.util.List getKeyPartUses()
ICubeUsesDimension
getKeyPartUses
in interface ICubeUsesDimension
public java.util.List getOrderedKeyPartUses()
ICubeUsesDimension
getOrderedKeyPartUses
in interface ICubeUsesDimension
public void addKeyPartUse(OdiKeyPartUse pKeyPartUse)
ICubeUsesDimension
addKeyPartUse
in interface ICubeUsesDimension
pKeyPartUse
- The key part use to be added.public void removeKeyPartUse(OdiKeyPartUse pKeyPartUse)
ICubeUsesDimension
removeKeyPartUse
in interface ICubeUsesDimension
pKeyPartUse
- The key part use to be removed.