com.filenet.api.constants

Class ConnectionType

  • java.lang.Object
    • com.filenet.api.constants.ConnectionType
  • All Implemented Interfaces:
    java.io.Serializable


    public class ConnectionType
    extends java.lang.Object
    implements java.io.Serializable
    Provides the implementation of type-safe enumeration objects that identify the connection type between the client and the Content Engine server. This class also provides enumerated values for Enterprise Java™Beans (EJB) and SOAP transports. You can call the methods on this class to retrieve the connection type as a constant or an integer value, to compare connection type identities, or to convert integer values to string representations.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static ConnectionType EJB
      A constant representing the ConnectionType for the EJB transport.
      static int EJB_AS_INT
      An int value associated with the EJB instance of this class.
      static ConnectionType SOAP
      A constant representing the ConnectionType for the SOAP transport.
      static int SOAP_AS_INT
      An int value associated with the SOAP instance of this class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static ConnectionType getInstanceFromInt(int value)
      Gets the object instance from its associated integer value (see the *_AS_INT constants in this class).
      int getValue()
      Returns an integer value associated with a specific instance of this class.
      java.lang.String toString()
      Returns a String representation of this instance.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • EJB_AS_INT

        public static final int EJB_AS_INT
        An int value associated with the EJB instance of this class. It is better to use the static instances of this class than to use the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
        See Also:
        Constant Field Values
      • EJB

        public static final ConnectionType EJB
        A constant representing the ConnectionType for the EJB transport.
      • SOAP_AS_INT

        public static final int SOAP_AS_INT
        An int value associated with the SOAP instance of this class. It is better to use the static instances of this class than to use the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
        See Also:
        Constant Field Values
      • SOAP

        public static final ConnectionType SOAP
        A constant representing the ConnectionType for the SOAP transport.
    • Method Detail

      • getValue

        public int getValue()
        Returns an integer value associated with a specific instance of this class.
        Returns:
        An integer for a specific instance of this class.
      • getInstanceFromInt

        public static ConnectionType getInstanceFromInt(int value)
        Gets the object instance from its associated integer value (see the *_AS_INT constants in this class).
        Parameters:
        value - An integer associated with a particular instance of this class.
        Returns:
        The referenced object instance.
        Throws:
        EngineRuntimeException - when the parameter is null or otherwise invalid.
      • toString

        public java.lang.String toString()
        Returns a String representation of this instance.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A String representing the instance.

© Copyright IBM Corporation 2006, 2013. All rights reserved.