Dali Provisional API
Release 3.2

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

All Known Implementing Classes:
BatchWriting, CacheType, DdlGenerationType, ExclusiveConnectionMode, FlushClearCache, Logger, LoggingLevel, OutputMode, Profiler, TargetDatabase, TargetServer, Weaving

public interface PersistenceXmlEnumValue

An enum that is used in the persistence.xml properties can implement this interface and take advantage of helper methods in AbstractPersistenceUnitProperties for getting and setting properties. 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:
3.2

Nested Class Summary
static class PersistenceXmlEnumValue.EnumNameTransformer
           
 
Field Summary
static org.eclipse.jpt.common.utility.internal.transformer.TransformerAdapter<Enum<?>,String> ENUM_NAME_TRANSFORMER
           
 
Method Summary
 String getPropertyValue()
          Return the value to be used in the property key/value pair
 

Field Detail

ENUM_NAME_TRANSFORMER

static final org.eclipse.jpt.common.utility.internal.transformer.TransformerAdapter<Enum<?>,String> ENUM_NAME_TRANSFORMER
Method Detail

getPropertyValue

String getPropertyValue()
Return the value to be used in the property key/value pair


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.