org.eclipse.ocl.examples.pivot.delegate
Class OCLSettingDelegate

java.lang.Object
  extended by org.eclipse.emf.ecore.util.BasicSettingDelegate
      extended by org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless
          extended by org.eclipse.ocl.examples.pivot.delegate.OCLSettingDelegate
All Implemented Interfaces:
org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate

public class OCLSettingDelegate
extends org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless

An implementation of a setting delegate that computes OCL derived features.

Since:
3.0

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.BasicSettingDelegate
org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate
org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate.Factory
 
Field Summary
protected  OCLDelegateDomain delegateDomain
           
 
Fields inherited from class org.eclipse.emf.ecore.util.BasicSettingDelegate
eStructuralFeature
 
Constructor Summary
OCLSettingDelegate(OCLDelegateDomain delegateDomain, org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
          Initializes me with my structural feature.
 
Method Summary
protected  java.lang.Object get(org.eclipse.emf.ecore.InternalEObject owner, boolean resolve, boolean coreType)
           
 Property getProperty()
           
protected  boolean isSet(org.eclipse.emf.ecore.InternalEObject owner)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless
dynamicGet, dynamicInverseAdd, dynamicInverseRemove, dynamicIsSet, dynamicSet, dynamicSetting, dynamicUnset, inverseAdd, inverseRemove, set, setting, unset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

delegateDomain

protected final OCLDelegateDomain delegateDomain
Constructor Detail

OCLSettingDelegate

public OCLSettingDelegate(@NonNull
                          OCLDelegateDomain delegateDomain,
                          @NonNull
                          org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
Initializes me with my structural feature.

Parameters:
structuralFeature - the structural feature that I handle
Method Detail

get

protected java.lang.Object get(org.eclipse.emf.ecore.InternalEObject owner,
                               boolean resolve,
                               boolean coreType)
Specified by:
get in class org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless

getProperty

@NonNull
public Property getProperty()

isSet

protected boolean isSet(org.eclipse.emf.ecore.InternalEObject owner)
Specified by:
isSet in class org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object