EGF Engine
Release 0.1.0

org.eclipse.egf.model.impl
Class ContractElementReferenceImpl

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.ContractElementReferenceImpl
All Implemented Interfaces:
ContractElementReference, NamedModelElementWithId

public class ContractElementReferenceImpl
extends NamedModelElementWithIdImpl
implements ContractElementReference

An implementation of the model object 'Contract Element Reference'.

The following features are implemented:


Field Summary
protected static String REFERENCED_CONTRACT_ELEMENT_ID_EDEFAULT
          The default value of the 'Referenced Contract Element Id' attribute
protected static String REFERENCED_CONTRACT_ELEMENT_NAME_EDEFAULT
          The default value of the 'Referenced Contract Element Name' attribute
protected static String REFERENCED_FACTORY_COMPONENT_ID_EDEFAULT
          The default value of the 'Referenced Factory Component Id' attribute
protected  ContractElement referencedContractElement
          The cached value of the 'Referenced Contract Element' reference.
protected  String referencedContractElementId
          The cached value of the 'Referenced Contract Element Id' attribute
protected  String referencedContractElementName
          The cached value of the 'Referenced Contract Element Name' attribute
protected  String referencedFactoryComponentId
          The cached value of the 'Referenced Factory Component Id' 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 ContractElementReferenceImpl()
           
 
Method Summary
 ContractElement basicGetReferencedContractElement()
           
 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)
           
 ContractElement getReferencedContractElement()
           
 String getReferencedContractElementId()
           
 String getReferencedContractElementName()
           
 String getReferencedFactoryComponentId()
           
 void setReferencedContractElement(ContractElement newReferencedContractElement)
           
 void setReferencedContractElementId(String newReferencedContractElementId)
           
 void setReferencedContractElementName(String newReferencedContractElementName)
           
 void setReferencedFactoryComponentId(String newReferencedFactoryComponentId)
           
 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

REFERENCED_CONTRACT_ELEMENT_ID_EDEFAULT

protected static final String REFERENCED_CONTRACT_ELEMENT_ID_EDEFAULT
The default value of the 'Referenced Contract Element Id' attribute.

See Also:
getReferencedContractElementId()

referencedContractElementId

protected String referencedContractElementId
The cached value of the 'Referenced Contract Element Id' attribute.

See Also:
getReferencedContractElementId()

REFERENCED_CONTRACT_ELEMENT_NAME_EDEFAULT

protected static final String REFERENCED_CONTRACT_ELEMENT_NAME_EDEFAULT
The default value of the 'Referenced Contract Element Name' attribute.

See Also:
getReferencedContractElementName()

referencedContractElementName

protected String referencedContractElementName
The cached value of the 'Referenced Contract Element Name' attribute.

See Also:
getReferencedContractElementName()

REFERENCED_FACTORY_COMPONENT_ID_EDEFAULT

protected static final String REFERENCED_FACTORY_COMPONENT_ID_EDEFAULT
The default value of the 'Referenced Factory Component Id' attribute.

See Also:
getReferencedFactoryComponentId()

referencedFactoryComponentId

protected String referencedFactoryComponentId
The cached value of the 'Referenced Factory Component Id' attribute.

See Also:
getReferencedFactoryComponentId()

referencedContractElement

protected ContractElement referencedContractElement
The cached value of the 'Referenced Contract Element' reference.

See Also:
getReferencedContractElement()
Constructor Detail

ContractElementReferenceImpl

protected ContractElementReferenceImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NamedModelElementWithIdImpl

getReferencedContractElementId

public String getReferencedContractElementId()

Specified by:
getReferencedContractElementId in interface ContractElementReference
Returns:
the value of the 'Referenced Contract Element Id' attribute.
See Also:
ContractElementReference.setReferencedContractElementId(String), ModelPackage.getContractElementReference_ReferencedContractElementId()

setReferencedContractElementId

public void setReferencedContractElementId(String newReferencedContractElementId)

Specified by:
setReferencedContractElementId in interface ContractElementReference
Parameters:
newReferencedContractElementId - the new value of the 'Referenced Contract Element Id' attribute.
See Also:
ContractElementReference.getReferencedContractElementId()

getReferencedContractElementName

public String getReferencedContractElementName()

Specified by:
getReferencedContractElementName in interface ContractElementReference
Returns:
the value of the 'Referenced Contract Element Name' attribute.
See Also:
ContractElementReference.setReferencedContractElementName(String), ModelPackage.getContractElementReference_ReferencedContractElementName()

setReferencedContractElementName

public void setReferencedContractElementName(String newReferencedContractElementName)

Specified by:
setReferencedContractElementName in interface ContractElementReference
Parameters:
newReferencedContractElementName - the new value of the 'Referenced Contract Element Name' attribute.
See Also:
ContractElementReference.getReferencedContractElementName()

getReferencedFactoryComponentId

public String getReferencedFactoryComponentId()

Specified by:
getReferencedFactoryComponentId in interface ContractElementReference
Returns:
the value of the 'Referenced Factory Component Id' attribute.
See Also:
ContractElementReference.setReferencedFactoryComponentId(String), ModelPackage.getContractElementReference_ReferencedFactoryComponentId()

setReferencedFactoryComponentId

public void setReferencedFactoryComponentId(String newReferencedFactoryComponentId)

Specified by:
setReferencedFactoryComponentId in interface ContractElementReference
Parameters:
newReferencedFactoryComponentId - the new value of the 'Referenced FactoryComponent Id' attribute.
See Also:
ContractElementReference.getReferencedFactoryComponentId()

getReferencedContractElement

public ContractElement getReferencedContractElement()

Specified by:
getReferencedContractElement in interface ContractElementReference
Returns:
the value of the 'Referenced Contract Element' reference.
See Also:
ContractElementReference.setReferencedContractElement(ContractElement), ModelPackage.getContractElementReference_ReferencedContractElement()

basicGetReferencedContractElement

public ContractElement basicGetReferencedContractElement()


setReferencedContractElement

public void setReferencedContractElement(ContractElement newReferencedContractElement)

Specified by:
setReferencedContractElement in interface ContractElementReference
Parameters:
newReferencedContractElement - the new value of the 'Referenced Contract Element' reference.
See Also:
ContractElementReference.getReferencedContractElement()

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.