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

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      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

      Methods 
      Modifier and Type Method and Description
      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

      • NON_PERSISTENT_LITERAL

        public static final PersistenceType NON_PERSISTENT_LITERAL
        The 'Non Persistent' literal object.
        See Also:
        NON_PERSISTENT
      • PERSISTENT_LITERAL

        public static final PersistenceType PERSISTENT_LITERAL
        The 'Persistent' literal object.
        See Also:
        PERSISTENT
    • 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>
IBM Business Process ManagerTM
Release 8