Skip navigation links
oracle.odi.domain.model
Class OdiMainPartition
java.lang.Object
oracle.odi.domain.support.BusinessObject
oracle.odi.domain.support.AbstractRepositoryEntity
oracle.odi.domain.support.AbstractOdiEntity
oracle.odi.domain.model.OdiPartition
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
Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity |
STARTING_INTERNAL_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 |
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:
java.lang.IllegalArgumentException
- if the pDataStore is null or if the name is null, empty or longer than NAME_MAX_LENGTH
removeSubPartition
public void removeSubPartition(OdiSubPartition pSubPartition)
- Remove the given
OdiSubPartition
from the collection of OdiSubPartition
s.
-
- Parameters:
pSubPartition
- pSubPartition.
- Throws:
java.lang.IllegalArgumentException
- 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
OdiSubPartition
s that belongs to this OdiMainPartition
.
Use removeSubPartition(OdiSubPartition) to remove OdiSubPartition
.
-
- Returns:
- a collection of
OdiSubPartition
- See Also:
removeSubPartition(OdiSubPartition)
Skip navigation links
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.