|
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.project.interfaces.SourceDataStore
public class SourceDataStore
A class that represents a OdiDataStore object that is used as a source in an ODI interface.
This class implements the IInterfaceSubComponent interface, so it can be added to
collections of interface subcomponents that are passed to various helper classes in the SDK.
| Field Summary | |
|---|---|
static int |
ALIAS_MAX_LENGTH
The maximum string length allowed for the source alias name in the interface. |
| Constructor Summary | |
|---|---|
SourceDataStore(DataSet pDataSet,
boolean pJournalized,
java.lang.String pAlias,
int pOrder,
OdiDataStore pUnderlyingOdiDataStore)
The constructor for the object. |
|
SourceDataStore(DataSet pDataSet,
boolean pJournalized,
java.lang.String pAlias,
int pOrder,
OdiInterface pUnderlyingOdiInterface)
The constructor for the object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlias()
Get the alias used for the data store when queries are generated using this source. |
ISourceColumn |
getColumn(java.lang.String pName)
Get the ISourceColumn in this source with the specified name. |
java.util.List<ISourceColumn> |
getColumns()
Get a list of all ISourceColumn interface objects corresponding to the columns of this source. |
DataSet |
getDataSet()
Get the DataSet object that contains this source in the interface. |
OdiContext |
getForcedContext()
Gets the forced context for the source, or null if no forced context is set. |
java.io.Serializable |
getInternalId()
Gets the internal persistent repository id of this object. |
java.util.List<JournalizedSourceColumn> |
getJournalizedColumns()
Get a list of the journalized columns of this source data store. |
java.util.Collection<IKey<ISourceColumn>> |
getKeys()
Return the set of ISourceColumn objects corresponding to the key columns of this source. |
OdiLogicalSchema |
getLogicalSchema()
Get the logical schema associated with the underlying data store for this source. |
java.lang.String |
getName()
Get the name of this source data store. |
int |
getOrder()
Gets the numeric order value that is used to calculate the order in which this data source appears in the generated runtime query for the interface. |
OdiPartition |
getPartition()
Get the OdiPartition associated with this source. |
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities. |
java.util.List<SourceColumn> |
getSourceColumns()
Get a list of all SourceColumn objects corresponding to the columns of this source. |
java.lang.Number |
getSourceDataStoreId()
Gets the internal persistent repository id of this object. |
SourceSet |
getSourceSet()
Get the SourceSet object that contains this source data store in the interface. |
java.lang.String |
getSubComponentDescription()
Get the NLS-compliant description of this subcomponent of the interface, using the default locale. |
java.lang.String |
getSubComponentDescription(java.util.Locale pLocale)
Get the NLS-compliant description of this subcomponent of the interface, using the specified locale. |
java.lang.String |
getTableName()
For internal use only. |
IDataStore<? extends IColumn,? extends IKey> |
getUnderlyingDataStore()
Returns an IDataStore corresponding to the underlying DataStore of the source table.If this SourceDataStore was created using an OdiDataStore, this method returns this OdiDataStore.If this SourceDataStore was created using an OdiInterface, this method returns the OdiInterface.TargetDataStore of this OdiInterface. |
OdiDataStore |
getUnderlyingOdiDataStore()
Gets the underlying OdiDataStore for this interface source. |
OdiInterface |
getUnderlyingOdiInterface()
Gets the underlying OdiInterface object whose target is used as a source
for the interface. |
boolean |
isJournalized()
Gets the jounalized flag value for this data source. |
boolean |
isLookup()
Returns true if this source data store is used by a lookup Join object in the interface. |
boolean |
isSelectLookup()
If this data source is used in a lookup, return true if the lookup is a select lookup. |
boolean |
isSubInterfaceAsDerived()
In the case where this source is actually a temporary target of another interface (a subinterface source), gets a flag that indicates whether to treat the subinterface as a derived source. |
void |
refreshColumns()
For internal use only. |
void |
setAlias(java.lang.String pAlias)
Sets the alias used for the data store when queries are generated using this source. |
void |
setForcedContext(OdiContext pForcedContext)
Sets the forced context for the source. |
void |
setJournalized(boolean pJournalized)
Set the journalized flag for this data source. |
void |
setLogicalSchema(OdiLogicalSchema pSchema)
Set the logical schema associated with the underlying data store for this source. |
void |
setLookup(boolean pLookup)
Sets this source data store as a lookup source. |
void |
setOrder(int pOrder)
Sets the numeric order value that is used to calculate the order in which this data source appears in the generated runtime query for the interface. |
void |
setPartition(OdiPartition pPartition)
Set the OdiPartition associated with this source. |
void |
setSelectLookup(boolean pSelectLookup)
Set a flag indicating that this source is part of a select lookup. |
void |
setSourceSet(SourceSet pSourceSet)
Set the SourceSet object that contains this source data store in the interface. |
void |
setSubInterfaceAsDerived(boolean pSubInterfaceAsDerived)
In the case where this source is actually a temporary target of another interface (a subinterface source), sets a flag that indicates whether to treat the subinterface as a derived source. |
void |
setTableName(java.lang.String pTableName)
For internal use only. |
| Methods inherited from class oracle.odi.domain.support.BusinessObject |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ALIAS_MAX_LENGTH
| Constructor Detail |
|---|
public SourceDataStore(DataSet pDataSet,
boolean pJournalized,
java.lang.String pAlias,
int pOrder,
OdiDataStore pUnderlyingOdiDataStore)
InteractiveInterfaceHelperWithActions
helper class with the
InteractiveActionAddSourceDataStore
action class. For internal use only.
pDataSet - The interface DataSet to which the data store should be added.pJournalized - If true, then the data store being added will be registered as journalized.pAlias - The alias used for the data store when SQL queries are generated for the interface.pOrder - The order number used to control the order of appearance of this data store in generated SQL queries.pUnderlyingOdiDataStore - The OdiDataStore object to be added as a source the the interface.
public SourceDataStore(DataSet pDataSet,
boolean pJournalized,
java.lang.String pAlias,
int pOrder,
OdiInterface pUnderlyingOdiInterface)
InteractiveInterfaceHelperWithActions
helper class with the
InteractiveActionAddSourceDataStore
action class. For internal use only.
pDataSet - The interface DataSet to which the data store should be added.pJournalized - If true, then the data store being added will be registered as journalized.pAlias - The alias used for the data store when SQL queries are generated for the interface.pOrder - The order number used to control the order of appearance of this data store in generated SQL queries.pUnderlyingOdiInterface - The OdiInterface object whose target will be added as a source the interface (used to create complex subqueries in the generated code).| Method Detail |
|---|
public java.lang.String getAlias()
setAlias(String)
public ISourceColumn getColumn(java.lang.String pName)
throws ColumnNotFoundException
ISourceColumn in this source with the specified name.
getColumn in interface IDataStore<ISourceColumn,IKey<ISourceColumn>>pName - The name of the column to find.
ColumnNotFoundExceptionpublic java.util.List<ISourceColumn> getColumns()
ISourceColumn interface objects corresponding to the columns of this source.
getColumns in interface IDataStore<ISourceColumn,IKey<ISourceColumn>>public DataSet getDataSet()
DataSet object that contains this source in the interface. The data set
is a set of sources that are grouped together for purposes of set operations. In many cases
there will only be one DataSet per interface.
DataSet that contains this source.public OdiContext getForcedContext()
null if no forced context is set.
When resolving the source to a physical location or schema, the execution context specified
when starting the execution is used, unless a forced context is set for the source.
setForcedContext(OdiContext)public java.io.Serializable getInternalId()
getInternalId in interface IRepositoryEntitygetInternalId in interface IInterfaceSubComponentSerializable number object representing the id.public java.util.List<JournalizedSourceColumn> getJournalizedColumns()
public java.util.Collection<IKey<ISourceColumn>> getKeys()
ISourceColumn objects corresponding to the key columns of this source.
getKeys in interface IDataStore<ISourceColumn,IKey<ISourceColumn>>public OdiLogicalSchema getLogicalSchema()
OdiDataStore.
setLogicalSchema(OdiLogicalSchema)public java.lang.String getName()
getName in interface IDataStore<ISourceColumn,IKey<ISourceColumn>>public int getOrder()
setOrder(int)public OdiPartition getPartition()
OdiPartition associated with this source. The partition specifies a
subset of the source data that will be processed for the interface execution.
setPartition(OdiPartition)public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer in interface IRepositoryEntitypublic java.util.List<SourceColumn> getSourceColumns()
SourceColumn objects corresponding to the columns of this source.
public java.lang.Number getSourceDataStoreId()
public SourceSet getSourceSet()
SourceSet object that contains this source data store in the interface.
The source set is a grouping of sources from the same physical location or schema.
setSourceSet(SourceSet)public java.lang.String getSubComponentDescription()
getSubComponentDescription in interface IInterfaceSubComponentpublic java.lang.String getSubComponentDescription(java.util.Locale pLocale)
getSubComponentDescription in interface IInterfaceSubComponentpLocale - The locale to use when getting the description.
public java.lang.String getTableName()
setTableName(String)public IDataStore<? extends IColumn,? extends IKey> getUnderlyingDataStore()
IDataStore corresponding to the underlying DataStore of the source table.SourceDataStore was created using an OdiDataStore, this method returns this OdiDataStore.SourceDataStore was created using an OdiInterface, this method returns the OdiInterface.TargetDataStore of this OdiInterface.
public OdiDataStore getUnderlyingOdiDataStore()
OdiDataStore for this interface source. This is only applicable
if this source is not a subinterface source.
OdiDataStore if it exists, or null if this SourceDataStore refers to an OdiInterface.public OdiInterface getUnderlyingOdiInterface()
OdiInterface object whose target is used as a source
for the interface. This is only applicable if this source is a subinterface source.
OdiInterface if it exists, or null if this SourceDataStore refers to an OdiDataStore.public boolean isJournalized()
public boolean isLookup()
Join object in the interface.
public boolean isSelectLookup()
public boolean isSubInterfaceAsDerived()
public void refreshColumns()
public void setAlias(java.lang.String pAlias)
pAlias - The new alias to set.getAlias()public void setForcedContext(OdiContext pForcedContext)
pForcedContext - The forced context to be set.getForcedContext()public void setJournalized(boolean pJournalized)
pJournalized - The new setting. If true, the source will be registered as journalized.public void setLogicalSchema(OdiLogicalSchema pSchema)
OdiDataStore.
pSchema - The logical schema associated with the source.getLogicalSchema()public void setLookup(boolean pLookup)
pLookup - The new boolean value indicating whether this is a lookup source.public void setOrder(int pOrder)
pOrder - The new order number value.getOrder()public void setPartition(OdiPartition pPartition)
OdiPartition associated with this source. The partition specifies a
subset of the source data that will be processed for the interface execution.
pPartition - The partition to be associated with this source.getPartition()public void setSelectLookup(boolean pSelectLookup)
pSelectLookup - The new value for the select lookup flag.public void setSourceSet(SourceSet pSourceSet)
SourceSet object that contains this source data store in the interface.
The source set is a grouping of sources from the same physical location or schema.
pSourceSet - The new source set that will contain this source data store.getSourceSet()public void setSubInterfaceAsDerived(boolean pSubInterfaceAsDerived)
pSubInterfaceAsDerived - The new derived interface flag.public void setTableName(java.lang.String pTableName)
pTableName - The new table name for the source.getTableName()
|
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 | ||||||||