org.eclipse.ocl.examples.pivot.ecore
Class EObjectProperty
java.lang.Object
org.eclipse.ocl.examples.pivot.ecore.EObjectProperty
- All Implemented Interfaces:
- CallableImplementation
public class EObjectProperty
- extends java.lang.Object
- implements CallableImplementation
An EObjectProperty provides the standard CallableImplementation to implement a
PropertyCallExp. When constructed with a null specification, the call just accesses
the property field in a source object. When constructed with a non-null specification,
the specification defines the access algorithm, which if provided as an OpaqueExpression
is lazily compiled from OCL source text.
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
specification
protected ValueSpecification specification
EObjectProperty
public EObjectProperty(org.eclipse.emf.ecore.EStructuralFeature eFeature,
ValueSpecification specification)
evaluate
public Value evaluate(EvaluationVisitor evaluationVisitor,
Value sourceValue,
CallExp callExp)
- Description copied from interface:
CallableImplementation
-
- Specified by:
evaluate
in interface CallableImplementation
validate
public org.eclipse.emf.common.util.Diagnostic validate(TypeManager typeManager,
CallExp callExp)
- Specified by:
validate
in interface CallableImplementation