|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
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.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 FormField 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 codepublic OdiContext(java.lang.String pName, java.lang.String pCode)
OdiContext
with given name and code.
pName
- context's namepCode
- context's codeMethod Detail |
---|
public java.lang.Number getContextId()
public 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 IRepositoryEntity
public boolean isInstanceLevelSecurityNeeded()
IOdiEntity
Defines a method to capture the info on which object needs instance level privilege.
isInstanceLevelSecurityNeeded
in interface IOdiEntity
isInstanceLevelSecurityNeeded
in class oracle.odi.domain.support.AbstractOdiEntity
true
if instance level security needed, false
otherwisepublic java.lang.String getCode()
OdiContext
's code.public boolean isDefaultContext()
OdiContext
has been defined as default OdiContext
, or not.true
if this is the default context, 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 java.lang.String getName()
getName
in interface IOdiEntity
getName
in class oracle.odi.domain.support.AbstractOdiEntity
setName(String)
public void setName(java.lang.String pName)
pName
- context nameDomainRuntimeException
- if name is null
, empty or longer than 35getName()
public java.util.Collection<IFlexFieldValue> getFlexFieldsValues()
IFlexFieldUser
IFlexFieldUser
.getFlexFieldsValues
in interface IFlexFieldUser
public void initFlexFields(IOdiFlexFieldFinder pOdiFlexFieldFinder)
IFlexFieldUser
IFlexFieldUser
.initFlexFields
in interface IFlexFieldUser
pOdiFlexFieldFinder
- OdiFlexField
finder to be used to query flex fieldspublic IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |