|
Traceability | |||||||||
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
ttm.impl.RuleImpl
public class RuleImpl
An implementation of the model object 'Rule'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected int |
level
The cached value of the ' Level ' attribute |
protected static int |
LEVEL_EDEFAULT
The default value of the ' Level ' attribute |
protected java.lang.String |
message
The cached value of the ' Message ' attribute |
protected static java.lang.String |
MESSAGE_EDEFAULT
The default value of the ' Message ' attribute |
protected java.lang.String |
name
The cached value of the ' Name ' attribute |
protected static java.lang.String |
NAME_EDEFAULT
The default value of the ' Name ' attribute |
protected EList |
ruleInstances
The cached value of the ' Rule Instances ' reference list |
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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
RuleImpl()
|
Method Summary | |
---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
int |
getLevel()
|
java.lang.String |
getMessage()
|
java.lang.String |
getMessageForElement(Element elt)
Returns the value of the 'Message' attribute, customized with the element in parameter |
java.lang.String |
getName()
|
EList |
getRuleInstances()
|
void |
setLevel(int newLevel)
|
void |
setMessage(java.lang.String newMessage)
|
void |
setName(java.lang.String newName)
|
java.lang.String |
toString()
|
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.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.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 |
---|
protected static final java.lang.String NAME_EDEFAULT
Name
' attribute.
getName()
protected java.lang.String name
Name
' attribute.
getName()
protected static final int LEVEL_EDEFAULT
Level
' attribute.
getLevel()
,
Constant Field Valuesprotected int level
Level
' attribute.
getLevel()
protected EList ruleInstances
Rule Instances
' reference list.
getRuleInstances()
protected static final java.lang.String MESSAGE_EDEFAULT
Message
' attribute.
getMessage()
protected java.lang.String message
Message
' attribute.
getMessage()
Constructor Detail |
---|
protected RuleImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public java.lang.String getName()
getName
in interface Rule
Rule.setName(String)
,
TtmPackage.getRule_Name()
public void setName(java.lang.String newName)
setName
in interface Rule
newName
- the new value of the 'Name' attribute.Rule.getName()
public int getLevel()
getLevel
in interface Rule
Rule.setLevel(int)
,
TtmPackage.getRule_Level()
public void setLevel(int newLevel)
setLevel
in interface Rule
newLevel
- the new value of the 'Level' attribute.Rule.getLevel()
public EList getRuleInstances()
getRuleInstances
in interface Rule
TtmPackage.getRule_RuleInstances()
,
RuleInstance.getBaseRule()
public java.lang.String getMessage()
getMessage
in interface Rule
Rule.setMessage(String)
,
TtmPackage.getRule_Message()
public void setMessage(java.lang.String newMessage)
setMessage
in interface Rule
newMessage
- the new value of the 'Message' attribute.Rule.getMessage()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
public java.lang.String toString()
toString
in class BasicEObjectImpl
public java.lang.String getMessageForElement(Element elt)
the
- element from which we want some information in addition of 'Message' attribute
|
Traceability | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.