|
|||||||||||
| 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.hyades.logging.events.cbe.impl.SerializableImpl
org.eclipse.hyades.logging.events.cbe.impl.MsgDataElementImpl
An implementation of the model object 'Msg Data Element'.
| 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 | |
|---|---|
protected static java.lang.String |
MSG_CATALOG_EDEFAULT
The default value of the ' Msg Catalog' attribute. |
protected static java.lang.String |
MSG_CATALOG_ID_EDEFAULT
The default value of the ' Msg Catalog Id' attribute. |
protected static java.lang.String |
MSG_CATALOG_TYPE_EDEFAULT
The default value of the ' Msg Catalog Type' attribute. |
protected static java.lang.String |
MSG_ID_EDEFAULT
The default value of the ' Msg Id' attribute. |
protected static java.lang.String |
MSG_ID_TYPE_EDEFAULT
The default value of the ' Msg Id Type' attribute. |
protected static java.lang.String |
MSG_LOCALE_EDEFAULT
The default value of the ' Msg Locale' attribute. |
protected java.lang.String |
msgCatalog
The cached value of the ' Msg Catalog' attribute. |
protected java.lang.String |
msgCatalogId
The cached value of the ' Msg Catalog Id' attribute. |
protected org.eclipse.emf.common.util.EList |
msgCatalogTokens
The cached value of the ' Msg Catalog Tokens' containment reference list. |
protected java.lang.String |
msgCatalogType
The cached value of the ' Msg Catalog Type' attribute. |
protected java.lang.String |
msgId
The cached value of the ' Msg Id' attribute. |
protected java.lang.String |
msgIdType
The cached value of the ' Msg Id Type' attribute. |
protected java.lang.String |
msgLocale
The cached value of the ' Msg Locale' 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 |
MsgDataElementImpl()
|
| Method Summary | |
|---|---|
MsgCatalogToken |
addMsgCatalogToken(MsgCatalogToken value)
Adds a new MsgCatalogToken to this object. |
MsgCatalogToken |
addMsgCatalogTokenAsString(java.lang.String value)
Adds a new MsgCatalogToken to this object. |
void |
clearMsgCatalogTokens()
Removes all msgCatalogTokens that this event is referencing |
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 |
getMsgCatalog()
|
java.lang.String |
getMsgCatalogId()
|
org.eclipse.emf.common.util.EList |
getMsgCatalogTokens()
|
java.lang.String[] |
getMsgCatalogTokensAsStrings()
Returns the value of the 'Msg Catalog Tokens' attribute list. |
java.lang.String |
getMsgCatalogType()
|
java.lang.String |
getMsgId()
|
java.lang.String |
getMsgIdType()
|
java.lang.String |
getMsgLocale()
|
void |
init()
Resets the object's properties to their initial (e.g. |
void |
setMsgCatalog(java.lang.String newMsgCatalog)
|
void |
setMsgCatalogId(java.lang.String newMsgCatalogId)
|
void |
setMsgCatalogTokens(MsgCatalogToken[] msgCatalogTokens)
Sets the value of the 'Msg Catalog Tokens' attribute list. |
void |
setMsgCatalogTokensAsStrings(java.lang.String[] msgCatalogTokens)
Sets the value of the 'Msg Catalog Tokens' attribute list. |
void |
setMsgCatalogType(java.lang.String newMsgCatalogType)
|
void |
setMsgId(java.lang.String newMsgId)
|
void |
setMsgIdType(java.lang.String newMsgIdType)
|
void |
setMsgLocale(java.lang.String newMsgLocale)
|
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 MSG_ID_TYPE_EDEFAULT
Msg Id Type' attribute.
getMsgIdType()protected java.lang.String msgIdType
Msg Id Type' attribute.
getMsgIdType()protected static final java.lang.String MSG_CATALOG_TYPE_EDEFAULT
Msg Catalog Type' attribute.
getMsgCatalogType()protected java.lang.String msgCatalogType
Msg Catalog Type' attribute.
getMsgCatalogType()protected static final java.lang.String MSG_CATALOG_EDEFAULT
Msg Catalog' attribute.
getMsgCatalog()protected java.lang.String msgCatalog
Msg Catalog' attribute.
getMsgCatalog()protected static final java.lang.String MSG_CATALOG_ID_EDEFAULT
Msg Catalog Id' attribute.
getMsgCatalogId()protected java.lang.String msgCatalogId
Msg Catalog Id' attribute.
getMsgCatalogId()protected static final java.lang.String MSG_ID_EDEFAULT
Msg Id' attribute.
getMsgId()protected java.lang.String msgId
Msg Id' attribute.
getMsgId()protected static final java.lang.String MSG_LOCALE_EDEFAULT
Msg Locale' attribute.
getMsgLocale()protected java.lang.String msgLocale
Msg Locale' attribute.
getMsgLocale()protected org.eclipse.emf.common.util.EList msgCatalogTokens
Msg Catalog Tokens' containment reference list.
getMsgCatalogTokens()| Constructor Detail |
protected MsgDataElementImpl()
| Method Detail |
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class SerializableImplpublic java.lang.String getMsgIdType()
getMsgIdType in interface MsgDataElementMsgDataElement.setMsgIdType(String),
EventPackage.getMsgDataElement_MsgIdType()public void setMsgIdType(java.lang.String newMsgIdType)
setMsgIdType in interface MsgDataElementnewMsgIdType - the new value of the 'Msg Id Type' attribute.MsgDataElement.getMsgIdType()public java.lang.String getMsgCatalogType()
getMsgCatalogType in interface MsgDataElementMsgDataElement.setMsgCatalogType(String),
EventPackage.getMsgDataElement_MsgCatalogType()public void setMsgCatalogType(java.lang.String newMsgCatalogType)
setMsgCatalogType in interface MsgDataElementnewMsgCatalogType - the new value of the 'Msg Catalog Type' attribute.MsgDataElement.getMsgCatalogType()public java.lang.String getMsgCatalog()
getMsgCatalog in interface MsgDataElementMsgDataElement.setMsgCatalog(String),
EventPackage.getMsgDataElement_MsgCatalog()public void setMsgCatalog(java.lang.String newMsgCatalog)
setMsgCatalog in interface MsgDataElementnewMsgCatalog - the new value of the 'Msg Catalog' attribute.MsgDataElement.getMsgCatalog()public java.lang.String getMsgCatalogId()
getMsgCatalogId in interface MsgDataElementMsgDataElement.setMsgCatalogId(String),
EventPackage.getMsgDataElement_MsgCatalogId()public void setMsgCatalogId(java.lang.String newMsgCatalogId)
setMsgCatalogId in interface MsgDataElementnewMsgCatalogId - the new value of the 'Msg Catalog Id' attribute.MsgDataElement.getMsgCatalogId()public java.lang.String getMsgId()
getMsgId in interface MsgDataElementMsgDataElement.setMsgId(String),
EventPackage.getMsgDataElement_MsgId()public void setMsgId(java.lang.String newMsgId)
setMsgId in interface MsgDataElementnewMsgId - the new value of the 'Msg Id' attribute.MsgDataElement.getMsgId()public java.lang.String getMsgLocale()
getMsgLocale in interface MsgDataElementMsgDataElement.setMsgLocale(String),
EventPackage.getMsgDataElement_MsgLocale()public void setMsgLocale(java.lang.String newMsgLocale)
setMsgLocale in interface MsgDataElementnewMsgLocale - the new value of the 'Msg Locale' attribute.MsgDataElement.getMsgLocale()public org.eclipse.emf.common.util.EList getMsgCatalogTokens()
getMsgCatalogTokens in interface MsgDataElementEventPackage.getMsgDataElement_MsgCatalogTokens()
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
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
eGet in interface org.eclipse.emf.ecore.EObject
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.EObjectpublic void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset in interface org.eclipse.emf.ecore.EObjectpublic boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet in interface org.eclipse.emf.ecore.EObjectpublic java.lang.String toString()
public void validate()
throws ValidationException
validate in interface MsgDataElementValidationException - if the object does not follow the
CBE specification.public MsgCatalogToken addMsgCatalogToken(MsgCatalogToken value)
MsgDataElementMsgCatalogToken to this object.
It creates a MsgCatalogToken object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addMsgCatalogToken in interface MsgDataElementvalue - the MsgCatalogToken value.
MsgDataElement.addMsgCatalogToken(org.eclipse.hyades.logging.events.cbe.MsgCatalogToken)public MsgCatalogToken addMsgCatalogTokenAsString(java.lang.String value)
MsgDataElementMsgCatalogToken to this object.
It creates a MsgCatalogToken object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addMsgCatalogTokenAsString in interface MsgDataElementvalue - the String value for the new message
catalog token.
MsgDataElement.addMsgCatalogTokenAsString(String)public void clearMsgCatalogTokens()
clearMsgCatalogTokens in interface MsgDataElementpublic java.lang.String[] getMsgCatalogTokensAsStrings()
MsgDataElement
Each string corresponds to the value attribute of a
MsgCatalogToken inside the message catalog token list.
getMsgCatalogTokensAsStrings in interface MsgDataElementMsgDataElement.getMsgCatalogTokensAsStrings()public void setMsgCatalogTokensAsStrings(java.lang.String[] msgCatalogTokens)
MsgDataElement
Each string is translated to the value attribute of a
MsgCatalogToken to be added to the message catalog token
list.
Any prior message catalog token is removed before the new list is set.
setMsgCatalogTokensAsStrings in interface MsgDataElementmsgCatalogTokens - array of values for the message catalog tokensMsgDataElement.setMsgCatalogTokensAsStrings(String[])public void setMsgCatalogTokens(MsgCatalogToken[] msgCatalogTokens)
MsgDataElement
Each string is translated to the value attribute of a
MsgCatalogToken to be added to the message catalog token
list.
Any prior message catalog token is removed before the new list is set.
setMsgCatalogTokens in interface MsgDataElementmsgCatalogTokens - array of values for the message catalog tokensMsgDataElement.getMsgCatalogTokens(),
MsgDataElement.getMsgCatalogTokensAsStrings()public boolean equals(java.lang.Object arg0)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic void init()
init in interface MsgDataElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||