Skip navigation links

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

E17060-04


oracle.odi.domain.model
Class OdiMainPartition

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
                  extended by oracle.odi.domain.model.OdiMainPartition

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

public class OdiMainPartition
extends OdiPartition

Represents a main partition of an OdiDataStore.

A main partition is owned by an {OdiDataStore instance and can have sub partitions.

Since:
11.1.1.3.0
See Also:
OdiPartition, OdiSubPartition, Serialized Form

Field Summary

 

Fields inherited from class oracle.odi.domain.model.OdiPartition
NAME_MAX_LENGTH

 

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

 

Constructor Summary
OdiMainPartition(OdiDataStore pDataStore, java.lang.String pName)
          Constructs a new main partition.

 

Method Summary
 java.util.Collection<OdiSubPartition> getSubPartitions()
          Returns an unmodifiable collection of OdiSubPartitions that belongs to this OdiMainPartition.
 void removeSubPartition(OdiSubPartition pSubPartition)
          Remove the given OdiSubPartition from the collection of OdiSubPartitions.

 

Methods inherited from class oracle.odi.domain.model.OdiPartition
getDataStore, getDescription, getInternalId, getName, getPartitionId, getSecurityContainer, setDescription

 

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

OdiMainPartition

public OdiMainPartition(OdiDataStore pDataStore,
                        java.lang.String pName)
Constructs a new main partition.

This constructor also set the parent OdiDataStore of this partition and it's name.

Parameters:
pDataStore - the parent datastore of this parition
pName - the name of this partition
Throws:
DomainRuntimeException - if the pDataStore is null or if the name is null, empty or longer than NAME_MAX_LENGTH

Method Detail

removeSubPartition

public void removeSubPartition(OdiSubPartition pSubPartition)
Remove the given OdiSubPartition from the collection of OdiSubPartitions.
Parameters:
pSubPartition - pSubPartition.
Throws:
DomainRuntimeException - if pSubPartition is null or does not belong to this OdiMainPartition.
See Also:
getSubPartitions()

getSubPartitions

public java.util.Collection<OdiSubPartition> getSubPartitions()
Returns an unmodifiable collection of OdiSubPartitions that belongs to this OdiMainPartition.

Use removeSubPartition(OdiSubPartition) to remove OdiSubPartition.

Returns:
a collection of OdiSubPartition
See Also:
removeSubPartition(OdiSubPartition)

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.