|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.domain.support.BusinessObject
oracle.odi.domain.support.AbstractRepositoryEntity
oracle.odi.domain.support.AbstractOdiEntity
oracle.odi.domain.model.AbstractOdiSubModel
public abstract class AbstractOdiSubModel
Abstract base class for sub-models.
Known subclasses are OdiGlobalSubModel
and OdiSubModel
.
Field Summary | |
---|---|
static int |
CODE_MAX_LENGTH Maximum length supported for the "code" property. |
static int |
NAME_MAX_LENGTH Maximum length supported for the "name" property. |
Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity |
---|
STARTING_INTERNAL_VERSION |
Constructor Summary | |
---|---|
AbstractOdiSubModel() |
Method Summary | |
---|---|
void |
addDataStore(OdiDataStore pDataStore) Add the given OdiDataStore to the collection of OdiDataStore s. |
java.lang.String |
getCode() Returns the code of this AbstractOdiSubModel instance. |
java.util.Collection<OdiDataStore> |
getDataStores() Obtains an unmodifiable collection of OdiDataStore s directly owned by this sub-model |
java.io.Serializable |
getInternalId() Returns the internal identifier of this OdiSubModel instance. |
OdiModel |
getModel() Returns the OdiModel this sub-model belongs to. |
java.lang.String |
getName() Returns the name of this AbstractOdiSubModel instance. |
IRepositoryEntity |
getSecurityContainer() Define a generic way to retrieve container for entities. |
java.lang.Number |
getSubModelId() Returns the id of this AbstractOdiSubModel instance. |
void |
removeDataStore(OdiDataStore pDataStore) Remove the given OdiDataStore from the collection of OdiDataStore s of this sub-model. |
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 |
---|
public static final int NAME_MAX_LENGTH
setName(String)
.
public static final int CODE_MAX_LENGTH
setCode(String)
.
Constructor Detail |
---|
public AbstractOdiSubModel()
Method Detail |
---|
public java.io.Serializable getInternalId()
OdiSubModel
instance.getInternalId
in interface IRepositoryEntity
getSubModelId()
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
public OdiModel getModel()
OdiModel
this sub-model belongs to.public java.lang.String getName()
AbstractOdiSubModel
instance.getName
in interface IOdiEntity
getName
in class oracle.odi.domain.support.AbstractOdiEntity
public java.lang.String getCode()
AbstractOdiSubModel
instance.public java.lang.Number getSubModelId()
AbstractOdiSubModel
instance.public java.util.Collection<OdiDataStore> getDataStores()
Obtains an unmodifiable collection of OdiDataStore
s directly owned by this sub-model
Use removeDataStore(OdiDataStore) and addDataStore(OdiDataStore) to respectively add and remove OdiDataStore
.
OdiDataStore
addDataStore(OdiDataStore)
, removeDataStore(OdiDataStore)
public void addDataStore(OdiDataStore pDataStore)
Add the given OdiDataStore
to the collection of OdiDataStore
s.
This will also set the SubModel of the given OdiDataStore
to this OdiSubModel instance.
If the given OdiDataStore
was already owned by an other OdiSubModel it will be removed from the previous owner.
pDataStore
- the OdiDataStore
to add.java.lang.IllegalArgumentException
- if pDataStore is null.removeDataStore(OdiDataStore)
, getDataStores()
public void removeDataStore(OdiDataStore pDataStore)
OdiDataStore
from the collection of OdiDataStore
s of this sub-model.
Note: you will have to call IOdiEntityManager.remove(pDataStore) too in order to really remove the OdiDataStore
pDataStore
- the OdiDataStore
to remove.java.lang.IllegalArgumentException
- if pDataStore is null
java.lang.IllegalArgumentException
- if pDataStore does not belong to this AbstractOdiSubModeladdDataStore(OdiDataStore)
, getDataStores()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |