OdiInterface.
 A DataSet is a subset of sources that can be combined with other DataSets using Set operators (such as UNION, MINUS, etc.).
 DataSets contain SourceDataStores, Joins, Filters and TargetMappings (which are occurrences of mappings executed on Source or Staging Area.DataSet please use instances of IInteractiveInterfaceHelper such as InteractiveInterfaceHelperWithActions.public class DataSet extends oracle.odi.domain.support.AbstractRepositoryEntity implements IInterfaceSubComponent, OdiInterface.IPersistenceComparable
| Constructor and Description | 
|---|
DataSet(OdiInterface pInterface,
       java.lang.String pName)
Deprecated.  
Internal use only
 Builds a new DataSet in the given parent interface. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addFilter(Filter pFilter)
Deprecated.  
Internal use only
 Adds the given filter to this dataset. 
 | 
void | 
addJoin(Join pJoin)
Deprecated.  
Internal use only
 Adds the given join to this dataset. 
 | 
void | 
addMapping(TargetMapping pMapping)
Deprecated.  
Internal use only
 Adds a new target mapping to this dataset. 
 | 
void | 
addSourceDataStore(SourceDataStore pSourceDataStore)
Deprecated.  
Internal use only
 Adds a given source datastore to this dataset. 
 | 
void | 
addSourceSet(SourceSet pSourceSet)
Deprecated.  
Internal use only
 Adds the given source set to this dataset. 
 | 
java.lang.Number | 
getDataSetId()
Deprecated.  
Returns the internal ID of this dataset. 
 | 
java.util.Collection | 
getFilters()
Deprecated.  
Returns the list of filters contained in this dataset. 
 | 
java.util.Collection | 
getGenericClauses()
Deprecated.  
Returns the list of generic clauses of this dataset, which is the list of
 filters and joins in this dataset. 
 | 
java.lang.String | 
getGlobalId()
Deprecated.  
Global ID is unique cross repositories. 
 | 
OdiInterface | 
getInterface()
Deprecated.  
Returns the parent interface containing this dataset. 
 | 
java.io.Serializable | 
getInternalId()
Deprecated.  
The internal ID of this sub component. 
Returning null from this method will indicate the object has never been persisted in the repository. | 
java.util.Collection | 
getJoins()
Deprecated.  
Returns the list of joins contained in this dataset. 
 | 
TargetMapping | 
getMapping(java.lang.String pColumnName)
Deprecated.  
Returns the target mapping in this dataset which corresponds to the target
 column of the given name. 
 | 
java.util.Collection | 
getMappings()
Deprecated.  
Returns the list of target mappings contained in this dataset. 
 | 
java.lang.String | 
getName()
Deprecated.  
Returns the name of this DataSet. 
 | 
java.lang.String | 
getOperator()
Deprecated.  
Returns the set operator used to join this dataset with the next one in
 the list of datasets of the parent interface. 
 | 
int | 
getOrder()
Deprecated.  
Returns the order number of this dataset. 
 | 
java.util.List | 
getSortedDataStores()
Deprecated.  
  | 
java.util.Collection | 
getSourceDataStores()
Deprecated.  
Returns the list of source datastores contained in this dataset. 
 | 
java.util.Collection | 
getSourceSets()
Deprecated.  
Returns the list of source sets contained in this dataset. 
 | 
java.lang.String | 
getSubComponentDescription()
Deprecated.  
Returns the sub component's description in a human-readable way. 
 | 
java.lang.String | 
getSubComponentDescription(java.util.Locale pLocale)
Deprecated.  
Returns the sub component's description in a human-readable way for the given Locale. 
 | 
void | 
initializeMappingsFromPersisted()
Deprecated.  
Internal use only
 Populates internal mapping between target column name and target mapping
 from persistence data structure. 
 | 
boolean | 
internalPersistenceEquals(DataSet d2)
Deprecated.  
Returns  
true if this instance is equal to i2 in terms of persisted fields only | 
void | 
populatePersistedMappings()
Deprecated.  
Internal use only
 Populates persistence data structure from internal mapping between target
 column name and target mapping. 
 | 
void | 
removeFilter(Filter pFilter)
Deprecated.  
Internal use only
 Removes a filter from this dataset. 
 | 
void | 
removeJoin(Join pJoin)
Deprecated.  
Internal use only
 Removes a join from this dataset. 
 | 
void | 
removeMapping(TargetMapping pTargetMapping)
Deprecated.  
Internal use only
 Removes a target mapping from this dataset. 
 | 
void | 
removeSourceDataStore(SourceDataStore pSourceDataStore)
Deprecated.  
Internal use only
 Removes a source datastore from this dataset. 
 | 
void | 
removeSourceSet(SourceSet pSourceSet)
Deprecated.  
Internal use only
 Removes a source set from this dataset. 
 | 
void | 
renameMapping(java.lang.String pOldName,
             java.lang.String pNewName)
Deprecated.  
Internal use only
 Updates target mapping when given target column name is changed. 
 | 
void | 
resetOperator()
Deprecated.  
Internal use only
 Sets the operator to  
null. | 
void | 
setName(java.lang.String pName)
Deprecated.  
Sets a new name for this dataset. 
 | 
void | 
setOperator(java.lang.String pOperator)
Deprecated.  
Internal use only
 Sets the set operator used to join this dataset with the next one in the
 list of datasets of the parent interface. 
 | 
void | 
setOrder(int pOrder)
Deprecated.  
Internal use only
 Sets the order number of this dataset. 
 | 
public DataSet(OdiInterface pInterface, java.lang.String pName)
pInterface - the interface in which this dataset is to be createdpName - the name of this new dataset.public java.lang.String getName()
setName(String)public java.io.Serializable getInternalId()
IInterfaceSubComponentnull from this method will indicate the object has never been persisted in the repository.getInternalId in interface IRepositoryEntitygetInternalId in interface IInterfaceSubComponentpublic java.lang.String getOperator()
setOperator(String)public void setOperator(java.lang.String pOperator)
pOperator - The new set operator.getOperator()public void resetOperator()
null. WARNING: call only on the first dataset!public int getOrder()
setOrder(int)public void setOrder(int pOrder)
pOrder - The new order number of this dataset.getOrder()public java.lang.Number getDataSetId()
public void setName(java.lang.String pName)
pName - The new name for this dataset.getName()public OdiInterface getInterface()
public java.util.Collection getMappings()
TargetMappingpublic TargetMapping getMapping(java.lang.String pColumnName)
null if there is
 no target column with the given name, or if such target column is not
 mapped, or if the mapping of such target column is to be executed on
 target.pColumnName - The name of the desired target column.TargetMappingpublic java.util.Collection getFilters()
Filterpublic java.util.Collection getJoins()
Joinpublic java.util.Collection getSourceDataStores()
SourceDataStorepublic java.util.List getSortedDataStores()
public void addSourceDataStore(SourceDataStore pSourceDataStore)
pSourceDataStore - The source datastore to be added.public java.util.Collection getSourceSets()
SourceSetpublic void addSourceSet(SourceSet pSourceSet)
pSourceSet - The source set to be added.SourceSetpublic void addJoin(Join pJoin)
pJoin - The join object to be added.Joinpublic void addFilter(Filter pFilter)
pFilter - The filter object to be added.Filterpublic void addMapping(TargetMapping pMapping)
pMapping - The new target mapping to be added.TargetMappingpublic void removeSourceDataStore(SourceDataStore pSourceDataStore)
pSourceDataStore - The source datastore to be removed.SourceDataStorepublic void removeSourceSet(SourceSet pSourceSet)
pSourceSet - The source set to be removed.SourceSetpublic void removeJoin(Join pJoin)
pJoin - The join object to be removed.Joinpublic void removeFilter(Filter pFilter)
pFilter - The filter object to be removed.Filterpublic void removeMapping(TargetMapping pTargetMapping)
pTargetMapping - The target mapping to be removed.TargetMappingpublic void renameMapping(java.lang.String pOldName,
                          java.lang.String pNewName)
pOldName - The old name for the target column.pNewName - The new name for the target column.public java.util.Collection getGenericClauses()
GenericClausepublic void initializeMappingsFromPersisted()
public void populatePersistedMappings()
public java.lang.String getSubComponentDescription()
IInterfaceSubComponentgetSubComponentDescription in interface IInterfaceSubComponentpublic java.lang.String getSubComponentDescription(java.util.Locale pLocale)
IInterfaceSubComponentgetSubComponentDescription in interface IInterfaceSubComponentpLocale - the Locale for which the description should be returnedpublic boolean internalPersistenceEquals(DataSet d2)
OdiInterface.IPersistenceComparabletrue if this instance is equal to i2 in terms of persisted fields onlyinternalPersistenceEquals in interface OdiInterface.IPersistenceComparabletrue if this equals to i2public java.lang.String getGlobalId()
IRepositoryEntitygetGlobalId in interface IRepositoryEntitygetGlobalId in class oracle.odi.domain.support.AbstractRepositoryEntity