public class OdiSessionBlueprintVariable extends AbstractRuntimeVariable implements IExecutableVariable
OdiSessionBlueprintVariable
is the part of blueprint of ODI Session, representing ODI Variable
used in OdiScenario
. Basically, it is the copy of OdiScenarioVariable
.
Life-cycle of OdiSessionBlueprintVariable
follows the life-cycle of enclosing
OdiSessionBlueprint
.
External SDK users should use this object for read-only purpose.
OdiSessionBlueprint}
,
Serialized FormConstructor and Description |
---|
OdiSessionBlueprintVariable(java.lang.String pName,
VariableType pType)
FOR INTERNAL USE ONLY.
|
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
OdiSessionBlueprint |
getSessionBlueprint()
Returns the enclosing
OdiSessionBlueprint . |
void |
setDefaultValue(java.lang.Object pDefaultValue)
FOR INTERNAL USE ONLY.
|
void |
setDescription(java.lang.String pDescription)
FOR INTERNAL USE ONLY.
|
void |
setName(java.lang.String pName)
FOR INTERNAL USE ONLY.
|
void |
setReadOnly(boolean pReadOnly)
FOR INTERNAL USE ONLY.
|
void |
setType(VariableType pType)
FOR INTERNAL USE ONLY.
|
void |
setValuePersistence(ValuePersistence pValuePersistence)
FOR INTERNAL USE ONLY.
|
void |
setVariableOrder(java.lang.Number pVariableOrder)
FOR INTERNAL USE ONLY.
|
getDefaultValue, getDescription, getName, getType, getValuePersistence, getVariableOrder, isReadOnly
public OdiSessionBlueprintVariable(java.lang.String pName, VariableType pType)
Constructs the OdiSessionBlueprintVariable
with specified name and data type.
pName
- variable namepType
- variable data typepublic OdiSessionBlueprint getSessionBlueprint()
OdiSessionBlueprint
.OdiSessionBlueprint
public void setDefaultValue(java.lang.Object pDefaultValue)
Sets the default value for this OdiSessionBlueprintVariable
.
pDefaultValue
- the default valuepublic void setName(java.lang.String pName)
Sets the name for this OdiSessionBlueprintVariable
.
pName
- the namepublic void setType(VariableType pType)
Sets the data type for this OdiSessionBlueprintVariable
.
pType
- the data typepublic void setReadOnly(boolean pReadOnly)
Specifies whether this OdiSessionBlueprintVariable
should be read-only.
pReadOnly
- read onlypublic void setValuePersistence(ValuePersistence pValuePersistence)
Sets the value persistence type for this OdiSessionBlueprintVariable
.
pValuePersistence
- the value persistence typepublic void setDescription(java.lang.String pDescription)
Sets the description for this OdiSessionBlueprintVariable
.
pDescription
- the descriptionpublic void setVariableOrder(java.lang.Number pVariableOrder)
Sets the order for this OdiSessionBlueprintVariable
.
pVariableOrder
- the orderpublic 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 IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity