Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.domain.runtime.lpi
Class OdiLoadPlanInstanceExceptionLog

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.runtime.lpi.OdiLoadPlanInstanceExceptionLog

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity, OdiLoadPlanInstanceBaseLog, OdiLoadPlanInstanceSessionLog

public class OdiLoadPlanInstanceExceptionLog
extends oracle.odi.domain.support.AbstractRepositoryEntity
implements OdiLoadPlanInstanceSessionLog

This class represents the logs for the execution of an exception when the execution of a step of the load plan failed. It offers only consultation methods.

Since:
11.1.1.5.0
See Also:
Serialized Form

Method Summary
 java.lang.Number getDeleteCount()
           
 java.lang.Number getDuration()
           
 java.util.Date getEndTime()
           
 java.lang.Number getErrorCount()
           
 java.lang.String getErrorMessage()
           
 OdiLoadPlanInstanceExceptionVariableLog getExceptionVariableLog(OdiLoadPlanInstanceVariable pVariable)
           
 java.lang.String getExecutedKeywords()
           
 java.lang.Number getInsertCount()
           
 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 getLastOverridenVariableValue(OdiLoadPlanInstanceVariable pVariable)
          Return latest known variable value or null if there are no variables.
 OdiLoadPlanInstanceStepLog getLog(OdiLoadPlanInstanceStep pStep)
           
 java.lang.Number getRecordCount()
           
 java.lang.String getReturnCode()
           
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 java.lang.Number getSessionId()
           
 java.util.Date getStartTime()
           
 OdiLoadPlanInstanceRun.Status getStatus()
           
 java.lang.Number getUpdateCount()
           

 

Methods inherited from class oracle.odi.domain.support.BusinessObject
clone

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getLog

public OdiLoadPlanInstanceStepLog getLog(OdiLoadPlanInstanceStep pStep)
Parameters:
pStep - the instanceStep. Must be a step of this exception hierarchy.
Returns:
The log associated to the given step of the exception hierarchy.
Throws:
DomainRuntimeException - if the step is not part of this exception's hierarchy

getInternalId

public java.io.Serializable getInternalId()
Description copied from interface: IRepositoryEntity
Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.

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.

Specified by:
getInternalId in interface IRepositoryEntity
Returns:
the persistence identity of this instance

getSessionId

public java.lang.Number getSessionId()
Specified by:
getSessionId in interface OdiLoadPlanInstanceSessionLog
Returns:
the Id of the session for this execution or null if not defined yet

getStartTime

public java.util.Date getStartTime()
Specified by:
getStartTime in interface OdiLoadPlanInstanceBaseLog
Returns:
the start time for this exception, or null if not yet started.

getEndTime

public java.util.Date getEndTime()
Specified by:
getEndTime in interface OdiLoadPlanInstanceBaseLog
Returns:
the end time for this exception, or null if not yet finished.

getDuration

public java.lang.Number getDuration()
Specified by:
getDuration in interface OdiLoadPlanInstanceBaseLog
Returns:
the duration (in second) of this exception's execution, or null if not yet defined.

getStatus

public OdiLoadPlanInstanceRun.Status getStatus()
Specified by:
getStatus in interface OdiLoadPlanInstanceBaseLog
Returns:
the Execution status

getErrorMessage

public java.lang.String getErrorMessage()
Specified by:
getErrorMessage in interface OdiLoadPlanInstanceBaseLog
Returns:
Return the error message for this exception if any. Will always return null if not failed.

getReturnCode

public java.lang.String getReturnCode()
Specified by:
getReturnCode in interface OdiLoadPlanInstanceBaseLog
Returns:
Return code associated to this execution or null if not defined yet

getRecordCount

public java.lang.Number getRecordCount()
Specified by:
getRecordCount in interface OdiLoadPlanInstanceSessionLog
Returns:
overall number of records processed by this exception, or null if not applicable

getInsertCount

public java.lang.Number getInsertCount()
Specified by:
getInsertCount in interface OdiLoadPlanInstanceSessionLog
Returns:
the number of processed inserts, or null if not applicable

getUpdateCount

public java.lang.Number getUpdateCount()
Specified by:
getUpdateCount in interface OdiLoadPlanInstanceSessionLog
Returns:
the number of updates processed by this exception, or null if not applicable

getDeleteCount

public java.lang.Number getDeleteCount()
Specified by:
getDeleteCount in interface OdiLoadPlanInstanceSessionLog
Returns:
the number of deletes processed by this exception, or null if not applicable

getErrorCount

public java.lang.Number getErrorCount()
Specified by:
getErrorCount in interface OdiLoadPlanInstanceSessionLog
Returns:
the number of errors of this exception.

getExecutedKeywords

public java.lang.String getExecutedKeywords()
Specified by:
getExecutedKeywords in interface OdiLoadPlanInstanceSessionLog
Returns:
the executed sess keywords of this load plan exception step log.

getExceptionVariableLog

public OdiLoadPlanInstanceExceptionVariableLog getExceptionVariableLog(OdiLoadPlanInstanceVariable pVariable)
Parameters:
pVariable - must be a variable refreshed on the step executed
Returns:
the logs for the given variable on this step, null if no override occurred for this step

getLastOverridenVariableValue

public java.lang.String getLastOverridenVariableValue(OdiLoadPlanInstanceVariable pVariable)
Return latest known variable value or null if there are no variables.
Parameters:
pVariable - variable to check.
Returns:
the latest value of variable override occurred in the load plan exception path till this step null if no override occurred for this variable on the whole load plan branch.

getSecurityContainer

public IRepositoryEntity getSecurityContainer()
Description copied from interface: IRepositoryEntity
Define a generic way to retrieve container for entities.
Specified by:
getSecurityContainer in interface IRepositoryEntity
Returns:
container entity

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.