Dali Provisional API
Release 3.2

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

All Superinterfaces:
Model, TypeRefactoringParticipant
All Known Subinterfaces:
Connection2_0, EclipseLinkCaching, EclipseLinkConnection, EclipseLinkConnection2_0, EclipseLinkCustomization, EclipseLinkGeneralProperties, EclipseLinkLogging, EclipseLinkLogging2_0, EclipseLinkLogging2_4, EclipseLinkOptions, EclipseLinkOptions2_0, EclipseLinkSchemaGeneration, Options2_0

public interface PersistenceUnitProperties
extends Model, TypeRefactoringParticipant

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.TypeRefactoringParticipant
TypeRefactoringParticipant.MoveTypeEditsTransformer, TypeRefactoringParticipant.RenamePackageEditsTransformer, TypeRefactoringParticipant.RenameTypeEditsTransformer
 
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.
 String propertyIdOf(PersistenceUnit.Property property)
          Returns the property name used for change notification of the given property.
 void propertyRemoved(String propertyName)
          A Property with the given name was removed
 void propertyValueChanged(String propertyName, String newValue)
          A Property with the given name had its value changed
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.TypeRefactoringParticipant
createMoveTypeEdits, createRenamePackageEdits, createRenameTypeEdits
 

Method Detail

itemIsProperty

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


propertyIdOf

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(String propertyName,
                          String newValue)
A Property with the given name had its value changed


propertyRemoved

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


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.