org.eclipse.ocl.examples.library.ecore
Class EcoreLibraryProperty
java.lang.Object
org.eclipse.ocl.examples.domain.library.AbstractFeature
org.eclipse.ocl.examples.domain.library.AbstractProperty
org.eclipse.ocl.examples.library.ecore.EcoreLibraryProperty
- All Implemented Interfaces:
- LibraryFeature, LibraryProperty
public class EcoreLibraryProperty
- extends AbstractProperty
An EcoreLibraryProperty provides the LibraryProperty to implement a
PropertyCallExp using an EStructuralFeature.
Field Summary |
protected org.eclipse.emf.ecore.EStructuralFeature |
eFeature
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
eFeature
protected final org.eclipse.emf.ecore.EStructuralFeature eFeature
EcoreLibraryProperty
public EcoreLibraryProperty(org.eclipse.emf.ecore.EStructuralFeature eFeature)
evaluate
public Value evaluate(DomainEvaluator evaluator,
DomainType returnType,
Value sourceValue,
DomainProperty property)
throws InvalidValueException
- Throws:
InvalidValueException
getEFeature
public org.eclipse.emf.ecore.EStructuralFeature getEFeature()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object