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

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.types.AbstractFragment
      extended by org.eclipse.ocl.examples.library.executor.ExecutorFragment
All Implemented Interfaces:
DomainFragment

public class ExecutorFragment
extends AbstractFragment

An ExecutorFragment provides the description of the properties and operations defined by some class when accessed by the same or another class. The descriptions are normally built by direct static construction from auto-generated code, with instnaces defined in isolation during construction then cross-references defined later by calls to init().


Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.domain.types.AbstractFragment
baseInheritance, derivedInheritance
 
Constructor Summary
ExecutorFragment(ExecutorType derivedInheritance, DomainInheritance baseInheritance)
           
 
Method Summary
 LibraryFeature getImplementation(DomainOperation staticOperation)
           
 java.util.List<? extends DomainOperation> getLocalOperations()
           
 java.util.List<? extends DomainProperty> getLocalProperties()
           
 java.util.List<? extends DomainType> getLocalSuperTypes()
           
 void initOperations(ExecutorOperation[] operations)
           
 void initProperties(ExecutorProperty[] properties)
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.types.AbstractFragment
getBaseFragment, getBaseInheritance, getDerivedInheritance, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutorFragment

public ExecutorFragment(@NonNull
                        ExecutorType derivedInheritance,
                        @NonNull
                        DomainInheritance baseInheritance)
Method Detail

getImplementation

@NonNull
public LibraryFeature getImplementation(@NonNull
                                                DomainOperation staticOperation)

getLocalOperations

@NonNull
public java.util.List<? extends DomainOperation> getLocalOperations()

getLocalProperties

@NonNull
public java.util.List<? extends DomainProperty> getLocalProperties()

getLocalSuperTypes

@NonNull
public java.util.List<? extends DomainType> getLocalSuperTypes()

initOperations

public void initOperations(@NonNull
                           ExecutorOperation[] operations)

initProperties

public void initProperties(@NonNull
                           ExecutorProperty[] properties)