|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.dependency.IdReference
public abstract class IdReference
A reference to a declaration by ID.
IdDeclaration
,
IdDeclarationProvider
Constructor Summary | |
---|---|
IdReference()
|
Method Summary | |
---|---|
abstract java.lang.String |
getDeclarationId()
Get the declaration ID being referenced. |
boolean |
isReferenceTo(Context context,
Declaration declaration)
Determine whether this is a reference to a specifc declaration. |
Declaration |
resolve(Context context)
Resolve this reference to the corresponding declaration, if it exists. |
abstract boolean |
setDeclarationId(java.lang.String id)
Change this reference to point to a different declaration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.dependency.Reference |
---|
getURL, show |
Constructor Detail |
---|
public IdReference()
Method Detail |
---|
public abstract java.lang.String getDeclarationId()
public abstract boolean setDeclarationId(java.lang.String id)
id
- the id of the declaration
public Declaration resolve(Context context) throws java.lang.InterruptedException
Reference
resolve
in interface Reference
context
- the context
java.lang.InterruptedException
- if the operation is interruptedpublic boolean isReferenceTo(Context context, Declaration declaration)
Reference
Reference.resolve(oracle.ide.Context)
and check
if the result matches the declaration. But some implementations may be
able to optimize this.
isReferenceTo
in interface Reference
context
- the contextdeclaration
- the declaration
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |