|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Factory for the model.
It provides a create method for each non-abstract class of the model.
EventPackage
Field Summary | |
---|---|
static EventFactory |
eINSTANCE
The singleton instance of the factory. |
Method Summary | |
---|---|
AssociatedEvent |
createAssociatedEvent()
Returns a new object of class 'Associated Event'. |
AssociationEngine |
createAssociationEngine()
Returns a new object of class 'Association Engine'. |
AvailableSituation |
createAvailableSituation()
Returns a new object of class 'Available Situation'. |
CommonBaseEvent |
createCommonBaseEvent()
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(short severity,
ComponentIdentification reporterCompId,
ComponentIdentification sourceCompId,
Situation situation,
java.lang.String msg)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(short severity,
ComponentIdentification reporterCompId,
ComponentIdentification sourceCompId,
Situation situation,
java.lang.String msgCatalogId,
java.lang.String[] msgCatalogTokens,
java.lang.String msgId,
java.lang.String msg)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(short severity,
Situation situation,
java.lang.String msg)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(short severity,
Situation situation,
java.lang.String msgCatalogId,
java.lang.String[] msgCatalogTokens,
java.lang.String msgId,
java.lang.String msg)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(java.lang.String extensionName)
Returns a new object of class 'Common Base Event'. |
CommonBaseEvent |
createCommonBaseEvent(java.lang.String extensionName,
long creationTime)
Returns a new object of class 'Common Base Event'. |
ComponentIdentification |
createComponentIdentification()
Returns a new object of class 'Component Identification'. |
ConfigureSituation |
createConfigureSituation()
Returns a new object of class 'Configure Situation'. |
ConnectSituation |
createConnectSituation()
Returns a new object of class 'Connect Situation'. |
ContextDataElement |
createContextDataElement()
Returns a new object of class 'Context Data Element'. |
CreateSituation |
createCreateSituation()
Returns a new object of class 'Create Situation'. |
DependencySituation |
createDependencySituation()
Returns a new object of class 'Dependency Situation'. |
DestroySituation |
createDestroySituation()
Returns a new object of class 'Destroy Situation'. |
ExtendedDataElement |
createExtendedDataElement()
Returns a new object of class 'Extended Data Element'. |
FeatureSituation |
createFeatureSituation()
Returns a new object of class 'Feature Situation'. |
java.lang.String |
createGlobalInstanceId()
Produces a globally unique identifier according to the Open Group algorithm. |
MsgCatalogToken |
createMsgCatalogToken()
Returns a new object of class 'Msg Catalog Token'. |
MsgDataElement |
createMsgDataElement()
Returns a new object of class 'Msg Data Element'. |
OtherSituation |
createOtherSituation()
Returns a new object of class 'Other Situation'. |
ReportSituation |
createReportSituation()
Returns a new object of class 'Report Situation'. |
RequestSituation |
createRequestSituation()
Returns a new object of class 'Request Situation'. |
Situation |
createSituation()
Returns a new object of class 'Situation'. |
StartSituation |
createStartSituation()
Returns a new object of class 'Start Situation'. |
StopSituation |
createStopSituation()
Returns a new object of class 'Stop Situation'. |
boolean |
getCompleteEvent()
Gets the complete event configuration flag for this event factory instance. |
ContentHandler |
getContentHandler()
Gets the ContentHandler associated with this
event factory instance. |
EventPackage |
getEventPackage()
Returns the package supported by this factory. |
void |
setCompleteEvent(boolean completeEvent)
Sets the complete event configuration flag for this event factory instance. |
void |
setContentHandler(ContentHandler contentHandler)
Sets the ContentHandler associated with this
event factory instance. |
Methods inherited from interface org.eclipse.emf.ecore.EFactory |
---|
convertToString, create, createFromString, getEPackage, setEPackage |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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 EventFactory eINSTANCE
Method Detail |
public void setContentHandler(ContentHandler contentHandler)
ContentHandler
associated with this
event factory instance.
ContentHandler
s associated with this event factory
instance are assigned to each newly create event instance.
contentHandler
- The new ContentHandler
associated with this event factory instance.public ContentHandler getContentHandler()
ContentHandler
associated with this
event factory instance.
ContentHandler
s associated with this event factory
instance are assigned to each newly create event instance.
ContentHandler
associated with this event factory instance, otherwise null.public void setCompleteEvent(boolean completeEvent)
The complete event configuration flag instructs the event factory instance to
automatically complete newly create event instances using the ContentHandler
associated with this event factory instance, if any.
If the complete event configuration flag is false, the event factory will not automatically complete newly create event instances.
By default, the complete event configuration flag is false.
completeEvent
- The complete event configuration flag.public boolean getCompleteEvent()
The complete event configuration flag instructs the event factory instance to
automatically complete newly create event instances using the ContentHandler
associated with this event factory instance, if any.
If the complete event configuration flag is false, the event factory will not automatically complete newly create event instances.
By default, the complete event configuration flag is false.
public EventPackage getEventPackage()
Returns the package supported by this factory.
public AssociatedEvent createAssociatedEvent()
Returns a new object of class 'Associated Event'.
public AssociationEngine createAssociationEngine()
Returns a new object of class 'Association Engine'.
public AvailableSituation createAvailableSituation()
Returns a new object of class 'Available Situation'.
public CommonBaseEvent createCommonBaseEvent()
Returns a new object of class 'Common Base Event'.
public CommonBaseEvent createCommonBaseEvent(java.lang.String extensionName)
Returns a new object of class 'Common Base Event'.
extensionName
- the extension name for the newly returned event or null.
public CommonBaseEvent createCommonBaseEvent(java.lang.String extensionName, long creationTime)
Returns a new object of class 'Common Base Event'.
extensionName
- the extension name for the newly returned event or null.creationTime
- the creation time, in xsd:dateTime format, for the
newly created event or -1.
public CommonBaseEvent createCommonBaseEvent(short severity, Situation situation, java.lang.String msg)
Returns a new object of class 'Common Base Event'.
severity
- the severity of the event being created or -1situation
- the situation of the event being created or nullmsg
- the msg of the CommonBaseEvent created or null
public CommonBaseEvent createCommonBaseEvent(short severity, Situation situation, java.lang.String msgCatalogId, java.lang.String[] msgCatalogTokens, java.lang.String msgId, java.lang.String msg)
Returns a new object of class 'Common Base Event'.
severity
- the severity of the event being created or -1situation
- the situation of the event being created or nullmsgCatalogId
- the msgCatalogId of the MsgDataElement of the CommonBaseEvent
being created or nullmsgCatalogTokens
- the msgCatalogTokens of the MsgDataElement of the CommonBaseEvent
being created or nullmsgId
- the msgId of the MsgDataElement of the CommonBaseEvent being created
or nullmsg
- the msg of the CommonBaseEvent created or null
public CommonBaseEvent createCommonBaseEvent(short severity, ComponentIdentification reporterCompId, ComponentIdentification sourceCompId, Situation situation, java.lang.String msg)
Returns a new object of class 'Common Base Event'.
severity
- the severity of the event being created or -1reporterCompId
- the reporter component Id of the event being created or nullsourceCompId
- the source component Id of the event being created or nullsituation
- the situation of the event being created or nullmsg
- the msg of the CommonBaseEvent created or null
public CommonBaseEvent createCommonBaseEvent(short severity, ComponentIdentification reporterCompId, ComponentIdentification sourceCompId, Situation situation, java.lang.String msgCatalogId, java.lang.String[] msgCatalogTokens, java.lang.String msgId, java.lang.String msg)
Returns a new object of class 'Common Base Event'.
severity
- the severity of the event being created or -1reporterCompId
- the reporter component Id of the event being created or nullsourceCompId
- the source component Id of the event being created or nullsituation
- the situation of the event being created or nullmsgCatalogId
- the msgCatalogId of the MsgDataElement of the CommonBaseEvent
being created or nullmsgCatalogTokens
- the msgCatalogTokens of the MsgDataElement of the CommonBaseEvent
being created or nullmsgId
- the msgId of the MsgDataElement of the CommonBaseEvent being created
or nullmsg
- the msg of the CommonBaseEvent created or null
public ComponentIdentification createComponentIdentification()
Returns a new object of class 'Component Identification'.
public ConfigureSituation createConfigureSituation()
Returns a new object of class 'Configure Situation'.
public ConnectSituation createConnectSituation()
Returns a new object of class 'Connect Situation'.
public ContextDataElement createContextDataElement()
Returns a new object of class 'Context Data Element'.
public CreateSituation createCreateSituation()
Returns a new object of class 'Create Situation'.
public DependencySituation createDependencySituation()
Returns a new object of class 'Dependency Situation'.
public DestroySituation createDestroySituation()
Returns a new object of class 'Destroy Situation'.
public ExtendedDataElement createExtendedDataElement()
Returns a new object of class 'Extended Data Element'.
public FeatureSituation createFeatureSituation()
Returns a new object of class 'Feature Situation'.
public java.lang.String createGlobalInstanceId()
The algorithm is described in http://www.opengroup.org/dce/info/draft-leach-uuids-guids-01.txt
The produced identifier is always prefixed with "CE" so that it does not clash with identifiers produced by another application using the same algorithm.
public MsgCatalogToken createMsgCatalogToken()
Returns a new object of class 'Msg Catalog Token'.
public MsgDataElement createMsgDataElement()
Returns a new object of class 'Msg Data Element'.
public OtherSituation createOtherSituation()
Returns a new object of class 'Other Situation'.
public ReportSituation createReportSituation()
Returns a new object of class 'Report Situation'.
public RequestSituation createRequestSituation()
Returns a new object of class 'Request Situation'.
public Situation createSituation()
Returns a new object of class 'Situation'.
public StartSituation createStartSituation()
Returns a new object of class 'Start Situation'.
public StopSituation createStopSituation()
Returns a new object of class 'Stop Situation'.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |