org.eclipse.ocl.examples.library.ecore
Class EcoreExecutorProperty
java.lang.Object
org.eclipse.ocl.examples.library.executor.AbstractExecutorProperty
org.eclipse.ocl.examples.library.executor.ExecutorProperty
org.eclipse.ocl.examples.library.ecore.EcoreExecutorProperty
- All Implemented Interfaces:
- DomainElement, DomainFeature, DomainNamedElement, DomainProperty, DomainTypedElement, Nameable, LibraryFeature, LibraryProperty
public class EcoreExecutorProperty
- extends ExecutorProperty
- implements LibraryProperty
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
@NonNull
protected final org.eclipse.emf.ecore.EStructuralFeature eFeature
EcoreExecutorProperty
public EcoreExecutorProperty(org.eclipse.emf.ecore.EStructuralFeature eFeature,
@NonNull
DomainInheritance executorType,
int propertyIndex)
evaluate
@Nullable
public java.lang.Object evaluate(@NonNull
DomainEvaluator evaluator,
@NonNull
TypeId returnTypeId,
@Nullable
java.lang.Object sourceValue)
- Specified by:
evaluate
in interface LibraryProperty
getEFeature
@NonNull
public org.eclipse.emf.ecore.EStructuralFeature getEFeature()
getImplementation
@NonNull
public LibraryProperty getImplementation()
- Description copied from interface:
DomainFeature
- Return the implementation of this feature.
- Specified by:
getImplementation
in interface DomainFeature
- Overrides:
getImplementation
in class ExecutorProperty
initValue
public void initValue(@NonNull
java.lang.Object objectValue,
@Nullable
java.lang.Object propertyValue)
- Description copied from interface:
DomainProperty
- Initialize the value of this property within objectValue to propertyValue.
This method is not thread-safe and should only be invoked to complete construction of objectvalue before
making it visible to other threads.
- Specified by:
initValue
in interface DomainProperty
- Overrides:
initValue
in class AbstractExecutorProperty