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

E17060-01

oracle.odi.domain.model
Class OdiPartition

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.model.OdiPartition
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IOdiEntity, IRepositoryEntity, IWorkDevelopmentOdiEntity
Direct Known Subclasses:
OdiMainPartition, OdiSubPartition

public abstract class OdiPartition
extends oracle.odi.domain.support.AbstractOdiEntity
implements IWorkDevelopmentOdiEntity

An OdiPartition is an abstract class defining database partitioning.

Oracle Data Integrator is able to use database-defined partitions when processing data in partitioned tables used as source or targets of integration interfaces. These partitions are created in the datastore corresponding to the table, either through the reverse-engineering process or manually. For example with the Oracle technology, partitions are reverse-engineered using the RKM Oracle.

This class is abstract. Known subclasses are OdiMainPartition and OdiSubPartition.

Since:
11.1.1.3.0
See Also:
Serialized Form

Field Summary
static int NAME_MAX_LENGTH
          Maximum length supported for the "name" property.
 
Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity
STARTING_INTERNAL_VERSION
 
Method Summary
 OdiDataStore getDataStore()
          Returns the OdiDataStore for which this OdiPartition is defined.
 java.lang.String getDescription()
          Returns the description of this OdiPartition.
 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 OdiPartition.
 java.lang.Number getPartitionId()
          Return the internal ID of this partition.
 IRepositoryEntity getSecurityContainer()
          Define a generic way to retrieve container for entities.
 void setDescription(java.lang.String pDescription)
          Defines the description of this OdiPartition.
 
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
 

Field Detail

NAME_MAX_LENGTH

public static final int NAME_MAX_LENGTH
Maximum length supported for the "name" property.

See Also:
OdiMainPartition.OdiMainPartition(OdiDataStore, String), OdiSubPartition.OdiSubPartition(OdiMainPartition, String), Constant Field Values
Method Detail

getDataStore

public OdiDataStore getDataStore()
Returns the OdiDataStore for which this OdiPartition is defined.

Returns:
the parent OdiDataStore

getDescription

public java.lang.String getDescription()
Returns the description of this OdiPartition.

Returns:
the String description
See Also:
setDescription(String)

getInternalId

public final 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 OdiPartition.

Specified by:
getName in interface IOdiEntity
Overrides:
getName in class oracle.odi.domain.support.AbstractOdiEntity
Returns:
the name.

getPartitionId

public java.lang.Number getPartitionId()
Return the internal ID of this partition.

Returns:
the internal ID.

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

setDescription

public void setDescription(java.lang.String pDescription)
Defines the description of this OdiPartition.

Parameters:
pDescription - the description.
See Also:
getDescription()

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.