|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Association Engine'.
The AssociationEngine identifies the application that establishes associations among related or associated events. In addition, it provides properties to describe the types of the associations.
The AssociationEngine is a standalone entity in the XML schema and the AssociatedEvents created by the application that is identified by the AssociationEngine refer to it. This will eliminate the need to repeat the same data in every associated event.
Upon object creation and/or initialization (e.g. init()
), a
new unique GUID
is assigned to the id
property.
The following features are supported:
EventPackage.getAssociationEngine()
Field Summary | |
---|---|
static java.lang.String |
TYPE_CAUSED_BY
Value for the Type attribute. |
static java.lang.String |
TYPE_CLEARED
Value for the Type attribute. |
static java.lang.String |
TYPE_CONTAIN
Value for the Type attribute. |
static java.lang.String |
TYPE_CORRELATED
Value for the Type attribute. |
static java.lang.String |
TYPE_MULTI_PART
Value for the Type attribute. |
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the value of the 'Id' 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, except the id property.
|
void |
setId(java.lang.String value)
Sets the value of the ' Id ' 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 |
Field Detail |
public static final java.lang.String TYPE_CONTAIN
Value for the Type attribute.
The association represents containment of other events within a root event.
getType()
,
Constant Field Valuespublic static final java.lang.String TYPE_CAUSED_BY
Value for the Type attribute.
The association represents a causality allowing the associated event to point to the cause of the situation.
getType()
,
Constant Field Valuespublic static final java.lang.String TYPE_CLEARED
The association represents a relationship where an event points to an event that fixes or results in the situation becoming irrelevant.
getType()
,
Constant Field Valuespublic static final java.lang.String TYPE_MULTI_PART
The association represents a collection of events together compose a single event.
getType()
,
Constant Field Valuespublic static final java.lang.String TYPE_CORRELATED
The association represents a relationship between a child and parent event based on a correlation algorithm specified in the name of the association.
getType()
,
Constant Field ValuesMethod Detail |
public java.lang.String getId()
Returns the value of the 'Id' attribute.
setId(String)
,
EventPackage.getAssociationEngine_Id()
public void setId(java.lang.String value)
Sets the value of the 'Id
' attribute.
The primary identifier for the element. This property must be globally unique. The recommend value for this is either a 128 bit or 256 bit Globally Unique Id (represented as hex string). Once this value is set it must never be changed. This is a required property.
value
- the new value of the 'Id' attribute.getId()
public java.lang.String getType()
Returns the value of the 'Type' attribute.
setType(String)
,
EventPackage.getAssociationEngine_Type()
public void setType(java.lang.String value)
Sets the value of the 'Type
' attribute.
This property should contain the type of association created by this AssociationEngine. Some well defined associations are:
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 java.lang.String getName()
Returns the value of the 'Name' attribute.
setName(String)
,
EventPackage.getAssociationEngine_Name()
public void setName(java.lang.String value)
Sets the value of the 'Name
' attribute.
The name of the application that creates the association (for example, my correlation engine name). 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 void validate() throws ValidationException
ValidationException
- if the object does not follow the CBE specification.public void init()
id
property.
This API assigns a new unique GUID
to the id
property.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |