public class ReusableMapping extends oracle.odi.domain.mapping.MapRootContainer implements IReusableMapping, IMapSignatureOwner, oracle.odi.domain.shortcuts.IOdiShortcutable, oracle.odi.domain.impexp.IExportable, oracle.odi.impexp.smartie.ISmartExportable, IShortcutableModelObject, oracle.odi.core.audit.support.IAuditableFirstClassObject
| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_MAX_LENGTH
Maximum length of a reusable mapping.
|
static java.lang.String |
PROPKEY_TARGET_LOAD_ORDER
Property key name value for the target load order property.
|
METADATA_VERSION_11, METADATA_VERSION_12| Constructor and Description |
|---|
ReusableMapping(java.lang.String pName)
Constructs a new reusable mapping in the global workspace.
|
ReusableMapping(java.lang.String pName,
IFolder pFolder)
Constructs a new reusable mapping under the specified folder.
|
ReusableMapping(java.lang.String pName,
IFolder pFolder,
ReusableMapping referenceReusableMapping)
Constructs a new shortcut reusable mapping under the specified folder, referencing the specified reusable mapping.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
changeShortcutReferenceObject(ReusableMapping pReferenceObject) |
void |
checkValidReference(ReusableMapping pReferenceObject) |
void |
deleteReferencesTo(MapExpression expr) |
java.util.List |
findReferencingMappings(oracle.odi.domain.adapter.AdapterBase adapter)
Return a list of all mappings that use this reusable map in a reusable mapping component, including
nested usages.
|
IContext |
getDefaultContext()
Get the default context for the mapping.
|
java.lang.String |
getDisplayableTypeName()
Get a user-displayable type name for the object.
|
java.lang.String |
getFullName() |
IRoot |
getOwner()
Gets the mapping owner (or parent) of this object.
|
IProject |
getProject()
Gets the project owning this reusable mapping.
|
IModelObject |
getRealModelObject()
Returns the real model object of the current shortcut
|
ReusableMapping |
getRealObject() |
IReleaseTag |
getReleaseTag() |
ReusableMapping |
getShortcutBaseObject() |
java.lang.Number |
getShortcutBigNumericId()
Gets a numeric ID of the shortcut object, for repositories that support numeric id.
|
java.lang.String |
getShortcutGlobalId()
Gets the global ID of the shortcut object, which should be unique across the repository.
|
java.lang.Integer |
getShortcutNumericId()
Deprecated.
|
ReusableMapping |
getShortcutOrigObject()
Deprecated.
|
ReusableMapping |
getShortcutReferenceObject() |
boolean |
isShortcut()
Returns true if this reusable mapping is a shortcut.
|
boolean |
isShortcutModelObject()
Returns true if the model object is shortcut.
|
void |
setName(java.lang.String name)
Set the name of the object.
|
boolean |
setShortcutBaseObject(ReusableMapping pBaseObject) |
boolean |
setShortcutReferenceObject(ReusableMapping pReferenceObject) |
boolean |
supportComponentOfType(java.lang.String type)
Determine if this component owner can support (own) a component of the given type.
|
addLookupEntry, buildSequenceAndVariableLookups, clearProperties, clearSequenceVariableLookup, findReference, getAllComponents, getAllMapReferenceOwners, getAllReferences, getAllUsedMapReferences, getCachedChangeType, getComponents, getFolder, getLongAdapterInterfaceType, getReference, getReference, getReferenceKey, getReferenceKey, getReferenceKey, getShortAdapterInterfaceType, getShortAdapterInterfaceType, getSyncState, handleMapChangeEvent, initializeExpressionReferences, initializeProperties, internalGetAllReferences, internalGetReference, isModelObjectLookupAvailable, isReadOnlyMapping, isReusableMapping, isTransientMapping, lookUpSequenceOrVariable, persistReferenceOwner, rebuildPropertiesList, removeAllRefPathPoints, removeUnusedReferences, removeUnusedReferences, setAdapter, setDisableCompressReferences, setEntityManager, setExtendedEntityManager, setFolder, setIsTransientMapping, setReferenceValue, syncMapping, syncMapping, syncMapping, syncMapping, syncMapping, syncOdiMapping, toString, unpersistReference, updateReferencesInfo, useExtendedEntityManagergetFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, isInstanceLevelSecurityNeeded, isNewaddComponent, afterConnect, containsComponent, createComponent, createComponent, createComponent, doExpandableComponentCallback, findAllComponents, findAllSplitPaths, findAttributeByGlobalId, findAttributeByInternalId, findAttributeByName, findComponent, findComponentBoundTo, findComponentByGlobalId, findComponentByInternalId, findComponentByName, findComponentOfType, findComponentsBoundTo, findConnector, findConnectorPointByGlobalId, findConnectorPointByInternalId, findConnectorPointByName, findExpressionByGlobalId, findExpressionByName, findExpressionByQualifiedName, findSubComponentOwner, getAllComponentsOfType, getAllGlobalExpressions, getAllSignatureOwnerHolders, getAllSubComponentOwners, getComponentCount, getComponentOwner, getLeafLevelComponents, getLeafLevelEndpoints, getLeafLevelTargets, getMapRootContainer, getSortedComponents, getSources, getTargets, getTopLevelComponentsOfType, getTopLevelSources, getTopLevelTargets, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, handleChildMapChangeEvent, invalidateExpressions, isComponent, isExpandableComponent, isRootContainer, isSignatureOwner, navigateUpstreamThroughRMC, rebuildComponentList, removeComponent, removeComponent, reorderComponent, validate, validateaddProperty, addPropertyChangeListener, adjustPropertyPersistency, createProperty, createProperty, delete, getAllProperties, getAllProperties, getAllPropertyMapReferenceOwners, getBooleanPropertyValue, getChildNamespaceId, getDisplayableProperties, getExpressionPropertyValue, getIntPropertyValue, getProperties, getProperties, getProperty, getPropertyMetadataOwner, getPropertyValue, getPropertyValueReference, getStringPropertyValue, initiateDynamicProperties, internalGetAllProperties, internalGetProperties, internalIsPropertyDefined, internalSetPropertyValue, isPropertyDefined, notifyPropertyChange, notifyPropertyChangeListeners, onSave, propertyValueGetterHook, removeAllProperties, removeProperty, removePropertyChangeListener, setBooleanPropertyValue, setIntPropertyValue, setPropertyValuegetBusinessName, getDescription, getGlobalNamespaceId, getName, getNamespaceId, setBusinessName, setDescriptionaddCachedIssue, addCachedIssues, clearIssueCache, displayIssues, displayIssues, displayIssues, dump, dump, dump, dump, dumpToString, equals, getCachedErrors, getCachedSyncState, getCachedValidationErrorMessage, getDisplayableObjectName, getFCOContainer, getGUID, getInternalId, getPropertyDefinitionOwner, getRootContainer, getStrongTypeClassName, getValueHolderValue, hasAdapter, hashCode, setCachedSyncState, validategetBigNumericId, getGlobalId, getNumericId, getParentgetFoldergetNamegetBigNumericId, getGlobalId, getNumericIdaddComponent, containsComponent, createComponent, createComponent, createComponent, findAllComponents, findComponent, findComponentBoundTo, findComponentOfType, findComponentsBoundTo, findConnector, findSubComponentOwner, getAllComponents, getAllComponentsOfType, getAllSignatureOwnerHolders, getAllSubComponentOwners, getComponentCount, getComponents, getLeafLevelComponents, getLeafLevelEndpoints, getLeafLevelTargets, getMapRootContainer, getSources, getTargets, getTopLevelComponentsOfType, getTopLevelSources, getTopLevelTargets, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, isComponent, isExpandableComponent, isSignatureOwner, removeComponent, removeComponentaddProperty, createProperty, getAllProperties, getBooleanPropertyValue, getDisplayableProperties, getExpressionPropertyValue, getIntPropertyValue, getProperties, getProperty, getPropertyValue, getStringPropertyValue, isPropertyDefined, setBooleanPropertyValue, setIntPropertyValue, setPropertyValuegetBusinessName, getDescription, getName, setBusinessName, setDescriptiondump, dump, getDisplayableObjectName, getGUID, getStrongTypeClassName, validate, validate, validategetRootContainergetGlobalId, getInternalId, getParentgetFirstDate, getFirstUser, getLastDate, getLastUser, getName, isInstanceLevelSecurityNeededfindComponentpublic static final int NAME_MAX_LENGTH
public static final java.lang.String PROPKEY_TARGET_LOAD_ORDER
public ReusableMapping(java.lang.String pName)
throws MappingException
pName - the name of the Reusable MappingPropertyExceptionMappingExceptionpublic ReusableMapping(java.lang.String pName,
IFolder pFolder)
throws MappingException
pName - the name of the Reusable MappingpFolder - the folder in which the Reusable Mapping will be created.PropertyExceptionMappingExceptionpublic ReusableMapping(java.lang.String pName,
IFolder pFolder,
ReusableMapping referenceReusableMapping)
throws MappingException
pName - the name of the Reusable MappingpFolder - the folder in which the Reusable Mapping will be created.referenceReusableMapping - the reusable mapping referenced by this shortcut.PropertyExceptionMappingExceptionpublic java.lang.String getFullName()
getFullName in class oracle.odi.domain.mapping.MapRootContainerpublic void setName(java.lang.String name)
throws MappingException
INamedObjectsetName in interface INamedObjectsetName in class oracle.odi.domain.root.NamedObjectMappingException - TODOpublic IRoot getOwner()
IRootpublic java.lang.String getDisplayableTypeName()
IRootgetDisplayableTypeName in interface IPropertyOwnergetDisplayableTypeName in interface IRootgetDisplayableTypeName in class oracle.odi.domain.root.PropertyOwnerpublic IContext getDefaultContext() throws AdapterException
IMapRootContainergetDefaultContext in interface IMapRootContainerAdapterExceptionpublic IProject getProject()
IReusableMappinggetProject in interface IReusableMappinggetProject in interface IMapRootContainerpublic ReusableMapping getShortcutBaseObject()
getShortcutBaseObject in interface oracle.odi.domain.shortcuts.IOdiShortcutablepublic boolean setShortcutBaseObject(ReusableMapping pBaseObject)
setShortcutBaseObject in interface oracle.odi.domain.shortcuts.IOdiShortcutablepublic ReusableMapping getShortcutReferenceObject()
getShortcutReferenceObject in interface oracle.odi.domain.shortcuts.IOdiShortcutablepublic boolean setShortcutReferenceObject(ReusableMapping pReferenceObject)
setShortcutReferenceObject in interface oracle.odi.domain.shortcuts.IOdiShortcutablepublic ReusableMapping getShortcutOrigObject()
getShortcutOrigObject in interface oracle.odi.domain.shortcuts.IOdiShortcutablepublic boolean isShortcut()
IReusableMappingisShortcut in interface IReusableMappingisShortcut in interface oracle.odi.domain.shortcuts.IOdiShortcutableisShortcut in class oracle.odi.domain.mapping.MapRootContainerpublic IReleaseTag getReleaseTag()
getReleaseTag in interface oracle.odi.domain.shortcuts.IOdiShortcutablepublic ReusableMapping getRealObject()
getRealObject in interface IMapSignatureOwnergetRealObject in interface oracle.odi.domain.shortcuts.IOdiShortcutablegetRealObject in class oracle.odi.domain.mapping.MapRootContainerpublic void checkValidReference(ReusableMapping pReferenceObject)
checkValidReference in interface oracle.odi.domain.shortcuts.IOdiShortcutablepublic boolean changeShortcutReferenceObject(ReusableMapping pReferenceObject)
changeShortcutReferenceObject in interface oracle.odi.domain.shortcuts.IOdiShortcutablepublic IModelObject getRealModelObject()
IShortcutableModelObjectgetRealModelObject in interface IShortcutableModelObjectpublic java.lang.String getShortcutGlobalId()
IShortcutableModelObjectgetShortcutGlobalId in interface IShortcutableModelObject@Deprecated public java.lang.Integer getShortcutNumericId()
getShortcutNumericId in interface IShortcutableModelObjectpublic java.lang.Number getShortcutBigNumericId()
IShortcutableModelObjectgetShortcutBigNumericId in interface IShortcutableModelObjectpublic boolean isShortcutModelObject()
IShortcutableModelObjectisShortcutModelObject in interface IShortcutableModelObjectpublic void deleteReferencesTo(MapExpression expr)
deleteReferencesTo in class oracle.odi.domain.mapping.MapRootContainerpublic java.util.List findReferencingMappings(oracle.odi.domain.adapter.AdapterBase adapter)
throws AdapterException
AdapterExceptionpublic boolean supportComponentOfType(java.lang.String type)
supportComponentOfType in class oracle.odi.domain.mapping.MapComponentOwnertype - The component type for the component.