EGF Engine
Release 0.1.0

org.eclipse.egf.model.impl
Class ContractElementImpl

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.ContractElementImpl
All Implemented Interfaces:
ContractElement, NamedModelElementWithId

public class ContractElementImpl
extends NamedModelElementWithIdImpl
implements ContractElement

An implementation of the model object 'Contract Element'.

The following features are implemented:


Field Summary
protected   contractElementReferences
          The cached value of the 'Contract Element References' containment reference list
protected   contractReferenceIds
          The cached value of the 'Contract Reference Ids' attribute list
protected  Type contractType
          The cached value of the 'Contract Type' containment reference
protected static String FACTORY_COMPONENT_ID_EDEFAULT
          The default value of the 'Factory Component Id' attribute
protected  String factoryComponentId
          The cached value of the 'Factory Component Id' attribute
protected  boolean mandatory
          The cached value of the 'Mandatory' attribute
protected static boolean MANDATORY_EDEFAULT
          The default value of the 'Mandatory' 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 ContractElementImpl()
           
 
Method Summary
 NotificationChain basicSetContractType(Type newContractType, 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)
           
  getContractElementReferences()
           
  getContractReferenceIds()
           
 Type getContractType()
           
 String getFactoryComponentId()
           
 boolean isMandatory()
           
 void setContractType(Type newContractType)
           
 void setFactoryComponentId(String newFactoryComponentId)
           
 void setMandatory(boolean newMandatory)
           
 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

contractElementReferences

protected  contractElementReferences
The cached value of the 'Contract Element References' containment reference list.

See Also:
getContractElementReferences()

FACTORY_COMPONENT_ID_EDEFAULT

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

See Also:
getFactoryComponentId()

factoryComponentId

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

See Also:
getFactoryComponentId()

contractReferenceIds

protected  contractReferenceIds
The cached value of the 'Contract Reference Ids' attribute list.

See Also:
getContractReferenceIds()

contractType

protected Type contractType
The cached value of the 'Contract Type' containment reference.

See Also:
getContractType()

MANDATORY_EDEFAULT

protected static final boolean MANDATORY_EDEFAULT
The default value of the 'Mandatory' attribute.

See Also:
isMandatory(), Constant Field Values

mandatory

protected boolean mandatory
The cached value of the 'Mandatory' attribute.

See Also:
isMandatory()
Constructor Detail

ContractElementImpl

protected ContractElementImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class NamedModelElementWithIdImpl

getContractElementReferences

public  getContractElementReferences()

Specified by:
getContractElementReferences in interface ContractElement
Returns:
the value of the 'Contract Element References' containment reference list.
See Also:
ModelPackage.getContractElement_ContractElementReferences()

getFactoryComponentId

public String getFactoryComponentId()

Specified by:
getFactoryComponentId in interface ContractElement
Returns:
the value of the 'Factory Component Id' attribute.
See Also:
ContractElement.setFactoryComponentId(String), ModelPackage.getContractElement_FactoryComponentId()

setFactoryComponentId

public void setFactoryComponentId(String newFactoryComponentId)

Specified by:
setFactoryComponentId in interface ContractElement
Parameters:
newFactoryComponentId - the new value of the 'Factory Component Id' attribute.
See Also:
ContractElement.getFactoryComponentId()

getContractReferenceIds

public  getContractReferenceIds()

Specified by:
getContractReferenceIds in interface ContractElement
Returns:
the value of the 'Contract Reference Ids' attribute list.
See Also:
ModelPackage.getContractElement_ContractReferenceIds()

getContractType

public Type getContractType()

Specified by:
getContractType in interface ContractElement
Returns:
the value of the 'Contract Type' containment reference.
See Also:
ContractElement.setContractType(Type), ModelPackage.getContractElement_ContractType()

basicSetContractType

public NotificationChain basicSetContractType(Type newContractType,
                                              NotificationChain msgs)


setContractType

public void setContractType(Type newContractType)

Specified by:
setContractType in interface ContractElement
Parameters:
newContractType - the new value of the 'Contract Type' containment reference.
See Also:
ContractElement.getContractType()

isMandatory

public boolean isMandatory()

Specified by:
isMandatory in interface ContractElement
Returns:
the value of the 'Mandatory' attribute.
See Also:
ContractElement.setMandatory(boolean), ModelPackage.getContractElement_Mandatory()

setMandatory

public void setMandatory(boolean newMandatory)

Specified by:
setMandatory in interface ContractElement
Parameters:
newMandatory - the new value of the 'Mandatory' attribute.
See Also:
ContractElement.isMandatory()

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.