Class PersistenceMemberElementImpl

java.lang.Object
com.sun.jdo.api.persistence.model.jdo.impl.PersistenceElementImpl
com.sun.jdo.api.persistence.model.jdo.impl.PersistenceMemberElementImpl
All Implemented Interfaces:
PersistenceElement.Impl, PersistenceElementProperties, PersistenceMemberElement.Impl
Direct Known Subclasses:
FieldGroupElementImpl, PersistenceFieldElementImpl

public abstract class PersistenceMemberElementImpl extends PersistenceElementImpl implements PersistenceMemberElement.Impl
Version:
%I%
Author:
raccah
  • Constructor Details

    • PersistenceMemberElementImpl

      public PersistenceMemberElementImpl()
      Create new PersistenceMemberElementImpl with no corresponding name. This constructor should only be used for cloning and archiving.
    • PersistenceMemberElementImpl

      public PersistenceMemberElementImpl(String name)
      Creates new PersistenceMemberElementImpl with the corresponding name
      Parameters:
      name - the name of the element
  • Method Details

    • firePropertyChange

      protected final void firePropertyChange(String name, Object o, Object n)
      Fires property change event. This method overrides that of PersistenceElementImpl to update the PersistenceClassElementImpl's modified status.
      Overrides:
      firePropertyChange in class PersistenceElementImpl
      Parameters:
      name - property name
      o - old value
      n - new value
    • fireVetoableChange

      protected final void fireVetoableChange(String name, Object o, Object n) throws PropertyVetoException
      Fires vetoable change event. This method overrides that of PersistenceElementImpl to give listeners a chance to block changes on the persistence class element modified status.
      Overrides:
      fireVetoableChange in class PersistenceElementImpl
      Parameters:
      name - property name
      o - old value
      n - new value
      Throws:
      PropertyVetoException - when the change is vetoed by a listener