public class ReusableMapping extends MapRootContainer implements IReusableMapping, oracle.odi.domain.shortcuts.IOdiShortcutable, oracle.odi.domain.impexp.IExportable, oracle.odi.impexp.smartie.ISmartExportable, IShortcutableModelObject
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(IMapComponent comp) |
void |
deleteReferencesTo(MapConnectorPoint point) |
void |
deleteReferencesTo(MapExpression expr) |
java.util.List |
findReferencingMappings(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() |
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
ReusableMapping |
getShortcutBaseObject() |
java.lang.String |
getShortcutGlobalId()
Gets the global ID of the shortcut object, which should be unique across the repository.
|
java.lang.Integer |
getShortcutNumericId()
Gets a numeric ID of the shortcut object, for repositories that support numeric id.
|
ReusableMapping |
getShortcutOrigObject() |
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.
|
getAdapter, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, isInstanceLevelSecurityNeeded, isNew
addProperty, adjustPropertyPersistency, createProperty, createProperty, delete, getAllProperties, getAllProperties, getAllPropertyMapReferenceOwners, getBooleanPropertyValue, getChildNamespaceId, getDisplayableProperties, getExpressionPropertyValue, getIntPropertyValue, getProperties, getProperties, getProperty, getPropertyMetadataOwner, getPropertyValue, getPropertyValueReference, getStringPropertyValue, initiateDynamicProperties, internalGetAllProperties, internalIsPropertyDefined, internalSetPropertyValue, invokeMethod, isPropertyDefined, notifyPropertyChange, onSave, removeAllProperties, removeProperty, removeProperty, setBooleanPropertyValue, setIntPropertyValue, setPropertyValue, validateProperties
getBusinessName, getDescription, getGlobalNamespaceId, getName, getNamespaceId, setBusinessName, setDescription
addCachedIssue, addCachedIssues, clearIssueCache, displayIssues, displayIssues, displayIssues, dump, dump, dump, dump, dumpToString, equals, getCachedErrors, getCachedIssues, getCachedSyncState, getCachedValidationErrorMessage, getDisplayableObjectName, getFCOContainer, getGUID, getInternalId, getPropertyDefinitionOwner, getRootContainer, getStrongTypeClassName, hasAdapter, hashCode, setCachedSyncState, validate
getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor
getFolder
getGlobalId, getName, getNumericId
findComponent
addComponent, afterConnect, containsComponent, createComponent, createComponent, createComponent, findAllComponents, findComponentBoundTo, findComponentOfType, findConnector, findSubComponentOwner, getAllComponents, getAllComponentsOfType, getAllSubComponentOwners, getComponentCount, getComponents, getLeafLevelComponents, getLeafLevelTargets, getMapRootContainer, getSources, getTargets, getTopLevelComponentsOfType, getTopLevelSources, getTopLevelTargets, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, isComponent, 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
getRootContainer
getGlobalId, getInternalId
getFirstDate, getFirstUser, getLastDate, getLastUser, getName, isInstanceLevelSecurityNeeded
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 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 IRepositoryEntity getSecurityContainer()
IRepositoryEntity
getSecurityContainer
in interface IRepositoryEntity
getSecurityContainer
in class oracle.odi.domain.root.Root
public boolean isShortcut()
IReusableMapping
isShortcut
in interface IReusableMapping
isShortcut
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
isShortcut
in class MapRootContainer
public IReleaseTag getReleaseTag()
getReleaseTag
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
public ReusableMapping getRealObject()
getRealObject
in interface oracle.odi.domain.shortcuts.IOdiShortcutable
getRealObject
in class 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
public java.lang.Integer getShortcutNumericId()
IShortcutableModelObject
getShortcutNumericId
in interface IShortcutableModelObject
public boolean isShortcutModelObject()
IShortcutableModelObject
isShortcutModelObject
in interface IShortcutableModelObject
public void deleteReferencesTo(IMapComponent comp)
deleteReferencesTo
in interface IMapRootContainer
deleteReferencesTo
in class MapRootContainer
public void deleteReferencesTo(MapConnectorPoint point)
deleteReferencesTo
in interface IMapRootContainer
deleteReferencesTo
in class MapRootContainer
public void deleteReferencesTo(MapExpression expr)
deleteReferencesTo
in class MapRootContainer
public java.util.List findReferencingMappings(AdapterBase adapter) throws AdapterException
AdapterException
public boolean supportComponentOfType(java.lang.String type)
supportComponentOfType
in class MapComponentOwner
type
- The component type for the component.