de.uka.ipd.sdq.featuremodel.impl
Class ConstraintImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.featuremodel.impl.NamedElementImpl
          extended by de.uka.ipd.sdq.featuremodel.impl.ConstraintImpl
All Implemented Interfaces:
Constraint, NamedElement
Direct Known Subclasses:
ProhibitsConstraintImpl, RequiredConstraintImpl

public abstract class ConstraintImpl
extends NamedElementImpl
implements Constraint

An implementation of the model object 'Constraint'.

The following features are implemented:


Field Summary
protected  String description
          The cached value of the 'Description' attribute.
protected static String DESCRIPTION_EDEFAULT
          The default value of the 'Description' attribute.
protected  Feature source
          The cached value of the 'Source' reference.
protected   target
          The cached value of the 'Target' reference list.
 
Fields inherited from class de.uka.ipd.sdq.featuremodel.impl.NamedElementImpl
name, NAME_EDEFAULT
 
Constructor Summary
protected ConstraintImpl()
           
 
Method Summary
 Feature basicGetSource()
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getDescription()
           
 Feature getSource()
           
  getTarget()
           
 void setDescription(String newDescription)
           
 void setSource(Feature newSource)
           
 String toString()
           
 
Methods inherited from class de.uka.ipd.sdq.featuremodel.impl.NamedElementImpl
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.uka.ipd.sdq.featuremodel.NamedElement
getName, setName
 

Field Detail

source

protected Feature source
The cached value of the 'Source' reference.

See Also:
getSource()

target

protected  target
The cached value of the 'Target' reference list.

See Also:
getTarget()

DESCRIPTION_EDEFAULT

protected static final String DESCRIPTION_EDEFAULT
The default value of the 'Description' attribute.

See Also:
getDescription()

description

protected String description
The cached value of the 'Description' attribute.

See Also:
getDescription()
Constructor Detail

ConstraintImpl

protected ConstraintImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NamedElementImpl

getSource

public Feature getSource()

Specified by:
getSource in interface Constraint
Returns:
the value of the 'Source' reference.
See Also:
Constraint.setSource(Feature), featuremodelPackage.getConstraint_Source()

basicGetSource

public Feature basicGetSource()


setSource

public void setSource(Feature newSource)

Specified by:
setSource in interface Constraint
Parameters:
newSource - the new value of the 'Source' reference.
See Also:
Constraint.getSource()

getTarget

public  getTarget()

Specified by:
getTarget in interface Constraint
Returns:
the value of the 'Target' reference list.
See Also:
featuremodelPackage.getConstraint_Target()

getDescription

public String getDescription()

Specified by:
getDescription in interface Constraint
Returns:
the value of the 'Description' attribute.
See Also:
Constraint.setDescription(String), featuremodelPackage.getConstraint_Description()

setDescription

public void setDescription(String newDescription)

Specified by:
setDescription in interface Constraint
Parameters:
newDescription - the new value of the 'Description' attribute.
See Also:
Constraint.getDescription()

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Overrides:
eGet in class NamedElementImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class NamedElementImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class NamedElementImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class NamedElementImpl

toString

public String toString()

Overrides:
toString in class NamedElementImpl