|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.odi.domain.support.BusinessObject
oracle.odi.domain.support.AbstractRepositoryEntity
oracle.odi.domain.support.AbstractOdiEntity
oracle.odi.domain.topology.OdiContext
public class OdiContext
An ODI Context.
This class doesn't provides any method to manage mapping between physical
schema and logical schema. It only permit to define a context in the ODI topology.
Such OdiContext can then be used to map schemas using the class
OdiContextualSchemaMapping.
OdiPhysicalSchema,
OdiLogicalSchema,
OdiContextualSchemaMapping,
Serialized Form| Field Summary | |
|---|---|
static int |
CODE_MAX_LENGTH
Max length of context code. |
static int |
NAME_MAX_LENGTH
Max length of context name. |
| Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
STARTING_INTERNAL_VERSION |
| Constructor Summary | |
|---|---|
OdiContext(java.lang.String pCode)
Create a new OdiContext with given code. |
|
OdiContext(java.lang.String pName,
java.lang.String pCode)
Create a new OdiContext with given name and code. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCode()
Returns this OdiContext's code. |
java.lang.Number |
getContextId()
Returns the Internal Context ID. |
java.util.Collection<IFlexFieldValue> |
getFlexFieldsValues()
Obtains flex fields values related to this IFlexFieldUser. |
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 Context Name. |
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities. |
void |
initFlexFields(IOdiFlexFieldFinder pOdiFlexFieldFinder)
Initialize flex fields related to this IFlexFieldUser. |
boolean |
isDefaultContext()
Returns whether this OdiContext has been defined as default OdiContext,
or not. |
boolean |
isInstanceLevelSecurityNeeded()
Internal: this method is for internal purpose and must not be considered as part of the public API. |
void |
setDefaultContext(boolean pDefaultContext)
Set the default context without changing other context. |
void |
setName(java.lang.String pName)
Sets the Context Name. |
| Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, 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 |
| Field Detail |
|---|
public static final int CODE_MAX_LENGTH
public static final int NAME_MAX_LENGTH
| Constructor Detail |
|---|
public OdiContext(java.lang.String pCode)
OdiContext with given code.
This constructor also defines the context's name with that code value as a default name value for this OdiContext.
pCode - the context's code
public OdiContext(java.lang.String pName,
java.lang.String pCode)
OdiContext with given name and code.
pName - context's namepCode - context's code| Method Detail |
|---|
public java.lang.String getCode()
OdiContext's code.
public java.lang.Number getContextId()
public java.util.Collection<IFlexFieldValue> getFlexFieldsValues()
IFlexFieldUserIFlexFieldUser.
getFlexFieldsValues in interface IFlexFieldUserpublic java.io.Serializable getInternalId()
IRepositoryEntity
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.
getInternalId in interface IRepositoryEntitypublic java.lang.String getName()
getName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntitysetName(String)public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer in interface IRepositoryEntitypublic void initFlexFields(IOdiFlexFieldFinder pOdiFlexFieldFinder)
IFlexFieldUserIFlexFieldUser.
initFlexFields in interface IFlexFieldUserpOdiFlexFieldFinder - OdiFlexField finder to be used to query flex fieldspublic boolean isDefaultContext()
OdiContext has been defined as default OdiContext,
or not.
true if this is the default context,
false otherwisepublic boolean isInstanceLevelSecurityNeeded()
IOdiEntityDefines a method to capture the info on which object needs instance level privilege.
isInstanceLevelSecurityNeeded in interface IOdiEntityisInstanceLevelSecurityNeeded in class oracle.odi.domain.support.AbstractOdiEntitytrue if instance level security needed,
false otherwisepublic void setDefaultContext(boolean pDefaultContext)
INTERNAL: Do not call this method. It is internally used to define default context
from IOdiEntityManager#setDefaultContext(String) method, which is the public API to
define default context.
pDefaultContext - default context valuepublic void setName(java.lang.String pName)
pName - context name
java.lang.IllegalArgumentException - if name is null, empty or longer
than 35getName()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||