org.eclipse.ocl.examples.library.ecore
Class EcoreLibraryOppositeProperty
java.lang.Object
org.eclipse.ocl.examples.domain.library.AbstractFeature
org.eclipse.ocl.examples.domain.library.AbstractProperty
org.eclipse.ocl.examples.library.ecore.EcoreLibraryOppositeProperty
- All Implemented Interfaces:
- LibraryFeature, LibraryProperty
public class EcoreLibraryOppositeProperty
- extends AbstractProperty
An EcoreLibraryOppositeProperty provides the LibraryProperty to implement a
PropertyCallExp using the inverse navigation of 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, toString, wait, wait, wait |
eFeature
protected final org.eclipse.emf.ecore.EStructuralFeature eFeature
EcoreLibraryOppositeProperty
public EcoreLibraryOppositeProperty(org.eclipse.emf.ecore.EStructuralFeature eFeature)
evaluate
public Value evaluate(DomainEvaluator evaluator,
DomainType returnType,
Value sourceValue,
DomainProperty property)
throws InvalidValueException
- Throws:
InvalidValueException