org.eclipse.ocl.examples.library.oclstdlib
Class OCLstdlib.Loader

java.lang.Object
  extended by org.eclipse.ocl.examples.library.oclstdlib.OCLstdlib.Loader
All Implemented Interfaces:
RegisteredContribution<StandardLibraryContribution>, StandardLibraryContribution
Enclosing class:
OCLstdlib

public static class OCLstdlib.Loader
extends java.lang.Object
implements StandardLibraryContribution

The Loader shares the Standard Library instance whenever this default library is loaded from the registry of Standard Libraries populated by the standard_library extension point.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.pivot.library.StandardLibraryContribution
StandardLibraryContribution.Descriptor
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.pivot.library.RegisteredContribution
RegisteredContribution.AbstractDescriptor<C extends RegisteredContribution<C>>, RegisteredContribution.AbstractRegistry<C extends RegisteredContribution<C>>, RegisteredContribution.Registry<C extends RegisteredContribution<C>>
 
Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.pivot.library.StandardLibraryContribution
REGISTRY
 
Constructor Summary
OCLstdlib.Loader()
           
 
Method Summary
 StandardLibraryContribution getContribution()
           
 org.eclipse.emf.ecore.resource.Resource getResource()
          Return the resource containing the contribution to the standard library.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCLstdlib.Loader

public OCLstdlib.Loader()
Method Detail

getContribution

public StandardLibraryContribution getContribution()
Specified by:
getContribution in interface RegisteredContribution<StandardLibraryContribution>

getResource

public org.eclipse.emf.ecore.resource.Resource getResource()
Description copied from interface: StandardLibraryContribution
Return the resource containing the contribution to the standard library.

Specified by:
getResource in interface StandardLibraryContribution
Returns:
the contributing resource.