EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.relations.impl
Class ReferenceRelationImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.egf.pattern.relations.impl.PatternRelationImpl
          extended by org.eclipse.egf.pattern.relations.impl.ReferenceRelationImpl
All Implemented Interfaces:
PatternRelation, ReferenceRelation

public class ReferenceRelationImpl
extends PatternRelationImpl
implements ReferenceRelation

An implementation of the model object 'Reference Relation'.

The following features are implemented:


Field Summary
protected  Pattern referencedPattern
          The cached value of the 'Referenced Pattern' reference
 
Fields inherited from class org.eclipse.egf.pattern.relations.impl.PatternRelationImpl
name, NAME_EDEFAULT
 
Constructor Summary
protected ReferenceRelationImpl()
           
 
Method Summary
 Pattern basicGetReferencedPattern()
           
 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)
           
 Pattern getReferencedPattern()
           
 void setReferencedPattern(Pattern newReferencedPattern)
           
 
Methods inherited from class org.eclipse.egf.pattern.relations.impl.PatternRelationImpl
getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.egf.pattern.relations.PatternRelation
getName, setName
 

Field Detail

referencedPattern

protected Pattern referencedPattern
The cached value of the 'Referenced Pattern' reference.

See Also:
getReferencedPattern()
Constructor Detail

ReferenceRelationImpl

protected ReferenceRelationImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class PatternRelationImpl

getReferencedPattern

public Pattern getReferencedPattern()

Specified by:
getReferencedPattern in interface ReferenceRelation
Returns:
the value of the 'Referenced Pattern' reference.
See Also:
ReferenceRelation.setReferencedPattern(Pattern), RelationsPackage.getReferenceRelation_ReferencedPattern()

basicGetReferencedPattern

public Pattern basicGetReferencedPattern()


setReferencedPattern

public void setReferencedPattern(Pattern newReferencedPattern)

Specified by:
setReferencedPattern in interface ReferenceRelation
Parameters:
newReferencedPattern - the new value of the 'Referenced Pattern' reference.
See Also:
ReferenceRelation.getReferencedPattern()

eGet

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

Overrides:
eGet in class PatternRelationImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class PatternRelationImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class PatternRelationImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class PatternRelationImpl

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.