org.eclipse.ocl.examples.library.executor
Class ExecutorProperty
java.lang.Object
org.eclipse.ocl.examples.library.executor.ExecutorProperty
- All Implemented Interfaces:
- DomainElement, DomainNamedElement, DomainProperty, DomainTypedElement
- Direct Known Subclasses:
- EcoreExecutorProperty
public class ExecutorProperty
- extends java.lang.Object
- implements DomainProperty
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected final java.lang.String name
executorType
protected final DomainInheritance executorType
propertyIndex
protected final int propertyIndex
implementation
protected final LibraryProperty implementation
opposite
protected ExecutorProperty opposite
ExecutorProperty
public ExecutorProperty(java.lang.String name,
DomainInheritance executorType,
int propertyIndex,
LibraryProperty implementation)
getImplementation
public LibraryProperty getImplementation()
getInheritance
public DomainInheritance getInheritance(DomainStandardLibrary standardLibrary)
- Description copied from interface:
DomainProperty
- Return the Inheritance dispatch table for the owning type.
- Specified by:
getInheritance
in interface DomainProperty
getName
public java.lang.String getName()
- Specified by:
getName
in interface DomainNamedElement
getOpposite
public DomainProperty getOpposite()
- Description copied from interface:
DomainProperty
- Return the opposite Property if there is one, else null.
- Specified by:
getOpposite
in interface DomainProperty
getType
public DomainType getType()
- Specified by:
getType
in interface DomainTypedElement
setValue
public void setValue(ObjectValue objectValue,
Value propertyValue)
throws InvalidValueException
- Specified by:
setValue
in interface DomainProperty
- Throws:
InvalidValueException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object