com.ibm.websphere.sibx.smobo
Enum PersistenceType
- java.lang.Object
java.lang.Enum<PersistenceType>
com.ibm.websphere.sibx.smobo.PersistenceType
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<PersistenceType>, org.eclipse.emf.common.util.Enumerator
- public enum PersistenceType
- extends java.lang.Enum<PersistenceType>
- implements org.eclipse.emf.common.util.Enumerator
Note that these literals are only of use to the custom mediation writer and cannot be used in filter primitive expressions.
Enum Constant Summary
Enum Constant and Description |
---|
NON_PERSISTENT_LITERAL
The 'Non Persistent' literal object
|
PERSISTENT_LITERAL
The 'Persistent' literal object
|
Field Summary
Modifier and Type | Field and Description |
---|---|
|
$sccsid
|
|
COPYRIGHT
|
|
NON_PERSISTENT
The 'Non Persistent' literal value
|
|
PERSISTENT
The 'Persistent' literal value
|
|
VALUES
A public read-only list of all the 'Persistence Type' enumerators.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
get(int value)
Returns the 'Persistence Type' literal with the specified value.
|
|
get(java.lang.String literal)
Returns the 'Persistence Type' literal with the specified name.
|
|
getByName(java.lang.String name)
Returns the 'Persistence Type' literal with the specified name
|
|
getLiteral()
|
|
getName()
|
|
getValue()
|
|
toString()
Returns the literal value of the enumerator, which is its string representation
|
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
|
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
NON_PERSISTENT_LITERAL
- public static final PersistenceType NON_PERSISTENT_LITERAL
The 'Non Persistent' literal object.
See Also:
PERSISTENT_LITERAL
- public static final PersistenceType PERSISTENT_LITERAL
The 'Persistent' literal object.
See Also:
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
$sccsid
- public static final java.lang.String $sccsid
See Also:
NON_PERSISTENT
- public static final int NON_PERSISTENT
The 'Non Persistent' literal value.
See Also:
PERSISTENT
- public static final int PERSISTENT
The 'Persistent' literal value.
See Also:
VALUES
- public static final java.util.List<PersistenceType> VALUES
A public read-only list of all the 'Persistence Type' enumerators.
Method Detail
values
- public static PersistenceType[] 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 (PersistenceType c : PersistenceType.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in
the order they are declared
valueOf
- public static PersistenceType valueOf( java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name java.lang.NullPointerException
- if the argument is null get
- public static PersistenceType get( java.lang.String literal)
Returns the 'Persistence Type' literal with the specified name.
getByName
- public static PersistenceType getByName( java.lang.String name)
Returns the 'Persistence Type' literal with the specified name.
get
- public static PersistenceType get( int value)
Returns the 'Persistence Type' literal with the specified value.
getValue
- public int getValue()
Specified by:
getValue
in interface org.eclipse.emf.common.util.Enumerator
getName
- public java.lang.String getName( )
Specified by:
getName
in interface org.eclipse.emf.common.util.Enumerator
getLiteral
- public java.lang.String getLiteral( )
Specified by:
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
toString
- public java.lang.String toString( )
Returns the literal value of the enumerator, which is its string representation.
Overrides:
toString
in class java.lang.Enum<PersistenceType>