org.eclipse.jpt.jpa.eclipselink.core.context.persistence
Enum TargetServer
java.lang.Object
java.lang.Enum<TargetServer>
org.eclipse.jpt.jpa.eclipselink.core.context.persistence.TargetServer
- All Implemented Interfaces:
- Serializable, Comparable<TargetServer>, PersistenceXmlEnumValue
public enum TargetServer
- extends Enum<TargetServer>
- implements PersistenceXmlEnumValue
TargetServer
none
public static final TargetServer none
oc4j
public static final TargetServer oc4j
sunas9
public static final TargetServer sunas9
websphere
public static final TargetServer websphere
websphere_6_1
public static final TargetServer websphere_6_1
websphere_7
public static final TargetServer websphere_7
weblogic
public static final TargetServer weblogic
weblogic_9
public static final TargetServer weblogic_9
weblogic_10
public static final TargetServer weblogic_10
jboss
public static final TargetServer jboss
netweaver_7_1
public static final TargetServer netweaver_7_1
values
public static TargetServer[] 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 (TargetServer c : TargetServer.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TargetServer 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 TargetServer getTargetServerFor(String literal)
- Return the TargetServer value corresponding to the given literal.
Copyright (c) 2012 Oracle. All rights reserved.