Platform SDK Java 9.0 API Reference

Package com.genesyslab.platform.configuration.protocol.types

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);

You can then compare the result to values of the CfgObjectType enum to determine the object type.

By the same token, you need to pass an integer to Configuration Server when indicating the type of an object. For example, if you are working with an agent, which is known to Configuration Server as a Person, you could do the following:

CfgObjectType objectType = CfgObjectType.CFGPerson;
int intObjectType = objectType.asInteger();

For more information on these enums, look at the folder of Configuration Enumerations accessible from the Overview page of this API Reference.

For more information on these enumerations, look at the folder of Configuration Enumerations accessible from the Platform SDK Developer's Guide.

Skip navigation links
Platform SDK Java 9.0 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.