public class MappingAutoCreator
extends java.lang.Object
Constructor and Description |
---|
MappingAutoCreator() |
Modifier and Type | Method and Description |
---|---|
Mapping |
autoCreateMappingIn(IOdiEntityManager entityManager,
IDataStore store,
IFolder folder,
IContext context,
java.lang.String mappingName,
boolean recurseEnabled)
create mapping object through the provided target data store object.
|
Mapping |
autoCreateMappingOut(IOdiEntityManager entityManager,
oracle.odi.domain.mapping.autocreator.MapAttributeConnectorTree mapTree,
IFolder folder,
IContext context,
java.lang.String mappingName) |
oracle.odi.domain.mapping.autocreator.MapAttributeConnectorTree |
buildMapAttributeConnectorTree(IOdiEntityManager entityManager,
Mapping mapping,
IDataStore endOf)
This function used to find all target to source MapAttribute trail inside the given mapping which take take given endOf data store as
end point, and organize the result as a reversed target to sources tree
|
boolean |
isCandidateForMappingIn(IDataStore storeTarget) |
public Mapping autoCreateMappingIn(IOdiEntityManager entityManager, IDataStore store, IFolder folder, IContext context, java.lang.String mappingName, boolean recurseEnabled) throws AdapterException, MappingException
entityManager:
- entityManager which been used to do the back end persistencestore:
- the selected target data store, the mapping will be created for itfolder:
- the target project foldercontext:
- the selected contextmappingName:
- the mapping's name which will be createdrecurseEnabled:
- whether recurse navigate to deep source data storesAdapterException
MappingException
public boolean isCandidateForMappingIn(IDataStore storeTarget) throws AdapterException
AdapterException
public Mapping autoCreateMappingOut(IOdiEntityManager entityManager, oracle.odi.domain.mapping.autocreator.MapAttributeConnectorTree mapTree, IFolder folder, IContext context, java.lang.String mappingName) throws AdapterException, MappingException
AdapterException
MappingException
public oracle.odi.domain.mapping.autocreator.MapAttributeConnectorTree buildMapAttributeConnectorTree(IOdiEntityManager entityManager, Mapping mapping, IDataStore endOf) throws AdapterException, MappingException
entityManager
- : entityManager which been used to do the back end persistencemapping
- : the candidate mappingendOf
- : the selected target data storeAdapterException
MappingException