public class OdiCubeUsesDimension extends 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() |
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.
|
IRepositoryEntity |
getSecurityContainer() |
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)
ICubeUsesDimensionsetRole in interface ICubeUsesDimensionpRole - The role name to be set.public java.lang.String getRole()
ICubeUsesDimensiongetRole in interface ICubeUsesDimensionpublic int getPosition()
ICubeUsesDimensiongetPosition in interface ICubeUsesDimensionpublic java.io.Serializable getInternalId()
public java.lang.Number getCubeUsesDimensionId()
public IRepositoryEntity getSecurityContainer()
public OdiCube getCube()
ICubeUsesDimensiongetCube in interface ICubeUsesDimensionpublic OdiLevel getLevel()
ICubeUsesDimensiongetLevel in interface ICubeUsesDimensionpublic void setLevel(OdiLevel pLevel)
ICubeUsesDimensionsetLevel in interface ICubeUsesDimensionpLevel - The referenced dimension level.public OdiKeyPartUse findKeyPartUse(java.lang.String pLevelAttributeName)
ICubeUsesDimensionfindKeyPartUse in interface ICubeUsesDimensionpLevelAttributeName - 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()
ICubeUsesDimensiongetKeyPartUses in interface ICubeUsesDimensionpublic java.util.List getOrderedKeyPartUses()
ICubeUsesDimensiongetOrderedKeyPartUses in interface ICubeUsesDimensionpublic void addKeyPartUse(OdiKeyPartUse pKeyPartUse)
ICubeUsesDimensionaddKeyPartUse in interface ICubeUsesDimensionpKeyPartUse - The key part use to be added.public void removeKeyPartUse(OdiKeyPartUse pKeyPartUse)
ICubeUsesDimensionremoveKeyPartUse in interface ICubeUsesDimensionpKeyPartUse - The key part use to be removed.