com.ibm.websphere.sibx.smobo

Enum PersistenceType

  1. java.lang.Object
  2. extended byjava.lang.Enum<PersistenceType>
  3. extended bycom.ibm.websphere.sibx.smobo.PersistenceType
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<PersistenceType>, org.eclipse.emf.common.util.Enumerator

  1. public enum PersistenceType
  2. extends java.lang.Enum<PersistenceType>
  3. implements org.eclipse.emf.common.util.Enumerator
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

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
  1. static
  2. java.lang.String
$sccsid
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. int
NON_PERSISTENT
The 'Non Persistent' literal value
  1. static
  2. int
PERSISTENT
The 'Persistent' literal value
  1. static
  2. java.util.List<PersistenceType>
VALUES
A public read-only list of all the 'Persistence Type' enumerators.

Method Summary

Modifier and Type Method and Description
  1. static
  2. PersistenceType
get(int value)
Returns the 'Persistence Type' literal with the specified value.
  1. static
  2. PersistenceType
get(java.lang.String literal)
Returns the 'Persistence Type' literal with the specified name.
  1. static
  2. PersistenceType
getByName(java.lang.String name)
Returns the 'Persistence Type' literal with the specified name
  1. java.lang.String
getLiteral()
  1. java.lang.String
getName()
  1. int
getValue()
  1. java.lang.String
toString()
Returns the literal value of the enumerator, which is its string representation
  1. static
  2. PersistenceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
  1. static
  2. 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

NON_PERSISTENT_LITERAL

  1. public static final PersistenceType NON_PERSISTENT_LITERAL
The 'Non Persistent' literal object.
See Also:

PERSISTENT_LITERAL

  1. public static final PersistenceType PERSISTENT_LITERAL
The 'Persistent' literal object.
See Also:

Field Detail

  1. public static final java.lang.String COPYRIGHT
See Also:

$sccsid

  1. public static final java.lang.String $sccsid
See Also:

NON_PERSISTENT

  1. public static final int NON_PERSISTENT
The 'Non Persistent' literal value.
See Also:

PERSISTENT

  1. public static final int PERSISTENT
The 'Persistent' literal value.
See Also:

VALUES

  1. public static final java.util.List<PersistenceType> VALUES
A public read-only list of all the 'Persistence Type' enumerators.

Method Detail

values

  1. 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

  1. 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

  1. public static PersistenceType get( java.lang.String literal)
Returns the 'Persistence Type' literal with the specified name.

getByName

  1. public static PersistenceType getByName( java.lang.String name)
Returns the 'Persistence Type' literal with the specified name.

get

  1. public static PersistenceType get( int value)
Returns the 'Persistence Type' literal with the specified value.

getValue

  1. public int getValue()
Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator

getName

  1. public java.lang.String getName( )
Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator

getLiteral

  1. public java.lang.String getLiteral( )
Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator

toString

  1. 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>