|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContextDataElement
Interface representing a ContextDataElement.
The following description is from the Common Base Event v1.0.1 specification entitled "Canonical Situation Data Format: The Common Base Event V1.0.1":
The ContextDataElement type defines the contexts that this event references. This complex type holds data that is used to assist with problem diagnostics by correlating messages or events generated during execution of a unit of work.
| Method Summary | |
|---|---|
java.lang.String |
getContextId()
Returns the value of the 'Context Id' attribute. |
java.lang.String |
getContextValue()
Returns the value of the 'Context Value' attribute. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
java.lang.String |
getType()
Returns the value of the 'Type' attribute. |
void |
init()
Resets the object's properties to their initial (e.g. null) state. |
void |
setContextId(java.lang.String value)
Sets the value of the ' Context Id'
attribute. |
void |
setContextValue(java.lang.String value)
Sets the value of the ' Context Value'
attribute. |
void |
setName(java.lang.String value)
Sets the value of the ' Name'
attribute. |
void |
setType(java.lang.String value)
Sets the value of the ' Type'
attribute. |
void |
validate()
Checks whether the contents of this object conforms to the CBE specification. |
| Method Detail |
|---|
java.lang.String getContextId()
Returns the value of the 'Context Id' attribute.
setContextId(String)void setContextId(java.lang.String value)
Context Id'
attribute.
This property is the reference to the globally unique identifier of the element that contains the context.
This is required unless contextValue specifies a value.
value - the new value of the 'Context Id' attribute.getContextId()java.lang.String getContextValue()
Returns the value of the 'Context Value' attribute.
setContextValue(String)void setContextValue(java.lang.String value)
Context Value'
attribute.
The value of the context with respect to the implementation of the context.
This is required unless contextId specifies a value. The string length for this property must not exceed 1024 characters.
value - the new value of the 'Context Value' attribute.getContextValue()java.lang.String getName()
Returns the value of the 'Name' attribute.
setName(String)void setName(java.lang.String value)
Name'
attribute.
Name of the application that created this context data element.
This is a required property. The string length for this property must not exceed 64 characters.
value - the new value of the 'Name' attribute.getName()java.lang.String getType()
Returns the value of the 'Type' attribute.
setType(String)void setType(java.lang.String value)
Type'
attribute.
The data type of the contextValue property.
This is a required property. The string length for this property must not exceed 64 characters.
value - the new value of the 'Type' attribute.getType()
void validate()
throws ValidationException
Checks whether the contents of this object conforms to the CBE specification.
ValidationException - if the object does not follow the CBE specification.void init()
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||