|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.emf.common.notify.impl.BasicNotifierImpl | +--org.eclipse.emf.ecore.impl.BasicEObjectImpl | +--org.eclipse.emf.ecore.impl.EObjectImpl | +--org.eclipse.hyades.logging.events.cbe.impl.SerializableImpl | +--org.eclipse.hyades.logging.events.cbe.impl.AssociatedEventImpl
An implementation of the model object 'Associated Event'.
Field Summary | |
---|---|
protected static java.lang.String |
ASSOCIATION_ENGINE_EDEFAULT
The default value of the ' Association Engine ' attribute |
protected java.lang.String |
associationEngine
The cached value of the ' Association Engine ' attribute |
protected AssociationEngine |
associationEngineInfo
The cached value of the ' Association Engine Info ' containment reference |
protected static java.lang.String |
RESOLVED_EVENTS_EDEFAULT
The default value of the ' Resolved Events ' attribute |
protected java.lang.String |
resolvedEvents
The cached value of the ' Resolved Events ' attribute |
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.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
AssociatedEventImpl()
|
Method Summary | |
---|---|
void |
addResolvedEvent(java.lang.String globalInstanceId)
Adds a Common Base Event reference to the array of resolved events. |
org.eclipse.emf.common.notify.NotificationChain |
basicSetAssociationEngineInfo(AssociationEngine newAssociationEngineInfo,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
void |
clearResolvedEvents()
Removes all Common Base Event references in the array of resolved events. |
java.lang.Object |
clone()
return a cloned (copy by value) object. |
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
boolean |
equals(java.lang.Object arg0)
|
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
java.lang.String |
getAssociationEngine()
|
AssociationEngine |
getAssociationEngineInfo()
|
java.lang.String |
getResolvedEvents()
|
java.lang.String[] |
getResolvedEventsAsArray()
Returns the value of the 'Resolved Events' attribute. |
void |
init()
Resets the object's properties to their initial (e.g. null) state. |
void |
removeResolvedEvent(java.lang.String globalInstanceId)
Removes a named Common Base Event reference in the array of resolved events. |
void |
setAssociationEngine(java.lang.String newAssociationEngine)
|
void |
setAssociationEngineInfo(AssociationEngine newAssociationEngineInfo)
|
void |
setAssociationEngineInfo(java.lang.String associationEngineName,
java.lang.String associationEngineType,
java.lang.String associationEngineId)
Helper method for creating and setting the association engine information for this object. |
void |
setResolvedEvents(java.lang.String newResolvedEvents)
|
void |
setResolvedEventsAsArray(java.lang.String[] newResolvedEvents)
This routine will take a string array and build a blank delimited list from each element of the list. |
java.lang.String |
toString()
|
void |
validate()
Checks whether the contents of this object conforms to the CBE specification. |
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, eInverseAdd, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
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 |
protected static final java.lang.String ASSOCIATION_ENGINE_EDEFAULT
Association Engine
' attribute.
getAssociationEngine()
protected java.lang.String associationEngine
Association Engine
' attribute.
getAssociationEngine()
protected static final java.lang.String RESOLVED_EVENTS_EDEFAULT
Resolved Events
' attribute.
getResolvedEvents()
protected java.lang.String resolvedEvents
Resolved Events
' attribute.
getResolvedEvents()
protected AssociationEngine associationEngineInfo
Association Engine Info
' containment reference.
getAssociationEngineInfo()
Constructor Detail |
protected AssociatedEventImpl()
Method Detail |
public void setAssociationEngine(java.lang.String newAssociationEngine)
setAssociationEngine
in interface AssociatedEvent
newAssociationEngine
- the new value of the 'Association Engine' attribute.AssociatedEvent.getAssociationEngine()
public java.lang.String getAssociationEngine()
getAssociationEngine
in interface AssociatedEvent
AssociatedEvent.setAssociationEngine(String)
,
EventPackage.getAssociatedEvent_AssociationEngine()
public void setAssociationEngineInfo(AssociationEngine newAssociationEngineInfo)
setAssociationEngineInfo
in interface AssociatedEvent
newAssociationEngineInfo
- the new value of the 'Association Engine Info' containment reference.AssociatedEvent.getAssociationEngineInfo()
public void setAssociationEngineInfo(java.lang.String associationEngineName, java.lang.String associationEngineType, java.lang.String associationEngineId)
AssociatedEvent
Helper method for creating and setting the association engine information for this object.
It creates an AssociationEngine
object and sets it in
the respective field of this object.
setAssociationEngineInfo
in interface AssociatedEvent
associationEngineName
- name for the association engine.associationEngineType
- type for the association engine.associationEngineId
- identifier for the association engine.AssociatedEvent.setAssociationEngineInfo(String, String, String)
public AssociationEngine getAssociationEngineInfo()
getAssociationEngineInfo
in interface AssociatedEvent
AssociatedEvent.setAssociationEngineInfo(AssociationEngine)
,
EventPackage.getAssociatedEvent_AssociationEngineInfo()
public void setResolvedEvents(java.lang.String newResolvedEvents)
setResolvedEvents
in interface AssociatedEvent
newResolvedEvents
- the new value of the 'Resolved Events' attribute.AssociatedEvent.getResolvedEvents()
,
AssociatedEvent.validate()
public java.lang.String getResolvedEvents()
getResolvedEvents
in interface AssociatedEvent
AssociatedEvent.setResolvedEvents(String)
,
EventPackage.getAssociatedEvent_ResolvedEvents()
public void setResolvedEventsAsArray(java.lang.String[] newResolvedEvents)
setResolvedEventsAsArray
in interface AssociatedEvent
newResolvedEvents
- the new value of the 'Resolved Events' attribute.AssociatedEvent.setResolvedEvents(String)
,
AssociatedEvent.getResolvedEvents()
,
AssociatedEvent.getResolvedEventsAsArray()
,
AssociatedEvent.validate()
public java.lang.String[] getResolvedEventsAsArray()
AssociatedEvent
Returns the value of the 'Resolved Events' attribute.
The returned string follows the IDREFS type as stated in the CBE and defined in the XML Schema specification. In this case it will be an array of IDREF strings. If there are no resolved events then an empty array will be returned.
getResolvedEventsAsArray
in interface AssociatedEvent
AssociatedEvent.setResolvedEvents(String)
,
AssociatedEvent.setResolvedEventsAsArray(String[])
,
AssociatedEvent.getResolvedEvents()
,
EventPackage.getAssociatedEvent_ResolvedEvents()
public void addResolvedEvent(java.lang.String globalInstanceId)
addResolvedEvent
in interface AssociatedEvent
globalInstanceId
- The new Common Base Event globalInstanceId.CommonBaseEvent
public void clearResolvedEvents()
clearResolvedEvents
in interface AssociatedEvent
CommonBaseEvent
public void removeResolvedEvent(java.lang.String globalInstanceId)
removeResolvedEvent
in interface AssociatedEvent
globalInstanceId
- The removed Common Base Event globalInstanceId.CommonBaseEvent
public org.eclipse.emf.common.notify.NotificationChain basicSetAssociationEngineInfo(AssociationEngine newAssociationEngineInfo, org.eclipse.emf.common.notify.NotificationChain msgs)
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
eGet
in interface org.eclipse.emf.ecore.EObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in interface org.eclipse.emf.ecore.InternalEObject
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet
in interface org.eclipse.emf.ecore.EObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.EObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset
in interface org.eclipse.emf.ecore.EObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void validate() throws ValidationException
validate
in interface AssociatedEvent
ValidationException
- if the object does not follow the
CBE specification.protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class SerializableImpl
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void init()
init
in interface AssociatedEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |