|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.dependency.IdDeclaration
public abstract class IdDeclaration
A declaration that is identified by a unique ID. This allows different languages to have references to each other. The language containing the reference just has to know the ID of the declaration. The owner of the declaration is reponsible for providing a public API to obtain the ID. For example, a Java language provider should have an API to obtain the declaration ID for classes, methods, fields, etc.
IdDeclarationProvider
,
IdReference
Field Summary | |
---|---|
protected java.lang.String |
id
|
Constructor Summary | |
---|---|
IdDeclaration(java.lang.String id)
|
Method Summary | |
---|---|
boolean |
canDelete()
Determine whether this declaration can be deleted. |
boolean |
delete()
Delete this declaration. |
boolean |
equals(java.lang.Object object)
|
static IdDeclaration |
findDeclaration(Context context,
java.lang.String id)
Find the IdDeclaration for an ID. |
java.lang.String |
getDeclarationId()
Gets the unique ID for this declaration. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.dependency.Declaration |
---|
getURL, show |
Field Detail |
---|
protected java.lang.String id
Constructor Detail |
---|
public IdDeclaration(java.lang.String id)
Method Detail |
---|
public static IdDeclaration findDeclaration(Context context, java.lang.String id) throws java.lang.InterruptedException
context
- the contextid
- the declaration ID
java.lang.InterruptedException
- if the operation is interrupted
java.lang.IllegalStateException
- if the method is called on the event threadpublic java.lang.String getDeclarationId()
public boolean canDelete()
Declaration
canDelete
in interface Declaration
public boolean delete()
Declaration
Declaration.canDelete()
returns true.
delete
in interface Declaration
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |