|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.api.constants.ConnectionType
public class ConnectionType
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.
Field Summary | |
---|---|
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 | |
---|---|
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 |
---|
public static final int EJB_AS_INT
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.
public static final ConnectionType EJB
ConnectionType
for the
EJB transport.
public static final int SOAP_AS_INT
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.
public static final ConnectionType SOAP
ConnectionType
for the
SOAP transport.
Method Detail |
---|
public int getValue()
public static ConnectionType getInstanceFromInt(int value)
value
- An integer associated with a particular instance of this class.
EngineRuntimeException
- when the parameter is
null
or otherwise invalid.public java.lang.String toString()
String
representation of this instance.
toString
in class java.lang.Object
String
representing the instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |