Skip navigation links

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

E17060-03


oracle.odi.domain.topology
Class OdiWorkRepositoryInfo

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.AbstractRepositoryEntity
          extended by oracle.odi.domain.support.AbstractOdiEntity
              extended by oracle.odi.domain.topology.OdiWorkRepositoryInfo

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IMasterOdiEntity, IOdiEntity, IRepositoryEntity

public final class OdiWorkRepositoryInfo
extends oracle.odi.domain.support.AbstractOdiEntity
implements IMasterOdiEntity

Metadata about an ODI Work Repository. An ODI Work Repository defines where ODI stores design time and runtime metadata. Note that there are two types of ODI Work Repositories: Design time repository and Runtime repository. Runtime repository contains only runtime metadata. Design time repository contains both design time and runtime metadata.

This is a particular entity whose life cycle begins when an ODI work repository is created from repository setup / install process and ends when it is detached from ODI master repository.

An ODI Work Repository has an ID that can be obtained from getWorkRepositoryId() method call. That ID is used when computing ID of objects that are stored inside a work repository. It must be unique across several ODI master repository configurations.

Since:
11.1.1.3.0
See Also:
Serialized Form

Nested Class Summary
static class OdiWorkRepositoryInfo.WorkRepType
          Type of an ODI Work Repository.

 

Field Summary

 

Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity
STARTING_INTERNAL_VERSION

 

Method Summary
 OdiRepositoryServer getDataServer()
          Obtains the DB server this ODI work repository is installed on.
 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 ODI work repository.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 OdiWorkRepositoryInfo.WorkRepType getType()
          Gets type of this ODI work repository.
 java.lang.Number getWorkRepositoryId()
          Obtains the unique ID of this work repository.

 

Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isInstanceLevelSecurityNeeded, isNew, toString

 

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

 

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

 

Methods inherited from interface oracle.odi.domain.IOdiEntity
getFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeeded

 

Method Detail

getWorkRepositoryId

public java.lang.Number getWorkRepositoryId()
Obtains the unique ID of this work repository.
Returns:
this work repository id

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

getName

public java.lang.String getName()
Returns the name of this ODI work repository.
Specified by:
getName in interface IOdiEntity
Overrides:
getName in class oracle.odi.domain.support.AbstractOdiEntity
Returns:
this repository name

getType

public OdiWorkRepositoryInfo.WorkRepType getType()
Gets type of this ODI work repository.
Returns:
type of this ODI work repository.
See Also:
OdiWorkRepositoryInfo.WorkRepType

getDataServer

public OdiRepositoryServer getDataServer()
Obtains the DB server this ODI work repository is installed on.
Returns:
an OdiRepositoryServer object.

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.6.0)

E17060-03


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