blob: ab66c2ea978c18c25f9be24727e211f4f14eaaf9 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2008 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0, which accompanies this distribution
* and is available at http://www.eclipse.org/legal/epl-v10.html.
*
* Contributors:
* Oracle - initial API and implementation
*******************************************************************************/
package org.eclipse.jpt.eclipselink.core.internal.context;
import org.eclipse.jpt.core.context.persistence.Property;
import org.eclipse.jpt.utility.model.Model;
import org.eclipse.jpt.utility.model.listener.PropertyChangeListener;
/**
* PersistenceUnitProperties
*/
public interface PersistenceUnitProperties extends Model, PropertyChangeListener
{
/**
* Method used for identifying the given property.
*/
boolean itemIsProperty( Property item);
/**
* Returns the property name used for change notification of the given property.
*/
String propertyIdFor( Property property);
}