Platform SDK Java 8.5 API Reference

com.genesyslab.platform.openmedia.protocol.externalservice
Class RequestorInfo

java.lang.Object
  extended by com.genesyslab.platform.openmedia.protocol.externalservice.RequestorInfo

public class RequestorInfo
extends java.lang.Object

Class represents information of the requestor


Nested Class Summary
static class RequestorInfo.Codec
           
 
Field Summary
static com.genesyslab.platform.commons.protocol.runtime.AttributeDescription ATTRIBUTE_DESCRIPTION
          Attribute description in metadata
static java.lang.String PROPERTY_NAME
          Equals to key name in request
 
Constructor Summary
RequestorInfo()
           
 
Method Summary
static RequestorInfo create(KeyValueCollection source)
          Creates RequestorInfo from KeyValueCollection
 boolean equals(java.lang.Object obj)
           
 java.lang.Integer getRequestorAppDBID()
          Returns application's DBID of requestor or null if property is not set
 java.lang.String getRequestorAppName()
          Returns Application name of requestor or null if property is not set
 java.lang.Integer getRequestorAppType()
          Returns application's type of requestor or null if property is not set
 java.lang.String getRequestorAppVersion()
          Returns Application version of requestor or null if property is not set
 java.lang.String getRequestorClientId()
          Returns Client's ID of requestor or null if property is not set
 java.lang.String getRequestorSessionId()
          Returns session ID of requestor or null if property is not set
 int hashCode()
           
 void setRequestorAppDBID(java.lang.Integer value)
          Sets value of application's DBID.
 void setRequestorAppName(java.lang.String value)
          Sets Application name of requestor.
 void setRequestorAppType(java.lang.Integer value)
          Sets value of application's type.
 void setRequestorAppVersion(java.lang.String value)
          Sets Application version of requestor.
 void setRequestorClientId(java.lang.String value)
          Sets value of Client's ID.
 void setRequestorSessionId(java.lang.String value)
          Sets session ID of requestor.
 KeyValueCollection toKeyValueCollection(boolean useUtfValues)
          Transforms REquestorInfo into KeyValueCollection
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY_NAME

public static final java.lang.String PROPERTY_NAME
Equals to key name in request

See Also:
Constant Field Values

ATTRIBUTE_DESCRIPTION

public static final com.genesyslab.platform.commons.protocol.runtime.AttributeDescription ATTRIBUTE_DESCRIPTION
Attribute description in metadata

Constructor Detail

RequestorInfo

public RequestorInfo()
Method Detail

getRequestorAppName

public java.lang.String getRequestorAppName()
Returns Application name of requestor or null if property is not set

Returns:
Application name of requestor

setRequestorAppName

public void setRequestorAppName(java.lang.String value)
Sets Application name of requestor. Use null to remove the existing value.

Parameters:
value - new value of Application name of requestor

getRequestorAppType

public java.lang.Integer getRequestorAppType()
Returns application's type of requestor or null if property is not set

Returns:
application's type of requestor or null if property is not set

setRequestorAppType

public void setRequestorAppType(java.lang.Integer value)
Sets value of application's type. Use null to remove the existing value.

Parameters:
value - new value of application's type

getRequestorAppDBID

public java.lang.Integer getRequestorAppDBID()
Returns application's DBID of requestor or null if property is not set

Returns:
application's DBID of requestor or null if property is not set

setRequestorAppDBID

public void setRequestorAppDBID(java.lang.Integer value)
Sets value of application's DBID. Use null to remove the existing value.

Parameters:
value - new value of application's DBID

getRequestorAppVersion

public java.lang.String getRequestorAppVersion()
Returns Application version of requestor or null if property is not set

Returns:
Application version of requestor

setRequestorAppVersion

public void setRequestorAppVersion(java.lang.String value)
Sets Application version of requestor. Use null to remove the existing value.

Parameters:
value - new value of Application version of requestor

getRequestorClientId

public java.lang.String getRequestorClientId()
Returns Client's ID of requestor or null if property is not set

Returns:
Client's ID of requestor or null if property is not set

setRequestorClientId

public void setRequestorClientId(java.lang.String value)
Sets value of Client's ID. Use null to remove the existing value.

Parameters:
value - new value of Client's ID

getRequestorSessionId

public java.lang.String getRequestorSessionId()
Returns session ID of requestor or null if property is not set

Returns:
Session ID of requestor

setRequestorSessionId

public void setRequestorSessionId(java.lang.String value)
Sets session ID of requestor. Use null to remove the existing value.

Parameters:
value - new value of session ID of requestor

toKeyValueCollection

public KeyValueCollection toKeyValueCollection(boolean useUtfValues)
Transforms REquestorInfo into KeyValueCollection

Parameters:
useUtfValues - flag indicates of necessity to replace strings with UtfValues
Returns:
KeyValueCollection representation of RequestorInfo

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

create

public static RequestorInfo create(KeyValueCollection source)
Creates RequestorInfo from KeyValueCollection

Parameters:
source - Source data in format of KeyValueCollection
Returns:
RequestorInfo instance

Platform SDK Java 8.5 API Reference

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