|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.Name
public abstract class Name
A Name encapsulates the name of an entity. A Name identifies the context (e.g., schema or Java package) in which the entity is declared, and the simple name of the entity within the context. This class implements 'equals' and 'hash', so that Names may be stored in Hashtables.
Field Summary | |
---|---|
protected java.lang.Object |
m_annotation |
protected java.lang.String |
m_context |
protected java.lang.String |
m_name |
static java.lang.String |
NO_CONTEXT |
Constructor Summary | |
---|---|
protected |
Name() |
|
Name(java.lang.String context, java.lang.String name) Initializes a Name with the context and simple name of a declared entity. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) Returns true if and only if two Names are equal. |
java.lang.Object |
getAnnotation() Returns the annotation associated with the Name. |
java.lang.String |
getContextName() Returns the context name of the declared entity. |
java.lang.String |
getDeclClass() |
java.lang.String |
getDeclItf() |
java.lang.String |
getDeclItfPackage() |
java.lang.String |
getDeclPackage() |
java.lang.String |
getSimpleName() Returns the name of the declared entity within the context. |
java.lang.String |
getUseClass() |
java.lang.String |
getUseClass(boolean full) |
java.lang.String |
getUseClass(java.lang.String currPackage) |
java.lang.String |
getUseItf() |
java.lang.String |
getUseItfPackage() |
java.lang.String |
getUsePackage() |
boolean |
hasDeclItf() |
int |
hashCode() Returns a hash code for the Name. |
abstract boolean |
hasUseClass() |
boolean |
hasUseItf() |
java.lang.String |
renameJavaMethodPrefix() |
void |
setAnnotation(java.lang.Object o) Sets the annotation associated with the Name. |
abstract java.lang.String |
toString() Returns the complete name of the declared entity. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NO_CONTEXT
protected java.lang.String m_context
protected java.lang.String m_name
protected java.lang.Object m_annotation
Constructor Detail |
---|
public Name(java.lang.String context, java.lang.String name)
name
- the declared name of the entity in the contextprotected Name()
Method Detail |
---|
public java.lang.String getContextName()
public java.lang.String getSimpleName()
public java.lang.Object getAnnotation()
public void setAnnotation(java.lang.Object o)
public java.lang.String getDeclClass()
public boolean hasDeclItf()
public java.lang.String getDeclItf()
public java.lang.String getDeclPackage()
public java.lang.String getDeclItfPackage()
public java.lang.String getUseClass(java.lang.String currPackage)
public java.lang.String getUseClass(boolean full)
public java.lang.String getUseClass()
public java.lang.String getUsePackage()
public java.lang.String getUseItfPackage()
public boolean hasUseItf()
public java.lang.String getUseItf()
public abstract boolean hasUseClass()
public java.lang.String renameJavaMethodPrefix()
public abstract java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |