public static interface PersistenceElement.Impl
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD
Add some items.
|
static int |
REMOVE
Remove some items.
|
static int |
SET
Set some items, replacing the old ones.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener.
|
void |
addVetoableChangeListener(VetoableChangeListener l)
Add a vetoable change listener.
|
void |
attachToElement(PersistenceElement element)
Called to attach the implementation to a specific
element.
|
String |
getName()
Get the name of this persistence element.
|
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a property change listener.
|
void |
removeVetoableChangeListener(VetoableChangeListener l)
Remove a vetoable change listener.
|
void |
setName(String name)
Set the name of this persistence element.
|
static final int ADD
static final int REMOVE
static final int SET
void attachToElement(PersistenceElement element)
element - the element to attach tovoid addPropertyChangeListener(PropertyChangeListener l)
l - the listener to addvoid removePropertyChangeListener(PropertyChangeListener l)
l - the listener to removevoid addVetoableChangeListener(VetoableChangeListener l)
l - the listener to addvoid removeVetoableChangeListener(VetoableChangeListener l)
l - the listener to removeString getName()
void setName(String name) throws ModelException
name - the nameModelException - if impossibleCopyright © 2013. All Rights Reserved.