org.eclipse.graphiti.mm.impl
Class PropertyImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.graphiti.mm.impl.PropertyImpl
All Implemented Interfaces:
Property

public class PropertyImpl
extends EObjectImpl
implements Property

An implementation of the model object 'Property'.

The following features are implemented:


Field Summary
protected  String key
          The cached value of the 'Key' attribute.
protected static String KEY_EDEFAULT
          The default value of the 'Key' attribute.
protected  String value
          The cached value of the 'Value' attribute.
protected static String VALUE_EDEFAULT
          The default value of the 'Value' attribute.
 
Constructor Summary
protected PropertyImpl()
           
 
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)
           
 String getKey()
           
 String getValue()
           
 void setKey(String newKey)
           
 void setValue(String newValue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_EDEFAULT

protected static final String KEY_EDEFAULT
The default value of the 'Key' attribute.

See Also:
getKey()

key

protected String key
The cached value of the 'Key' attribute.

See Also:
getKey()

VALUE_EDEFAULT

protected static final String VALUE_EDEFAULT
The default value of the 'Value' attribute.

See Also:
getValue()

value

protected String value
The cached value of the 'Value' attribute.

See Also:
getValue()
Constructor Detail

PropertyImpl

protected PropertyImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getKey

public String getKey()

Specified by:
getKey in interface Property
Returns:
the value of the 'Key' attribute.
See Also:
Property.setKey(String), MmPackage.getProperty_Key()

setKey

public void setKey(String newKey)

Specified by:
setKey in interface Property
Parameters:
newKey - the new value of the 'Key' attribute.
See Also:
Property.getKey()

getValue

public String getValue()

Specified by:
getValue in interface Property
Returns:
the value of the 'Value' attribute.
See Also:
Property.setValue(String), MmPackage.getProperty_Value()

setValue

public void setValue(String newValue)

Specified by:
setValue in interface Property
Parameters:
newValue - the new value of the 'Value' attribute.
See Also:
Property.getValue()

eGet

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


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()



Copyright (c) SAP AG 2005, 2010.