Interface PersistenceElement.Impl

    • Method Detail

      • 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