blob: b0028f1826e14f783c9e95c219a22a8b03ad4dc1 [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;
/**
* LoggingLevel
*/
public enum LoggingLevel implements PersistenceXmlEnumValue {
off("OFF"), //$NON-NLS-1$
severe("SEVERE"), //$NON-NLS-1$
warning("WARNING"), //$NON-NLS-1$
info("INFO"), //$NON-NLS-1$
config("CONFIG"), //$NON-NLS-1$
fine("FINE"), //$NON-NLS-1$
finer("FINER"), //$NON-NLS-1$
finest("FINEST"), //$NON-NLS-1$
all("ALL"); //$NON-NLS-1$
/**
* EclipseLink property value
*/
private final String propertyValue;
LoggingLevel(String propertyValue) {
this.propertyValue = propertyValue;
}
/**
* The string used as the property value in the persistence.xml
*/
public String getPropertyValue() {
return this.propertyValue;
}
}