|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Context Data Element'.
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.
The following features are supported:
EventPackage.getContextDataElement()
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. |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public java.lang.String getContextId()
Returns the value of the 'Context Id' attribute.
setContextId(String)
,
EventPackage.getContextDataElement_ContextId()
public 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()
public java.lang.String getContextValue()
Returns the value of the 'Context Value' attribute.
setContextValue(String)
,
EventPackage.getContextDataElement_ContextValue()
public 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()
public java.lang.String getName()
Returns the value of the 'Name' attribute.
setName(String)
,
EventPackage.getContextDataElement_Name()
public 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()
public java.lang.String getType()
Returns the value of the 'Type' attribute.
setType(String)
,
EventPackage.getContextDataElement_Type()
public 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()
public 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.public void init()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |