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

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.featuremodel.impl.NamedElementImpl
          extended by de.uka.ipd.sdq.featuremodel.impl.AttributeImpl
All Implemented Interfaces:
Attribute, NamedElement

public class AttributeImpl
extends NamedElementImpl
implements Attribute

An implementation of the model object 'Attribute'.

The following features are implemented:


Field Summary
protected  AttributeTypes type
          The cached value of the 'Type' attribute.
protected static AttributeTypes TYPE_EDEFAULT
          The default value of the 'Type' attribute.
 
Fields inherited from class de.uka.ipd.sdq.featuremodel.impl.NamedElementImpl
name, NAME_EDEFAULT
 
Constructor Summary
protected AttributeImpl()
           
 
Method Summary
 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)
           
 AttributeTypes getType()
           
 void setType(AttributeTypes newType)
           
 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

TYPE_EDEFAULT

protected static final AttributeTypes TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()

type

protected AttributeTypes type
The cached value of the 'Type' attribute.

See Also:
getType()
Constructor Detail

AttributeImpl

protected AttributeImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NamedElementImpl

getType

public AttributeTypes getType()

Specified by:
getType in interface Attribute
Returns:
the value of the 'Type' attribute.
See Also:
AttributeTypes, Attribute.setType(AttributeTypes), featuremodelPackage.getAttribute_Type()

setType

public void setType(AttributeTypes newType)

Specified by:
setType in interface Attribute
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
AttributeTypes, Attribute.getType()

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