Constructor
(abstract) new StatementPayload()
Instantiates new statement payload.
- Source:
Methods
get() → {Object}
Get the payload object.
- Source:
Returns:
- Type
- Object
getContext() → {string}
- Source:
Returns:
context
- Type
- string
getObject() → {string}
- Source:
Returns:
object
- Type
- string
getPredicate() → {string}
- Source:
Returns:
predicate
- Type
- string
getSubject() → {string}
- Source:
Returns:
subject
- Type
- string
setContext(contextopt) → {StatementPayload}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
context |
string | Array.<string> |
<optional> |
- Source:
Returns:
- Type
- StatementPayload
setObject(objectopt) → {StatementPayload}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
object |
string |
<optional> |
- Source:
Returns:
- Type
- StatementPayload
setPredicate(predicateopt) → {StatementPayload}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
predicate |
string |
<optional> |
- Source:
Returns:
- Type
- StatementPayload
setSubject(subjectopt) → {StatementPayload}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
subject |
string |
<optional> |
- Source:
Returns:
- Type
- StatementPayload