Skip navigation links

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

E17060-02


oracle.odi.domain
Interface IOdiEntity

All Superinterfaces:
IRepositoryEntity
All Known Subinterfaces:
IFlexFieldUser, IMasterOdiEntity, IWorkDevelopmentOdiEntity, IWorkRuntimeOdiEntity
All Known Implementing Classes:
AbstractOdiDataServer, oracle.odi.domain.support.AbstractOdiEntity, AbstractOdiSubModel, OdiCKM, OdiColumn, OdiCondition, OdiContext, OdiContextualAgentMapping, OdiContextualSchemaMapping, OdiDataServer, OdiDataStore, OdiDataType, OdiEnterpriseScheduler, OdiFilter, OdiFlexField, OdiFolder, OdiGlobalSubModel, OdiIKM, OdiIndexType, OdiInterface, OdiJKM, OdiKey, OdiKM, OdiLKM, OdiLoadPlan, OdiLoadPlanInstance, OdiLoadPlanInstanceRun, OdiLogicalAgent, OdiLogicalSchema, OdiMainPartition, OdiMasterRepositoryInfo, OdiModel, OdiModelFolder, OdiPackage, OdiPartition, OdiPhysicalAgent, OdiPhysicalAgentDataSource, OdiPhysicalSchema, OdiProcedure, OdiProject, OdiReference, OdiRepositoryServer, OdiRKM, OdiScenario, OdiScenarioFolder, OdiSequence, OdiSession, OdiSessionFolder, OdiSKM, OdiStandardSequenceValue, OdiSubModel, OdiSubPartition, OdiTechnology, OdiUser, OdiUserFunction, OdiUserProcedure, OdiVariable, OdiVariableValue, OdiWorkRepositoryInfo

public interface IOdiEntity
extends IRepositoryEntity

An interface that indicates an object is an ODI entity.

An ODI entity is any object that reside in an ODI repository and so is capable of being persisted, typically via a IOdiEntityManager implementation. In ODI, each aggregate roots have to implement this interface.

Since:
11.1.1.3.0

Method Summary
 java.util.Date getFirstDate()
          Provides a common getter to obtain the date of creation of this instance.
 java.lang.String getFirstUser()
          Provides a common getter to obtain the name of the ODI user that created this instance.
 java.util.Date getLastDate()
          Provides a common getter to obtain the date of last modification of this instance.
 java.lang.String getLastUser()
          Provides a common getter to obtain the name of the last ODI user that modified this instance.
 java.lang.String getName()
          Returns the name of this entity instance.
 boolean isInstanceLevelSecurityNeeded()
          Internal: this method is for internal purpose and must not be considered as part of the public API.

 

Methods inherited from interface oracle.odi.domain.IRepositoryEntity
getInternalId, getSecurityContainer

 

Method Detail

getFirstUser

java.lang.String getFirstUser()
Provides a common getter to obtain the name of the ODI user that created this instance.

When an instance of the subclass will be persisted, the current ODI user name will be saved on this instance in order to know which user created it. The value is set only if a real persist takes place (i.e. first persist).

Returns:
the name of the ODI User that created this object.

isInstanceLevelSecurityNeeded

boolean isInstanceLevelSecurityNeeded()
Internal: this method is for internal purpose and must not be considered as part of the public API.

Defines a method to capture the info on which object needs instance level privilege.

Returns:
true if instance level security needed, false otherwise

getName

java.lang.String getName()
Returns the name of this entity instance.
Returns:
the name

getLastUser

java.lang.String getLastUser()
Provides a common getter to obtain the name of the last ODI user that modified this instance.

When an instance of the subclass is persisted, the last user name is the same as the first user name.

When an instance of the subclass is merged, the current ODI user name will be saved on this instance in order to know which user modified it last. The value is set only if a real merge takes place (i.e. with real modifications).

Returns:
the name of the ODI User that last modified this object.

getFirstDate

java.util.Date getFirstDate()
Provides a common getter to obtain the date of creation of this instance.

When an instance of the subclass is persisted, the current date in the underlying database is saved on this instance in order to know the creation date of this instance. The value is set only if a real persist takes place (i.e. first persist).

Returns:
the creation date of this object.

getLastDate

java.util.Date getLastDate()
Provides a common getter to obtain the date of last modification of this instance.

When an instance of the subclass is merged, the current date in the underlying database is saved on this instance in order to know the creation date of this instance. The value is set only if a real merge takes place (i.e. real modifications).

Returns:
the last date of modification of this instance.

Skip navigation links

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

E17060-02


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.