|
Generation Framework | |||||||||
| 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.gmf.mappings.impl.MetricRuleImpl
public class MetricRuleImpl
An implementation of the model object 'Metric 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 java.lang.String |
description
The cached value of the ' Description' attribute |
protected static java.lang.String |
DESCRIPTION_EDEFAULT
The default value of the ' Description' attribute |
protected static java.lang.Double |
HIGH_LIMIT_EDEFAULT
The default value of the ' High Limit' attribute |
protected java.lang.Double |
highLimit
The cached value of the ' High Limit' attribute |
protected java.lang.String |
key
The cached value of the ' Key' attribute |
protected static java.lang.String |
KEY_EDEFAULT
The default value of the ' Key' attribute |
protected static java.lang.Double |
LOW_LIMIT_EDEFAULT
The default value of the ' Low Limit' attribute |
protected java.lang.Double |
lowLimit
The cached value of the ' Low Limit' 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 ValueExpression |
rule
The cached value of the ' Rule' containment reference |
protected Measurable |
target
The cached value of the ' Target' containment reference |
| 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 |
MetricRuleImpl()
|
| Method Summary | |
|---|---|
NotificationChain |
basicSetContainer(MetricContainer newContainer,
NotificationChain msgs)
|
NotificationChain |
basicSetRule(ValueExpression newRule,
NotificationChain msgs)
|
NotificationChain |
basicSetTarget(Measurable newTarget,
NotificationChain msgs)
|
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs)
|
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)
|
MetricContainer |
getContainer()
|
java.lang.String |
getDescription()
|
java.lang.Double |
getHighLimit()
|
java.lang.String |
getKey()
|
java.lang.Double |
getLowLimit()
|
java.lang.String |
getName()
|
ValueExpression |
getRule()
|
Measurable |
getTarget()
|
void |
setContainer(MetricContainer newContainer)
|
void |
setDescription(java.lang.String newDescription)
|
void |
setHighLimit(java.lang.Double newHighLimit)
|
void |
setKey(java.lang.String newKey)
|
void |
setLowLimit(java.lang.Double newLowLimit)
|
void |
setName(java.lang.String newName)
|
void |
setRule(ValueExpression newRule)
|
void |
setTarget(Measurable newTarget)
|
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 java.lang.String DESCRIPTION_EDEFAULT
Description' attribute.
getDescription()protected java.lang.String description
Description' attribute.
getDescription()protected static final java.lang.String KEY_EDEFAULT
Key' attribute.
getKey()protected java.lang.String key
Key' attribute.
getKey()protected ValueExpression rule
Rule' containment reference.
getRule()protected Measurable target
Target' containment reference.
getTarget()protected static final java.lang.Double LOW_LIMIT_EDEFAULT
Low Limit' attribute.
getLowLimit()protected java.lang.Double lowLimit
Low Limit' attribute.
getLowLimit()protected static final java.lang.Double HIGH_LIMIT_EDEFAULT
High Limit' attribute.
getHighLimit()protected java.lang.Double highLimit
High Limit' attribute.
getHighLimit()| Constructor Detail |
|---|
protected MetricRuleImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class EObjectImplpublic java.lang.String getName()
getName in interface RuleBaseRuleBase.setName(String),
GMFMapPackage.getRuleBase_Name()public void setName(java.lang.String newName)
setName in interface RuleBasenewName - the new value of the 'Name' attribute.RuleBase.getName()public java.lang.String getDescription()
getDescription in interface RuleBaseRuleBase.setDescription(String),
GMFMapPackage.getRuleBase_Description()public void setDescription(java.lang.String newDescription)
setDescription in interface RuleBasenewDescription - the new value of the 'Description' attribute.RuleBase.getDescription()public java.lang.String getKey()
getKey in interface MetricRuleMetricRule.setKey(String),
GMFMapPackage.getMetricRule_Key()public void setKey(java.lang.String newKey)
setKey in interface MetricRulenewKey - the new value of the 'Key' attribute.MetricRule.getKey()public ValueExpression getRule()
getRule in interface MetricRuleMetricRule.setRule(ValueExpression),
GMFMapPackage.getMetricRule_Rule()
public NotificationChain basicSetRule(ValueExpression newRule,
NotificationChain msgs)
public void setRule(ValueExpression newRule)
setRule in interface MetricRulenewRule - the new value of the 'Rule' containment reference.MetricRule.getRule()public Measurable getTarget()
getTarget in interface MetricRuleMetricRule.setTarget(Measurable),
GMFMapPackage.getMetricRule_Target()
public NotificationChain basicSetTarget(Measurable newTarget,
NotificationChain msgs)
public void setTarget(Measurable newTarget)
setTarget in interface MetricRulenewTarget - the new value of the 'Target' containment reference.MetricRule.getTarget()public java.lang.Double getLowLimit()
getLowLimit in interface MetricRuleMetricRule.setLowLimit(Double),
GMFMapPackage.getMetricRule_LowLimit()public void setLowLimit(java.lang.Double newLowLimit)
setLowLimit in interface MetricRulenewLowLimit - the new value of the 'Low Limit' attribute.MetricRule.getLowLimit()public java.lang.Double getHighLimit()
getHighLimit in interface MetricRuleMetricRule.setHighLimit(Double),
GMFMapPackage.getMetricRule_HighLimit()public void setHighLimit(java.lang.Double newHighLimit)
setHighLimit in interface MetricRulenewHighLimit - the new value of the 'High Limit' attribute.MetricRule.getHighLimit()public MetricContainer getContainer()
getContainer in interface MetricRuleMetricRule.setContainer(MetricContainer),
GMFMapPackage.getMetricRule_Container(),
MetricContainer.getMetrics()
public NotificationChain basicSetContainer(MetricContainer newContainer,
NotificationChain msgs)
public void setContainer(MetricContainer newContainer)
setContainer in interface MetricRulenewContainer - the new value of the 'Container' container reference.MetricRule.getContainer()
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 BasicEObjectImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class BasicEObjectImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class BasicEObjectImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class BasicEObjectImplpublic java.lang.String toString()
toString in class BasicEObjectImpl
|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.