|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.openmedia.protocol.externalservice.RequestorInfo
public class RequestorInfo
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 |
---|
public static final java.lang.String PROPERTY_NAME
public static final com.genesyslab.platform.commons.protocol.runtime.AttributeDescription ATTRIBUTE_DESCRIPTION
Constructor Detail |
---|
public RequestorInfo()
Method Detail |
---|
public java.lang.String getRequestorAppName()
public void setRequestorAppName(java.lang.String value)
value
- new value of Application name of requestorpublic java.lang.Integer getRequestorAppType()
public void setRequestorAppType(java.lang.Integer value)
value
- new value of application's typepublic java.lang.Integer getRequestorAppDBID()
public void setRequestorAppDBID(java.lang.Integer value)
value
- new value of application's DBIDpublic java.lang.String getRequestorAppVersion()
public void setRequestorAppVersion(java.lang.String value)
value
- new value of Application version of requestorpublic java.lang.String getRequestorClientId()
public void setRequestorClientId(java.lang.String value)
value
- new value of Client's IDpublic java.lang.String getRequestorSessionId()
public void setRequestorSessionId(java.lang.String value)
value
- new value of session ID of requestorpublic KeyValueCollection toKeyValueCollection(boolean useUtfValues)
useUtfValues
- flag indicates of necessity to replace strings with UtfValues
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static RequestorInfo create(KeyValueCollection source)
source
- Source data in format of KeyValueCollection
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |