public class OdiLoadPlanVariable
extends oracle.odi.domain.support.AbstractRepositoryEntity
The OdiLoadPlanVariable
is the inclusion of an OdiVariable
in the context of an OdiLoadPlan
.
OdiLoadPlan
manages a list of OdiLoadPlanVariable
that can be overridden on every step and used for OdiLoadPlanStepCase
.
The sql text of an OdiLoadPlanVariable
is the result of the code generation of the OdiVariable
sql text.
The properties of an OdiLoadPlanVariable
are not editable.
The life cycle of an OdiLoadPlanVariable
begins when the user associates an OdiVariable
with the OdiLoadPlan
, thus creating an OdiLoadPlanVariable
.
Then the OdiLoadPlanVariable
is managed by the OdiLoadPlan.
The life cycle ends when the OdiLoadPlanVariable
is removed from the OdiLoadPlan
.
Modifier and Type | Method and Description |
---|---|
OdiVariable.DataType |
getDataType() |
java.lang.String |
getDescription() |
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
OdiLoadPlan |
getLoadPlan() |
OdiLogicalSchema |
getLogicalSchema() |
java.lang.String |
getName() |
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
java.lang.String |
getSqlText() |
java.util.Collection |
getStepCaseUsage()
Returns the unmodifiable collection of usage of this variable as a test variable for a stepCase.
|
java.util.Collection |
getVariableOverridenUsages()
Returns the unmodifiable collection of usage of this variable as overridden variable.
|
void |
setDataType(OdiVariable.DataType dataType) |
void |
setDescription(java.lang.String pDescription) |
java.lang.String |
toString() |
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.
public OdiLoadPlan getLoadPlan()
OdiLoadPlanVariable
is defined.OdiLoadPlan
public java.lang.String getName()
public java.lang.String getDescription()
public void setDescription(java.lang.String pDescription)
public OdiVariable.DataType getDataType()
public void setDataType(OdiVariable.DataType dataType)
dataType
- must not be nullDomainRuntimeException
- if the datatype is null.public OdiLogicalSchema getLogicalSchema()
OdiLogicalSchema
public java.lang.String getSqlText()
public java.util.Collection getVariableOverridenUsages()
public java.util.Collection getStepCaseUsage()
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
public java.lang.String toString()
toString
in class oracle.odi.domain.support.AbstractRepositoryEntity