|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PersistenceType>
com.ibm.websphere.sibx.smobo.PersistenceType
public enum PersistenceType
A representation of the literals of the enumeration 'Persistence Type', and utility methods for working with them.
Note that these literals are only of use to the custom mediation writer and cannot be used in filter primitive expressions.
Enum Constant Summary | |
---|---|
NON_PERSISTENT_LITERAL
The 'Non Persistent' literal object |
|
PERSISTENT_LITERAL
The 'Persistent' literal object |
Field Summary | |
---|---|
static java.lang.String |
$sccsid
|
static java.lang.String |
COPYRIGHT
|
static int |
NON_PERSISTENT
The 'Non Persistent' literal value |
static int |
PERSISTENT
The 'Persistent' literal value |
static java.util.List<PersistenceType> |
VALUES
A public read-only list of all the 'Persistence Type' enumerators. |
Method Summary | |
---|---|
static PersistenceType |
get(int value)
Returns the 'Persistence Type' literal with the specified value. |
static PersistenceType |
get(java.lang.String literal)
Returns the 'Persistence Type' literal with the specified name. |
static PersistenceType |
getByName(java.lang.String name)
Returns the 'Persistence Type' literal with the specified name |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static PersistenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PersistenceType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PersistenceType NON_PERSISTENT_LITERAL
NON_PERSISTENT
public static final PersistenceType PERSISTENT_LITERAL
PERSISTENT
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String $sccsid
public static final int NON_PERSISTENT
NON_PERSISTENT
,
Constant Field Valuespublic static final int PERSISTENT
PERSISTENT
,
Constant Field Valuespublic static final java.util.List<PersistenceType> VALUES
Method Detail |
---|
public static PersistenceType[] values()
for (PersistenceType c : PersistenceType.values()) System.out.println(c);
public static PersistenceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static PersistenceType get(java.lang.String literal)
public static PersistenceType getByName(java.lang.String name)
public static PersistenceType get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<PersistenceType>
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |