Interface PersistenceElement.Impl

All Known Subinterfaces:
ConcurrencyGroupElement.Impl, FieldGroupElement.Impl, PersistenceClassElement.Impl, PersistenceFieldElement.Impl, PersistenceMemberElement.Impl, RelationshipElement.Impl
All Known Implementing Classes:
ConcurrencyGroupElementImpl, FieldGroupElementImpl, PersistenceClassElementImpl, PersistenceElementImpl, PersistenceFieldElementImpl, PersistenceMemberElementImpl, RelationshipElementImpl
Enclosing class:
PersistenceElement

public static interface PersistenceElement.Impl
Pluggable implementation of the storage of element properties.
See Also:
  • Field Details

  • Method Details

    • attachToElement

      void attachToElement(PersistenceElement element)
      Called to attach the implementation to a specific element. Will be called in the element's constructor. Allows implementors of this interface to store a reference to the holder class, useful for implementing the property change listeners.
      Parameters:
      element - the element to attach to
    • addPropertyChangeListener

      void addPropertyChangeListener(PropertyChangeListener l)
      Add a property change listener.
      Parameters:
      l - the listener to add
    • removePropertyChangeListener

      void removePropertyChangeListener(PropertyChangeListener l)
      Remove a property change listener.
      Parameters:
      l - the listener to remove
    • addVetoableChangeListener

      void addVetoableChangeListener(VetoableChangeListener l)
      Add a vetoable change listener.
      Parameters:
      l - the listener to add
    • removeVetoableChangeListener

      void removeVetoableChangeListener(VetoableChangeListener l)
      Remove a vetoable change listener.
      Parameters:
      l - the listener to remove
    • getName

      String getName()
      Get the name of this persistence element.
      Returns:
      the name
    • setName

      void setName(String name) throws ModelException
      Set the name of this persistence element.
      Parameters:
      name - the name
      Throws:
      ModelException - if impossible