|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.EFactoryImpl
org.eclipse.hyades.logging.events.cbe.impl.EventFactoryImpl
An implementation of the model Factory.
Nested Class Summary |
---|
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary | |
---|---|
static java.lang.String |
CBE_INSTANCE_ADDRESS
Name of the reference address for the mediation handlers in JNDI. |
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl |
---|
EDATE_FORMATS, ePackage |
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from interface org.eclipse.hyades.logging.events.cbe.EventFactory |
---|
eINSTANCE |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
EventFactoryImpl()
Creates and instance of the factory. |
Method Summary | |
---|---|
org.eclipse.emf.ecore.EObject |
create(org.eclipse.emf.ecore.EClass eClass)
|
AssociatedEvent |
createAssociatedEvent()
|
AssociationEngine |
createAssociationEngine()
|
AvailableSituation |
createAvailableSituation()
|
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'. |
CommonBaseEvent |
createCommonBaseEventGen()
|
ComponentIdentification |
createComponentIdentification()
|
ConfigureSituation |
createConfigureSituation()
|
ConnectSituation |
createConnectSituation()
|
ContextDataElement |
createContextDataElement()
|
CreateSituation |
createCreateSituation()
|
DependencySituation |
createDependencySituation()
|
DestroySituation |
createDestroySituation()
|
ExtendedDataElement |
createExtendedDataElement()
|
FeatureSituation |
createFeatureSituation()
|
java.lang.String |
createGlobalInstanceId()
Produces a globally unique identifier according to the Internet draft draft-leach-uuids-guids-01 algorithm. |
MsgCatalogToken |
createMsgCatalogToken()
|
MsgDataElement |
createMsgDataElement()
|
OtherSituation |
createOtherSituation()
|
ReportSituation |
createReportSituation()
|
RequestSituation |
createRequestSituation()
|
Situation |
createSituation()
|
StartSituation |
createStartSituation()
|
StopSituation |
createStopSituation()
|
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()
|
static EventFactory |
getInstance()
Accessor method to retrieve the instance of the singleton factory. |
static EventPackage |
getPackage()
|
javax.naming.Reference |
getReference()
|
void |
setCompleteEvent(boolean completeEvent)
Sets the complete event configuration flag for this event factory instance. |
void |
setContentHandler(ContentHandler value)
Sets the ContentHandler associated with this
event factory instance. |
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl |
---|
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, createFromString, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage |
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, toString |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EFactory |
---|
convertToString, 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 |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
public static final java.lang.String CBE_INSTANCE_ADDRESS
The getReference
method encodes the mediation handlers in
their serialized form inside a reference address and uses this name
for that address.
Constructor Detail |
public EventFactoryImpl()
Method Detail |
public EventPackage getEventPackage()
getEventPackage
in interface EventFactory
public static EventPackage getPackage()
public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
create
in interface org.eclipse.emf.ecore.EFactory
public AssociatedEvent createAssociatedEvent()
createAssociatedEvent
in interface EventFactory
public AssociationEngine createAssociationEngine()
createAssociationEngine
in interface EventFactory
public AvailableSituation createAvailableSituation()
createAvailableSituation
in interface EventFactory
public CommonBaseEvent createCommonBaseEventGen()
public CommonBaseEvent createCommonBaseEvent()
EventFactory
Returns a new object of class 'Common Base Event'.
createCommonBaseEvent
in interface EventFactory
EventFactory.createCommonBaseEvent()
public CommonBaseEvent createCommonBaseEvent(java.lang.String extensionName, long creationTime)
EventFactory
Returns a new object of class 'Common Base Event'.
createCommonBaseEvent
in interface EventFactory
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.
EventFactory.createCommonBaseEvent(String, long)
public CommonBaseEvent createCommonBaseEvent(java.lang.String extensionName)
EventFactory
Returns a new object of class 'Common Base Event'.
createCommonBaseEvent
in interface EventFactory
extensionName
- the extension name for the newly returned event or null.
EventFactory.createCommonBaseEvent(String)
public CommonBaseEvent createCommonBaseEvent(short severity, Situation situation, java.lang.String msg)
EventFactory
Returns a new object of class 'Common Base Event'.
createCommonBaseEvent
in interface EventFactory
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
EventFactory.createCommonBaseEvent(short, org.eclipse.hyades.logging.events.cbe.Situation, java.lang.String)
public CommonBaseEvent createCommonBaseEvent(short severity, Situation situation, java.lang.String msgCatalogId, java.lang.String[] msgCatalogTokens, java.lang.String msgId, java.lang.String msg)
EventFactory
Returns a new object of class 'Common Base Event'.
createCommonBaseEvent
in interface EventFactory
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
EventFactory.createCommonBaseEvent(short, org.eclipse.hyades.logging.events.cbe.Situation, java.lang.String, java.lang.String[], java.lang.String, java.lang.String)
public CommonBaseEvent createCommonBaseEvent(short severity, ComponentIdentification reporterCompId, ComponentIdentification sourceCompId, Situation situation, java.lang.String msg)
EventFactory
Returns a new object of class 'Common Base Event'.
createCommonBaseEvent
in interface EventFactory
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
EventFactory.createCommonBaseEvent(short, org.eclipse.hyades.logging.events.cbe.ComponentIdentification, org.eclipse.hyades.logging.events.cbe.ComponentIdentification, org.eclipse.hyades.logging.events.cbe.Situation, java.lang.String)
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)
EventFactory
Returns a new object of class 'Common Base Event'.
createCommonBaseEvent
in interface EventFactory
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
EventFactory.createCommonBaseEvent(short, org.eclipse.hyades.logging.events.cbe.ComponentIdentification, org.eclipse.hyades.logging.events.cbe.ComponentIdentification, org.eclipse.hyades.logging.events.cbe.Situation, java.lang.String, java.lang.String[], java.lang.String, java.lang.String)
public ComponentIdentification createComponentIdentification()
createComponentIdentification
in interface EventFactory
public ConfigureSituation createConfigureSituation()
createConfigureSituation
in interface EventFactory
public ConnectSituation createConnectSituation()
createConnectSituation
in interface EventFactory
public ContextDataElement createContextDataElement()
createContextDataElement
in interface EventFactory
public CreateSituation createCreateSituation()
createCreateSituation
in interface EventFactory
public DependencySituation createDependencySituation()
createDependencySituation
in interface EventFactory
public DestroySituation createDestroySituation()
createDestroySituation
in interface EventFactory
public ExtendedDataElement createExtendedDataElement()
createExtendedDataElement
in interface EventFactory
public FeatureSituation createFeatureSituation()
createFeatureSituation
in interface EventFactory
public java.lang.String createGlobalInstanceId()
createGlobalInstanceId
in interface EventFactory
public MsgCatalogToken createMsgCatalogToken()
createMsgCatalogToken
in interface EventFactory
public MsgDataElement createMsgDataElement()
createMsgDataElement
in interface EventFactory
public OtherSituation createOtherSituation()
createOtherSituation
in interface EventFactory
public ReportSituation createReportSituation()
createReportSituation
in interface EventFactory
public RequestSituation createRequestSituation()
createRequestSituation
in interface EventFactory
public Situation createSituation()
createSituation
in interface EventFactory
public StartSituation createStartSituation()
createStartSituation
in interface EventFactory
public StopSituation createStopSituation()
createStopSituation
in interface EventFactory
public void setContentHandler(ContentHandler value)
EventFactory
ContentHandler
associated with this
event factory instance.
ContentHandler
s associated with this event factory
instance are assigned to each newly create event instance.
setContentHandler
in interface EventFactory
value
- The new ContentHandler
associated with this event factory instance.public ContentHandler getContentHandler()
EventFactory
ContentHandler
associated with this
event factory instance.
ContentHandler
s associated with this event factory
instance are assigned to each newly create event instance.
getContentHandler
in interface EventFactory
ContentHandler
associated with this event factory instance, otherwise null.public void setCompleteEvent(boolean completeEvent)
EventFactory
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.
setCompleteEvent
in interface EventFactory
completeEvent
- The complete event configuration flag.public boolean getCompleteEvent()
EventFactory
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.
getCompleteEvent
in interface EventFactory
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
Referenceable.getReference()
public static EventFactory getInstance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |