public class JDOMemberImpl extends JDOElementImpl implements JDOMember
| Constructor and Description |
|---|
JDOMemberImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order.
|
boolean |
equals(java.lang.Object obj)
Overrides Object's
equals method by comparing the name
of this member with the name of the argument obj. |
JDOClass |
getDeclaringClass()
Get the declaring class of this JDOMember.
|
java.lang.String |
getName()
Returns the name of this JDOMember.
|
int |
hashCode()
Overrides Object's
hashCode method to return the hashCode
of this name. |
void |
setDeclaringClass(JDOClass declaringClass)
Set the declaring class of this JDOMember.
|
void |
setName(java.lang.String name)
Sets the name of this JDOMember.
|
java.lang.String |
toString()
Overrides Object's
toString method to return the name
of this persistence element. |
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, firePropertyChange, fireVetoableChange, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListenerpublic java.lang.String getName()
public void setName(java.lang.String name)
public JDOClass getDeclaringClass()
getDeclaringClass in interface JDOMembernull
if the element is not attached to any classpublic void setDeclaringClass(JDOClass declaringClass)
setDeclaringClass in interface JDOMemberdeclaringClass - the declaring class of this member elementpublic java.lang.String toString()
toString method to return the name
of this persistence element.toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals method by comparing the name
of this member with the name of the argument obj. The method returns
false if obj does not have the same dynamic type as this
member.equals in class java.lang.Objectobj - the reference object with which to compare.true if this object is the same as the obj argument;
false otherwise.public int hashCode()
hashCode method to return the hashCode
of this name.hashCode in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - the Object to be compared.java.lang.ClassCastException - - if the specified object is null or is not
an instance of JDOMemberCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.