Skip navigation links

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

E17060-02


oracle.odi.domain.topology
Class OdiMasterRepositoryInfo

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.OdiMasterRepositoryInfo

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

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

Metadata about an ODI Master Repository. An ODI Master Repository defines where ODI stores topology and security metadata.

This is a particular entity whose life cycle begins when an ODI master repository is created from repository setup / install process and ends when ODI master repository schema is destroyed by DB administrator.

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

Note that an OdiMasterRepositoryInfo cannot be removed from repository. Also, ODI must have one and only one master repository.

Since:
11.1.1.3.0
See Also:
Serialized Form

Field Summary

 

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

 

Method Summary
 java.lang.Long getCreationTime()
          Returns time of repository's creation in millisecond.
 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.Number getMasterRepositoryId()
          Returns the unique ID of the master repository.
 java.lang.String getName()
          Returns the name of the ODI master repository.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 java.lang.String getVersion()
          Returns string representation of the ODI master repository's version.

 

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

getMasterRepositoryId

public java.lang.Number getMasterRepositoryId()
Returns the unique ID of the master repository.
Returns:
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 the ODI master repository. Mainly useful in case more than one ODI master repository has been created.
Specified by:
getName in interface IOdiEntity
Overrides:
getName in class oracle.odi.domain.support.AbstractOdiEntity
Returns:
repository name.

getVersion

public java.lang.String getVersion()
Returns string representation of the ODI master repository's version.
Returns:
repository version.

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

getCreationTime

public java.lang.Long getCreationTime()
Returns time of repository's creation in millisecond.
Returns:
creation time.

Skip navigation links

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

E17060-02


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