|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| 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
Referenceresolve in interface Referencecontext - the contextjava.lang.InterruptedException - if the operation is interrupted
public boolean isReferenceTo(Context context,
Declaration declaration)
ReferenceReference.resolve(oracle.ide.Context) and check if the result matches the declaration. But some implementations may be able to optimize this.isReferenceTo in interface Referencecontext - the contextdeclaration - the declaration
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||