public interface ILevelAttribute extends IModelObject
Modifier and Type | Interface and Description |
---|---|
static class |
ILevelAttribute.LevelAttributeRole
An enum interface to indicate the attribute role of this attribute.
|
static class |
ILevelAttribute.SCD2LevelAttributeType
An enum to indicate the SCD2 type of the level attribute.
|
static class |
ILevelAttribute.SCD3LevelAttributeType
An enum used to indicate the SCD3 type of the level attribute.
|
Modifier and Type | Method and Description |
---|---|
IColumn |
getBoundColumn()
Get the bound column for this level attribute.
|
IColumn |
getBoundStagingColumn()
Get the bound staging column for this level attribute.
|
IDataType |
getDataType()
Get the data type that is associated with this level attribute.
|
java.lang.String |
getDescription()
Get the text description for this attribute.
|
ILevel |
getLevel()
Get The owning level for this level attribute.
|
java.lang.String |
getName()
Get the name for this level attribute.
|
int |
getPosition()
Get the position number for this attribute.
|
java.lang.Integer |
getScale()
Get the data scale of this level attribute.
|
java.lang.Enum |
getSCD2Type()
Get the SCD2 type for this level attribute.
|
ILevelAttribute |
getSCD3EffectiveDateAttr()
Get the SCD3 effective date attribute for this attribute.
|
ILevelAttribute |
getSCD3PriorValueAttr()
Get the SCD3 prior value attribute for this attribute, if one exists, else return null.
|
java.lang.Enum |
getSCD3Type()
Get the SCD3 type for this level attribute.
|
java.lang.Integer |
getSize()
Get the data size (length or precision) of this level attribute.
|
boolean |
isNaturalKeyAttr()
Retrieve the natural key flag for this attribute.
|
boolean |
isSurrogateKeyAttr()
Retrieve the surrogate key flag for this attribute.
|
void |
setBoundColumn(IColumn col)
Set the bound column for this level attribute.
|
void |
setBoundStagingColumn(IColumn col)
Set the bound staging column for this level attribute.
|
void |
setDataType(IDataType levelAttrDataType)
Set the data type that is associated with this level attribute.
|
void |
setDescription(java.lang.String desc)
Set the text description for this level attribute.
|
void |
setName(java.lang.String levelAttrName)
Set the name for this level attribute.
|
void |
setScale(java.lang.Integer levelAttrScale)
Set the data scale of this level attribute.
|
void |
setSCD2Type(java.lang.Enum SCD2Type)
Set the SCD2 type for this level attribute.
|
void |
setSCD3EffectiveDateAttr(ILevelAttribute levelAttr)
Set the SCD3 effective date attribute for this attribute.
|
void |
setSCD3PriorValueAttr(ILevelAttribute levelAttr)
Set the SCD3 prior value attribute for this attribute.
|
void |
setSize(java.lang.Integer size)
Set the data size (length or precision) of this level attribute.
|
getBigNumericId, getGlobalId, getNumericId
void setName(java.lang.String levelAttrName)
levelAttrName
- The name to set.java.lang.String getName()
getName
in interface IModelObject
void setDescription(java.lang.String desc)
desc
- The description to set.java.lang.String getDescription()
IDataType getDataType()
void setDataType(IDataType levelAttrDataType)
levelAttrDataType
- The data type object to set for this level attribute.int getPosition()
java.lang.Integer getSize()
void setSize(java.lang.Integer size)
size
- The size value to set.java.lang.Integer getScale()
void setScale(java.lang.Integer levelAttrScale)
levelAttrScale
- The level attribute scale to set, or null if not applicable.ILevel getLevel()
ILevelAttribute getSCD3PriorValueAttr()
boolean isSurrogateKeyAttr()
boolean isNaturalKeyAttr()
void setSCD3PriorValueAttr(ILevelAttribute levelAttr)
levelAttr
- The SCD3 prior value attribute to set.ILevelAttribute getSCD3EffectiveDateAttr()
void setSCD3EffectiveDateAttr(ILevelAttribute levelAttr)
levelAttr
- The SCD3 effective date attribute to set for this attribute.void setSCD2Type(java.lang.Enum SCD2Type)
SCD2Type
- The SCD2 type to set.java.lang.Enum getSCD2Type()
java.lang.Enum getSCD3Type()
IColumn getBoundColumn()
IColumn getBoundStagingColumn()
void setBoundColumn(IColumn col)
col
- The bound column to set.void setBoundStagingColumn(IColumn col)
col
- The bound staging column to set.