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, useExtendedEntityManager
getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, isInstanceLevelSecurityNeeded, isNew
addComponent, 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, validate
addProperty, 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, setPropertyValue
getBusinessName, getDescription, getGlobalNamespaceId, getName, getNamespaceId, setBusinessName, setDescription
addCachedIssue, 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, validate
getBigNumericId, getGlobalId, getNumericId, getParent
getFolder
getName
getBigNumericId, getGlobalId, getNumericId
addComponent, 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, removeComponent
addProperty, createProperty, getAllProperties, getBooleanPropertyValue, getDisplayableProperties, getExpressionPropertyValue, getIntPropertyValue, getProperties, getProperty, getPropertyValue, getStringPropertyValue, isPropertyDefined, setBooleanPropertyValue, setIntPropertyValue, setPropertyValue
getBusinessName, getDescription, getName, setBusinessName, setDescription
dump, dump, getDisplayableObjectName, getGUID, getStrongTypeClassName, validate, validate, validate
getRootContainer
getGlobalId, getInternalId, getParent
getFirstDate, getFirstUser, getLastDate, getLastUser, getName, isInstanceLevelSecurityNeeded
findComponent
public 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 MappingPropertyException
MappingException
public 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.PropertyException
MappingException
public 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.PropertyException
MappingException
public java.lang.String getFullName()
getFullName
in class oracle.odi.domain.mapping.MapRootContainer
public void setName(java.lang.String name) throws MappingException
INamedObject
setName
in interface INamedObject
setName
in class oracle.odi.domain.root.NamedObject
MappingException
- TODOpublic IRoot getOwner()
IRoot
public java.lang.String getDisplayableTypeName()
IRoot
getDisplayableTypeName
in interface IPropertyOwner
getDisplayableTypeName
in interface IRoot
getDisplayableTypeName
in class oracle.odi.domain.root.PropertyOwner
public IContext getDefaultContext() throws AdapterException
IMapRootContainer
getDefaultContext
in interface IMapRootContainer
AdapterException
public IProject getProject()
IReusableMapping
getProject
in interface IReusableMapping
getProject
in interface IMapRootContainer
public ReusableMapping getShortcutBaseObject()
getShortcutBaseObject
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
public boolean setShortcutBaseObject(ReusableMapping pBaseObject)
setShortcutBaseObject
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
public ReusableMapping getShortcutReferenceObject()
getShortcutReferenceObject
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
public boolean setShortcutReferenceObject(ReusableMapping pReferenceObject)
setShortcutReferenceObject
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
public ReusableMapping getShortcutOrigObject()
getShortcutOrigObject
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
public boolean isShortcut()
IReusableMapping
isShortcut
in interface IReusableMapping
isShortcut
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
isShortcut
in class oracle.odi.domain.mapping.MapRootContainer
public IReleaseTag getReleaseTag()
getReleaseTag
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
public ReusableMapping getRealObject()
getRealObject
in interface IMapSignatureOwner
getRealObject
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
getRealObject
in class oracle.odi.domain.mapping.MapRootContainer
public void checkValidReference(ReusableMapping pReferenceObject)
checkValidReference
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
public boolean changeShortcutReferenceObject(ReusableMapping pReferenceObject)
changeShortcutReferenceObject
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
public IModelObject getRealModelObject()
IShortcutableModelObject
getRealModelObject
in interface IShortcutableModelObject
public java.lang.String getShortcutGlobalId()
IShortcutableModelObject
getShortcutGlobalId
in interface IShortcutableModelObject
@Deprecated public java.lang.Integer getShortcutNumericId()
getShortcutNumericId
in interface IShortcutableModelObject
public java.lang.Number getShortcutBigNumericId()
IShortcutableModelObject
getShortcutBigNumericId
in interface IShortcutableModelObject
public boolean isShortcutModelObject()
IShortcutableModelObject
isShortcutModelObject
in interface IShortcutableModelObject
public void deleteReferencesTo(MapExpression expr)
deleteReferencesTo
in class oracle.odi.domain.mapping.MapRootContainer
public java.util.List findReferencingMappings(oracle.odi.domain.adapter.AdapterBase adapter) throws AdapterException
AdapterException
public boolean supportComponentOfType(java.lang.String type)
supportComponentOfType
in class oracle.odi.domain.mapping.MapComponentOwner
type
- The component type for the component.