public class OdiDesigntimeBreakpoint
extends oracle.odi.domain.support.AbstractRepositoryEntity
OdiDesigntimeBreakpoint
is child entity in OdiPackage
->
Step
->OdiDesigntimeBreakpoint
and OdiUserProcedure
->
OdiUserProcedureLine
->OdiDesigntimeBreakpoint
aggregates,
represents a breakpoint set on one of OdiPackage
steps or one of
OdiUserProcedure
lines.
Lifecycle starts once breakpoint set on package's step or procedure's line, ends when the breakpoint is removed or one of the parent entities removed.
Modifier and Type | Method and Description |
---|---|
int |
getHitCount()
Returns number of times the breakpoint must be hit before suspending
execution, 0 by default meaning that execution will be suspended on the
first hit.
|
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.
|
Step |
getStep()
|
OdiUserProcedureLine |
getUserProcedureLine()
|
boolean |
isEnabled()
Returns
true if the breakpoint is enabled or
false otherwise, true by default. |
boolean |
isFromStep()
Returns
true if the breakpoint is set on package's step and
false otherwise. |
boolean |
isFromUserProcedureLine()
Returns
true if the breakpoint is set on user procedure's line
and false otherwise. |
boolean |
isStopAfter()
Returns
true if execution engine should suspend execution
after executing this breakpoint's parent package's step or procedure's line
and false otherwise, false by default. |
void |
setEnabled(boolean pEnabled)
Enables breakpoint if pEnabled is
true or disables it
otherwise. |
void |
setHitCount(int pHitCount)
Sets number of times the breakpoint must be hit before execution
suspension.
|
void |
setStopAfter(boolean pStopAfter)
Tells execution engine to suspend execution after executing this
breakpoint' parent package's step or procedure line if
pStopAfter is true and after otherwise. |
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
public boolean isEnabled()
true
if the breakpoint is enabled or
false
otherwise, true
by default.setEnabled(boolean)
public void setEnabled(boolean pEnabled)
true
or disables it
otherwise.pEnabled
- new enabled state for the breakpointisEnabled()
public int getHitCount()
setHitCount(int)
public void setHitCount(int pHitCount)
pHitCount
- new hit count valuegetHitCount()
public boolean isStopAfter()
true
if execution engine should suspend execution
after executing this breakpoint's parent package's step or procedure's line
and false
otherwise, false
by default.setStopAfter(boolean)
public void setStopAfter(boolean pStopAfter)
pStopAfter
is true
and after otherwise.pStopAfter
- if to suspend execution after executing parent object or
notisStopAfter()
public boolean isFromStep()
true
if the breakpoint is set on package's step and
false
otherwise.getStep()
,
isFromUserProcedureLine()
public boolean isFromUserProcedureLine()
true
if the breakpoint is set on user procedure's line
and false
otherwise.getUserProcedureLine()
,
isFromStep()
public Step getStep()
Step
instance if availableisFromStep()
public OdiUserProcedureLine getUserProcedureLine()
OdiUserProcedureLine
instance if availableisFromUserProcedureLine()