public class EPContextObject
An EPContextObject represents a valu stored into a chat conversation context.
Constructor and Description |
---|
EPContextObject(java.lang.String key,
java.lang.Object value,
java.lang.String formattedValue,
java.lang.String base64)
An EPContextObject represents a valu stored into a chat conversation context.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
component1()
The context key
|
java.lang.Object |
component2()
The value associated with the context key.
|
java.lang.String |
component3()
The formatted value to display in a message instead of the value itself.
|
java.lang.String |
component4()
A data base 64 string if this context object represents a file.
|
EPContextObject |
copy(java.lang.String key,
java.lang.Object value,
java.lang.String formattedValue,
java.lang.String base64)
An EPContextObject represents a valu stored into a chat conversation context.
|
java.lang.String |
getBase64()
A data base 64 string if this context object represents a file.
|
java.lang.String |
getFormattedValue()
The formatted value to display in a message instead of the value itself.
|
java.lang.String |
getKey()
The context key
|
java.lang.Object |
getValue()
The value associated with the context key.
|
void |
setBase64(java.lang.String p)
A data base 64 string if this context object represents a file.
|
void |
setFormattedValue(java.lang.String p)
The formatted value to display in a message instead of the value itself.
|
void |
setKey(java.lang.String p)
The context key
|
void |
setValue(java.lang.Object p)
The value associated with the context key.
|
public EPContextObject(java.lang.String key, java.lang.Object value, java.lang.String formattedValue, java.lang.String base64)
An EPContextObject represents a valu stored into a chat conversation context.
key
- The context keyvalue
- The value associated with the context key. This is the raw value. For example, for a date it will be the timestamp.formattedValue
- The formatted value to display in a message instead of the value itself.base64
- A data base 64 string if this context object represents a file.public java.lang.String getKey()
The context key
public void setKey(java.lang.String p)
The context key
p
- The context keypublic java.lang.Object getValue()
The value associated with the context key.
This is the raw value. For example, for a date it will be the timestamp.
public void setValue(java.lang.Object p)
The value associated with the context key.
This is the raw value. For example, for a date it will be the timestamp.
p
- The value associated with the context key. This is the raw value. For example, for a date it will be the timestamp.public java.lang.String getFormattedValue()
The formatted value to display in a message instead of the value itself.
public void setFormattedValue(java.lang.String p)
The formatted value to display in a message instead of the value itself.
p
- The formatted value to display in a message instead of the value itself.public java.lang.String getBase64()
A data base 64 string if this context object represents a file.
public void setBase64(java.lang.String p)
A data base 64 string if this context object represents a file.
p
- A data base 64 string if this context object represents a file.public java.lang.String component1()
The context key
public java.lang.Object component2()
The value associated with the context key.
This is the raw value. For example, for a date it will be the timestamp.
public java.lang.String component3()
The formatted value to display in a message instead of the value itself.
public java.lang.String component4()
A data base 64 string if this context object represents a file.
public EPContextObject copy(java.lang.String key, java.lang.Object value, java.lang.String formattedValue, java.lang.String base64)
An EPContextObject represents a valu stored into a chat conversation context.