org.eclipse.ocl.examples.library.executor
Class ExecutorProperty

java.lang.Object
  extended by 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


Field Summary
protected  DomainInheritance executorType
           
protected  LibraryProperty implementation
           
protected  java.lang.String name
           
protected  ExecutorProperty opposite
           
protected  int propertyIndex
           
 
Constructor Summary
ExecutorProperty(java.lang.String name, DomainInheritance executorType, int propertyIndex, LibraryProperty implementation)
           
 
Method Summary
 LibraryProperty getImplementation()
           
 DomainInheritance getInheritance(DomainStandardLibrary standardLibrary)
          Return the Inheritance dispatch table for the owning type.
 java.lang.String getName()
           
 DomainProperty getOpposite()
          Return the opposite Property if there is one, else null.
 DomainType getType()
           
 void setValue(ObjectValue objectValue, Value propertyValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ExecutorProperty

public ExecutorProperty(java.lang.String name,
                        DomainInheritance executorType,
                        int propertyIndex,
                        LibraryProperty implementation)
Method Detail

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