public class OdiKeyPartUse extends oracle.odi.domain.support.AbstractRepositoryEntity implements IKeyPartUse
Constructor and Description |
---|
OdiKeyPartUse(OdiCubeUsesDimension pUsesDimension)
key part use constructor.
|
OdiKeyPartUse(OdiCubeUsesDimension pUsesDimension,
OdiNaturalKeyMember pNaturalKeyUse)
key part use constructor.
|
Modifier and Type | Method and Description |
---|---|
OdiColumn |
getBoundColumn()
Get the bound column of this key part use.
|
OdiCubeUsesDimension |
getCubeUsesDimension()
Get the owning cube uses dimension of this key part use.
|
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 |
getKeyPartUseId()
Returns the internal identifier of this key part use.
|
OdiNaturalKeyMember |
getNaturalKeyUse()
Get the natural key member if the referenced level is linked to the cube
by its natural keys.
|
int |
getPosition()
Get the position of this key part use in its owning cube uses dimension.
|
OdiLevelAttribute |
getSurrogateKeyUse()
Get the surrogate key level attribute if the referenced level is linked
to the cube by its surrogate key.
|
void |
setBoundColumn(OdiColumn pBoundColumn)
Set the bound column for this key part use.
|
void |
setNaturalKeyUse(OdiNaturalKeyMember pNaturalKeyUse)
Set the natural key member if the referenced level is linked to the cube
by its natural keys.
|
void |
setSurrogateKeyUse(OdiLevelAttribute pSurrogateKeyAttribute)
Set the surrogate key level attribute if the referenced level is linked
to the cube by its surrogate key.
|
public OdiKeyPartUse(OdiCubeUsesDimension pUsesDimension)
pUsesDimension
- The owning cube uses dimension of this key part use.public OdiKeyPartUse(OdiCubeUsesDimension pUsesDimension, OdiNaturalKeyMember pNaturalKeyUse)
pUsesDimension
- The owning cube uses dimension of this key part use.pNaturalKeyUse
- A natural key member of the referenced level.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 getKeyPartUseId()
public int getPosition()
IKeyPartUse
getPosition
in interface IKeyPartUse
public OdiCubeUsesDimension getCubeUsesDimension()
IKeyPartUse
getCubeUsesDimension
in interface IKeyPartUse
public void setSurrogateKeyUse(OdiLevelAttribute pSurrogateKeyAttribute)
pSurrogateKeyAttribute
- The surrogate key attribute to be associated with this key
part use.public OdiLevelAttribute getSurrogateKeyUse()
IKeyPartUse
getSurrogateKeyUse
in interface IKeyPartUse
public void setNaturalKeyUse(OdiNaturalKeyMember pNaturalKeyUse)
pNaturalKeyUse
- The natural key member to be associated by this key part
use.public OdiNaturalKeyMember getNaturalKeyUse()
IKeyPartUse
getNaturalKeyUse
in interface IKeyPartUse
public void setBoundColumn(OdiColumn pBoundColumn)
IKeyPartUse
setBoundColumn
in interface IKeyPartUse
pBoundColumn
- The bound column for this key part use.public OdiColumn getBoundColumn()
IKeyPartUse
getBoundColumn
in interface IKeyPartUse