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)
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()
public java.lang.Number getCubeUsesDimensionId()
public IRepositoryEntity getSecurityContainer()
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.