|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOdiShortcutable<T>
Interface for objects that can be shortcuts.
OdiDataStore
, OdiPackage
, OdiUserProcedure
, OdiInterface
Method Summary | |
---|---|
boolean |
changeShortcutReferenceObject(T pReferenceObject) Change the shortcut reference object. |
void |
checkValidReference(T pReferenceObject) Internal Use Only |
T |
getRealObject() Return the real object associated with this object. |
IReleaseTag |
getReleaseTag() Return the release tag for this object. |
T |
getShortcutBaseObject() Return the base object of this shortcutable. |
T |
getShortcutOrigObject() If this is a shortcut, return the original base object |
T |
getShortcutReferenceObject() If this is a shortcut, return the reference object. |
boolean |
isShortcut() Returns true if this object is a shortcut. |
boolean |
setShortcutBaseObject(T pBaseObject) Internal Use Only. |
boolean |
setShortcutReferenceObject(T pShortcutable) Internal Use Only. |
Method Detail |
---|
T getShortcutBaseObject()
This will return null if the object never has been a shortcut. If this object is a materialized shortcut, the base object will be the base object at the time that this was shortcuted.
boolean setShortcutBaseObject(T pBaseObject)
If the base object is changed, we should correct all consumers of this object.
This method may be called from a precedent shortcut object in the shortcut chain and the precedent shortcut obejct is removed or materialized.
pBaseObject
- new base object.T getShortcutReferenceObject()
The reference object may also be a shortcut.
java.lang.IllegalStateException
- if this object is not a shortcut.boolean setShortcutReferenceObject(T pShortcutable)
If pShortcutable is null, set pReference to null. This is no longer a shortcut.
If pShortcutable is not null, set the reference object to pShortcutable, set the base object to pShortcutable.getBaseObject.
This method may be called from a precedent shortcut object in the shortcut chain and the precedent shortcut obejct is removed or materialized.
pShortcutable
- new shortcutable object. Can be be nullT getShortcutOrigObject()
The reference object may also be a shortcut.
java.lang.IllegalStateException
- if this object is not a shortcut.boolean isShortcut()
IReleaseTag getReleaseTag()
release tag is actually maintained on the container object. This provides consistent access to the tag.
T getRealObject()
This is a convenience function to obtain the real object of a shortcutable object. If this object is a shortcut, return the base obejct. If this object is not a shortcut, return this object.
void checkValidReference(T pReferenceObject)
boolean changeShortcutReferenceObject(T pReferenceObject)
If pReferenceObject's base object is same as the base object of shortcut, the shortcut will have pReferenceObject as new reference. It will return true.
If pReferenceObject's base object is not same as the base of the shortcut, the shortcut reference object won't be changed. It will return false.
If pReferenceObject is null, the shortcut reference object won't be changed. It will return false.
If current object is not shortcut, nothing will be changed. It will return false.
pReferenceObject
- new reference object. Can be be null
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |