|
org.netbeans.modules.j2ee.persistenceapi/1 1.0.20 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.j2ee.persistence.api.PersistenceScopes
public final class PersistenceScopes
Describes a list of persistence scopes and allows listening on this list.
Field Summary | |
---|---|
static String |
PROP_PERSISTENCE_SCOPES
The property corresponding to getPersistenceScopes(org.netbeans.api.project.Project) . |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener, allowing to listen on properties, e.g. |
PersistenceScope[] |
getPersistenceScopes()
Returns the persistence scopes contained in this instance. |
static PersistenceScopes |
getPersistenceScopes(org.netbeans.api.project.Project project)
Returns an instance of PersistenceScopes for the given
project. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROP_PERSISTENCE_SCOPES
getPersistenceScopes(org.netbeans.api.project.Project)
.
Method Detail |
---|
public static PersistenceScopes getPersistenceScopes(org.netbeans.api.project.Project project)
PersistenceScopes
for the given
project.
PersistenceScopes
or null if the
project doesn't provide a list of persistence scopes.
NullPointerException
- if project
was null.public PersistenceScope[] getPersistenceScopes()
PersistenceScope
instances; never null.public void addPropertyChangeListener(PropertyChangeListener listener)
PROP_PERSISTENCE_SCOPES
.
listener
- the listener to add; can be null.public void removePropertyChangeListener(PropertyChangeListener listener)
listener
- the listener to remove; can be null.
|
org.netbeans.modules.j2ee.persistenceapi/1 1.0.20 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |