Skip navigation links

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

E17060-04


oracle.odi.domain.topology
Class OdiIndexType

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

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

public class OdiIndexType
extends oracle.odi.domain.support.AbstractOdiEntity
implements IMasterOdiEntity, IExportable

An OdiIndexType is a domain entity describing a single type of SGBDR index for an ODI technology.

OdiIndexType is root of its own aggregate, but also part of aggregate with root OdiTechnology, this means deleting an OdiTechnology will also delete all OdiIndexTypes related to this OdiTechnology.

Instances of OdiIndexType related to a given OdiTechnology are obtained using the OdiTechnology.getIndexTypes() method.

Since:
11.1.1.3.0
See Also:
OdiTechnology, Serialized Form

Field Summary

 

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

 

Constructor Summary
OdiIndexType(OdiTechnology pTechnology, java.lang.String pCode, java.lang.String pName)
          Create a new OdiIndexType.

 

Method Summary
 java.lang.String getCode()
          Obtains the code of this OdiIndexType.
 java.lang.Number getIndexTypeId()
          This OdiIndexType ID.
 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 entity instance.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 OdiTechnology getTechnology()
          Obtains the OdiTechnology this OdiIndexType belongs to.

 

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

 

Constructor Detail

OdiIndexType

public OdiIndexType(OdiTechnology pTechnology,
                    java.lang.String pCode,
                    java.lang.String pName)
Create a new OdiIndexType.
Parameters:
pTechnology - the technology this index type belongs to
pCode - code of the index type
pName - name of the index type

Method Detail

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

getIndexTypeId

public java.lang.Number getIndexTypeId()
This OdiIndexType ID.
Returns:
the id

getTechnology

public OdiTechnology getTechnology()
Obtains the OdiTechnology this OdiIndexType belongs to.
Returns:
an OdiTechnology

getName

public java.lang.String getName()
Description copied from interface: IOdiEntity
Returns the name of this entity instance.
Specified by:
getName in interface IOdiEntity
Overrides:
getName in class oracle.odi.domain.support.AbstractOdiEntity
Returns:
the name

getCode

public java.lang.String getCode()
Obtains the code of this OdiIndexType.
Returns:
the code

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.