org.eclipse.jpt.jpa.eclipselink.core.context.persistence
Enum EclipseLinkTargetServer
java.lang.Object
java.lang.Enum<EclipseLinkTargetServer>
org.eclipse.jpt.jpa.eclipselink.core.context.persistence.EclipseLinkTargetServer
- All Implemented Interfaces:
- Serializable, Comparable<EclipseLinkTargetServer>, PersistenceXmlEnumValue
public enum EclipseLinkTargetServer
- extends Enum<EclipseLinkTargetServer>
- implements PersistenceXmlEnumValue
TargetServer
none
public static final EclipseLinkTargetServer none
oc4j
public static final EclipseLinkTargetServer oc4j
sunas9
public static final EclipseLinkTargetServer sunas9
websphere
public static final EclipseLinkTargetServer websphere
websphere_6_1
public static final EclipseLinkTargetServer websphere_6_1
websphere_7
public static final EclipseLinkTargetServer websphere_7
weblogic
public static final EclipseLinkTargetServer weblogic
weblogic_9
public static final EclipseLinkTargetServer weblogic_9
weblogic_10
public static final EclipseLinkTargetServer weblogic_10
jboss
public static final EclipseLinkTargetServer jboss
netweaver_7_1
public static final EclipseLinkTargetServer netweaver_7_1
values
public static EclipseLinkTargetServer[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EclipseLinkTargetServer c : EclipseLinkTargetServer.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EclipseLinkTargetServer valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getPropertyValue
public String getPropertyValue()
- The string used as the property value in the persistence.xml
- Specified by:
getPropertyValue in interface PersistenceXmlEnumValue
getTargetServerFor
public static EclipseLinkTargetServer getTargetServerFor(String literal)
- Return the TargetServer value corresponding to the given literal.
Copyright (c) 2012 Oracle. All rights reserved.