|
Platform SDK Java 8.5 API Reference | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
GEnum
class.
See:
Description
This package contains classes based on the Genesys GEnum
class.
Your applications can use them to communicate intelligibly with Configuration
Server.
For example, if you are trying to determine the type of an object, you can use the
getValue
method on the integer returned by Configuration Server,
like this:
CfgObjectType objectType =
(CfgObjectType) GEnum.getValue(CfgObjectType.class, 3);
CfgObjectType
enum to determine the object type.Person
,
you could do the following:
CfgObjectType objectType = CfgObjectType.CFGPerson;
int intObjectType = objectType.asInteger();
For more information on these enumerations, look at the folder of Configuration Enumerations accessible from the Platform SDK Developer's Guide.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |