Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.impl.model.jdo » [javadoc | source]
org.apache.jdo.impl.model.jdo
public class: JDOMemberImpl [javadoc | source]
java.lang.Object
   org.apache.jdo.impl.model.jdo.JDOElementImpl
      org.apache.jdo.impl.model.jdo.JDOMemberImpl

All Implemented Interfaces:
    JDOMember, JDOElement

Direct Known Subclasses:
    JDOAssociatedPropertyImplCaching, JDOAssociatedPropertyImplDynamic, JDOPropertyImplCaching, JDOFieldImplDynamic, JDOPropertyImplDynamic, JDOFieldImplCaching, JDOClassImplDynamic, JDOClassImplCaching

This is the super interface for named JDO metadata elements, such as JDOClass and JDOField.
Constructor:
 protected JDOMemberImpl(String name,
    JDOClass declaringClass) 
    Constructor.
Method from org.apache.jdo.impl.model.jdo.JDOMemberImpl Summary:
compareTo,   equals,   getDeclaringClass,   getName,   hashCode,   toString
Methods from org.apache.jdo.impl.model.jdo.JDOElementImpl:
addPropertyChangeListener,   addVetoableChangeListener,   createJDOExtension,   firePropertyChange,   fireVetoableChange,   getJDOExtensions,   removeJDOExtension,   removePropertyChangeListener,   removeVetoableChangeListener
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.impl.model.jdo.JDOMemberImpl Detail:
 public int compareTo(Object o) 
    Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The specified object must be a an instance of JDOMember, if not a ClassCastException is thrown. The order of JDOMember instances is defined by the order of their names. JDOMember instances without name are considered to be less than any named member.
 public boolean equals(Object obj) 
    Overrides Object's 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.
 public JDOClass getDeclaringClass() 
    Get the declaring class of this JDOMember.
 public String getName() 
    Returns the name of this JDOMember.
 public int hashCode() 
    Overrides Object's hashCode method to return the hashCode of this name.
 public String toString() 
    Overrides Object's toString method to return the name of this persistence element.