blob: 643d15b9451675a0c6992d8d19d51b11ae167bba [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2012 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.jpa.eclipselink.core.context.persistence;
import org.eclipse.jpt.jpa.core.context.persistence.PersistenceXmlEnumValue;
/**
* OutputMode
*/
public enum OutputMode implements PersistenceXmlEnumValue {
both("both"), //$NON-NLS-1$
database("database"), //$NON-NLS-1$
sql_script("sql-script"); //$NON-NLS-1$
private final String propertyValue;
OutputMode(String propertyValue) {
this.propertyValue = propertyValue;
}
/**
* The string used as the property value in the persistence.xml
*/
public String getPropertyValue() {
return this.propertyValue;
}
}