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

E17060-01

oracle.odi.domain.project.interfaces
Class ObjTrace

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.project.interfaces.ObjTrace
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IRepositoryEntity

public class ObjTrace
extends oracle.odi.domain.support.AbstractRepositoryEntity

This class represents trace messages of an object in the repository. Currently, this only supports storing trace messages of OdiInterface.

Since:
11.1.1.3.0
See Also:
Serialized Form

Nested Class Summary
static class ObjTrace.TraceSeverity
          Severity of trace message.
static class ObjTrace.TraceType
          Types of trace message.
 
Constructor Summary
ObjTrace(OdiInterface pInterface)
          Internal use only Creates a new trace message object for the specified interface.
 
Method Summary
 java.lang.Class getEntityClass()
          Returns the class associated with this trace message object.
 java.lang.String getEntityName()
          Returns the name of the object associated with this trace message object.
 java.io.Serializable getInternalId()
          Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used.
 OdiInterface getOdiInterface()
          Returns the interface associated with this trace message object.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 java.sql.Timestamp getTraceDate()
          Returns the timestamp when this trace message object is created.
 java.lang.String getTraceMessage()
          Returns the trace message text.
 ObjTrace.TraceSeverity getTraceSeverity()
          Returns the severity of the trace message.
 ObjTrace.TraceType getTraceType()
          Returns the type of the trace message.
 
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
 

Constructor Detail

ObjTrace

public ObjTrace(OdiInterface pInterface)
Internal use only Creates a new trace message object for the specified interface.

Parameters:
pInterface - the interface object containing the trace object.
Method Detail

getEntityClass

public java.lang.Class getEntityClass()
Returns the class associated with this trace message object.

Returns:
the class associated with this trace object.

getEntityName

public java.lang.String getEntityName()
Returns the name of the object associated with this trace message object.

Returns:
the name of the object associated with this trace object.

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.

Returns:
the persistence identity of this instance

getOdiInterface

public OdiInterface getOdiInterface()
Returns the interface associated with this trace message object.

Returns:
the interface associated with this trace object.

getSecurityContainer

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

Returns:
container entity

getTraceDate

public java.sql.Timestamp getTraceDate()
Returns the timestamp when this trace message object is created.

Returns:
the interface associated with this trace object.

getTraceMessage

public java.lang.String getTraceMessage()
Returns the trace message text.

Returns:
the trace message text.

getTraceSeverity

public ObjTrace.TraceSeverity getTraceSeverity()
Returns the severity of the trace message.

Returns:
the severity of the trace message.

getTraceType

public ObjTrace.TraceType getTraceType()
Returns the type of the trace message.

Returns:
the type of trace message.

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

E17060-01

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