org.eclipse.jpt.core.context.persistence
Interface PersistenceUnitProperties

All Superinterfaces:
Model
All Known Subinterfaces:
Caching, Connection, Connection2_0, Customization, GeneralProperties, JpaConnection2_0, JpaOptions2_0, Logging, Logging2_0, Options, Options2_0, SchemaGeneration

public interface PersistenceUnitProperties
extends Model

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
2.3
Version:
2.3

Method Summary
 JpaProject getJpaProject()
          Return the JPA project the PersistenceUnit belongs to.
 PersistenceUnit getPersistenceUnit()
          Return the PersistenceUnit of this Properties.
 boolean itemIsProperty(PersistenceUnit.Property item)
          Method used for identifying the given property.
 java.lang.String propertyIdOf(PersistenceUnit.Property property)
          Returns the property name used for change notification of the given property.
 void propertyRemoved(java.lang.String propertyName)
          A Property with the given name was removed
 void propertyValueChanged(java.lang.String propertyName, java.lang.String newValue)
          A Property with the given name had its value changed
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 

Method Detail

itemIsProperty

boolean itemIsProperty(PersistenceUnit.Property item)
Method used for identifying the given property.


propertyIdOf

java.lang.String propertyIdOf(PersistenceUnit.Property property)
Returns the property name used for change notification of the given property.


getPersistenceUnit

PersistenceUnit getPersistenceUnit()
Return the PersistenceUnit of this Properties.


getJpaProject

JpaProject getJpaProject()
Return the JPA project the PersistenceUnit belongs to.


propertyValueChanged

void propertyValueChanged(java.lang.String propertyName,
                          java.lang.String newValue)
A Property with the given name had its value changed


propertyRemoved

void propertyRemoved(java.lang.String propertyName)
A Property with the given name was removed