public final class OdiJobStartupParam
extends oracle.odi.domain.support.AbstractRepositoryEntity
OdiJobStartupParam is the representation of startup parameter for
OdiSession
or OdiLoadPlanInstance
. It contains value that
overrides the latest value of the scheduled job's variable. Such parameter
should be connected to real OdiScenarioVariable
or
OdiLoadPlanVariable
existing in run-time repository. Otherwise run-time
agent will throw an exception on setting parameters up. For this purpose
creation of OdiJobStartupParam instances is controlled by
OdiScenarioSchedule
and OdiLoadPlanSchedule
objects.
Collection of all startup parameters related to scheduled job is accessible by corresponding method of OdiSchedule.
OdiSchedule
,
OdiScenarioSchedule
,
OdiLoadPlanSchedule
,
OdiScenarioVariable
,
OdiLoadPlanVariable
,
Serialized FormModifier 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.
|
java.lang.String |
getName()
Returns the name of this startup parameter.
|
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
VariableType |
getType()
Returns the data type of this parameter.
|
java.lang.Object |
getValue()
Returns the value of this startup parameter.
|
void |
setValue(java.lang.Object pValue)
Specifies new value for this startup parameter.
|
public java.lang.String getName()
public java.lang.Object getValue()
When calling this method, the value can be casted into relevant class according this parameter's type.
getType()
,
setValue(Object)
public void setValue(java.lang.Object pValue)
pValue
- valuesetValue(Object)
public VariableType getType()
VariableType
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 IRepositoryEntity getSecurityContainer()
IRepositoryEntity