EGF Engine
Release 0.1.0

org.eclipse.egf.model.impl
Class ContextElementImpl

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.egf.model.internal.data.ModelElement
          extended by org.eclipse.egf.model.impl.NamedModelElementWithIdImpl
              extended by org.eclipse.egf.model.impl.ContextElementImpl
All Implemented Interfaces:
ContextElement, NamedModelElementWithId

public class ContextElementImpl
extends NamedModelElementWithIdImpl
implements ContextElement

An implementation of the model object 'Context Element'.

The following features are implemented:


Field Summary
protected  Type contextType
          The cached value of the 'Context Type' containment reference
protected static String CONTRACT_REFERENCE_ID_EDEFAULT
          The default value of the 'Contract Reference Id' attribute
protected  ContractElementReference contractElementReference
          The cached value of the 'Contract Element Reference' reference.
protected  String contractReferenceId
          The cached value of the 'Contract Reference Id' attribute
protected  String key
          The cached value of the 'Key' attribute
protected static String KEY_EDEFAULT
          The default value of the 'Key' attribute
protected static String PLUGIN_ID_EDEFAULT
          The default value of the 'Plugin Id' attribute
protected  String pluginId
          The cached value of the 'Plugin Id' attribute
protected static String READABLE_VALUE_EDEFAULT
          The default value of the 'Readable Value' attribute
protected  String readableValue
          The cached value of the 'Readable Value' attribute
protected  Object value
          The cached value of the 'Value' attribute
protected static Object VALUE_EDEFAULT
          The default value of the 'Value' attribute
 
Fields inherited from class org.eclipse.egf.model.impl.NamedModelElementWithIdImpl
description, DESCRIPTION_EDEFAULT, id, ID_EDEFAULT, JAVA_IDENTIFIER_EDEFAULT, javaIdentifier, name, NAME_EDEFAULT
 
Constructor Summary
protected ContextElementImpl()
           
 
Method Summary
 ContractElementReference basicGetContractElementReference()
           
 NotificationChain basicSetContextType(Type newContextType, NotificationChain msgs)
           
 NotificationChain basicSetContractElementReference(ContractElementReference newContractElementReference, NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Type getContextType()
           
 ContractElementReference getContractElementReference()
           
 String getContractReferenceId()
           
 String getKey()
           
 String getPluginId()
           
 String getReadableValue()
           
 Object getValue()
           
 void setContextType(Type newContextType)
           
 void setContractElementReference(ContractElementReference newContractElementReference)
           
 void setContractReferenceId(String newContractReferenceId)
           
 void setKey(String newKey)
           
 void setPluginId(String newPluginId)
           
 void setReadableValue(String newReadableValue)
           
 void setValue(Object newValue)
           
 String toString()
           
 
Methods inherited from class org.eclipse.egf.model.impl.NamedModelElementWithIdImpl
getDescription, getId, getJavaIdentifier, getName, setDescription, setId, setName
 
Methods inherited from class org.eclipse.egf.model.internal.data.ModelElement
addPropertyChangeListener, generateId, getAdapter, getFactoryComponentLoadingHelper, getFactoryComponentReader, removePropertyChangeListener, setAdapter, setFactoryComponentReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.egf.model.NamedModelElementWithId
getDescription, getId, getJavaIdentifier, getName, setDescription, setId, setName
 

Field Detail

contractElementReference

protected ContractElementReference contractElementReference
The cached value of the 'Contract Element Reference' reference.

See Also:
getContractElementReference()

VALUE_EDEFAULT

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

See Also:
getValue()

value

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

See Also:
getValue()

READABLE_VALUE_EDEFAULT

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

See Also:
getReadableValue()

readableValue

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

See Also:
getReadableValue()

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()

CONTRACT_REFERENCE_ID_EDEFAULT

protected static final String CONTRACT_REFERENCE_ID_EDEFAULT
The default value of the 'Contract Reference Id' attribute.

See Also:
getContractReferenceId()

contractReferenceId

protected String contractReferenceId
The cached value of the 'Contract Reference Id' attribute.

See Also:
getContractReferenceId()

contextType

protected Type contextType
The cached value of the 'Context Type' containment reference.

See Also:
getContextType()

PLUGIN_ID_EDEFAULT

protected static final String PLUGIN_ID_EDEFAULT
The default value of the 'Plugin Id' attribute.

See Also:
getPluginId()

pluginId

protected String pluginId
The cached value of the 'Plugin Id' attribute.

See Also:
getPluginId()
Constructor Detail

ContextElementImpl

protected ContextElementImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NamedModelElementWithIdImpl

getContractElementReference

public ContractElementReference getContractElementReference()

Specified by:
getContractElementReference in interface ContextElement
Returns:
the value of the 'Contract Element Reference' containment reference.
See Also:
ContextElement.setContractElementReference(ContractElementReference), ModelPackage.getContextElement_ContractElementReference()

basicSetContractElementReference

public NotificationChain basicSetContractElementReference(ContractElementReference newContractElementReference,
                                                          NotificationChain msgs)


basicGetContractElementReference

public ContractElementReference basicGetContractElementReference()


setContractElementReference

public void setContractElementReference(ContractElementReference newContractElementReference)

Specified by:
setContractElementReference in interface ContextElement
Parameters:
newContractElementReference - the new value of the 'Contract Element Reference' containment reference.
See Also:
ContextElement.getContractElementReference()

getValue

public Object getValue()

Specified by:
getValue in interface ContextElement
Returns:
the value of the 'Value' attribute.
See Also:
ContextElement.setValue(Object), ModelPackage.getContextElement_Value()

setValue

public void setValue(Object newValue)

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

getReadableValue

public String getReadableValue()

Specified by:
getReadableValue in interface ContextElement
Returns:
the value of the 'Readable Value' attribute.
See Also:
ContextElement.setReadableValue(String), ModelPackage.getContextElement_ReadableValue()

setReadableValue

public void setReadableValue(String newReadableValue)

Specified by:
setReadableValue in interface ContextElement
Parameters:
newReadableValue - the new value of the 'Readable Value' attribute.
See Also:
ContextElement.getReadableValue()

getKey

public String getKey()

Specified by:
getKey in interface ContextElement
Returns:
the value of the 'Key' attribute.
See Also:
ContextElement.setKey(String), ModelPackage.getContextElement_Key()

setKey

public void setKey(String newKey)

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

getContractReferenceId

public String getContractReferenceId()

Specified by:
getContractReferenceId in interface ContextElement
Returns:
the value of the 'Contract Reference Id' attribute.
See Also:
ContextElement.setContractReferenceId(String), ModelPackage.getContextElement_ContractReferenceId()

setContractReferenceId

public void setContractReferenceId(String newContractReferenceId)

Specified by:
setContractReferenceId in interface ContextElement
Parameters:
newContractReferenceId - the new value of the 'Contract Reference Id' attribute.
See Also:
ContextElement.getContractReferenceId()

getContextType

public Type getContextType()

Specified by:
getContextType in interface ContextElement
Returns:
the value of the 'Context Type' containment reference.
See Also:
ContextElement.setContextType(Type), ModelPackage.getContextElement_ContextType()

basicSetContextType

public NotificationChain basicSetContextType(Type newContextType,
                                             NotificationChain msgs)


setContextType

public void setContextType(Type newContextType)

Specified by:
setContextType in interface ContextElement
Parameters:
newContextType - the new value of the 'Context Type' containment reference.
See Also:
ContextElement.getContextType()

getPluginId

public String getPluginId()

Specified by:
getPluginId in interface ContextElement
Returns:
the value of the 'Plugin Id' attribute.
See Also:
ContextElement.setPluginId(String), ModelPackage.getContextElement_PluginId()

setPluginId

public void setPluginId(String newPluginId)

Specified by:
setPluginId in interface ContextElement
Parameters:
newPluginId - the new value of the 'Plugin Id' attribute.
See Also:
ContextElement.getPluginId()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

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

Overrides:
eGet in class NamedModelElementWithIdImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class NamedModelElementWithIdImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class NamedModelElementWithIdImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class NamedModelElementWithIdImpl

toString

public String toString()

Overrides:
toString in class NamedModelElementWithIdImpl

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.