IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.patterns.framework
Class AbstractPatternStore

java.lang.Object
  extended bycom.ibm.xtools.patterns.framework.AbstractPatternStore

public abstract class AbstractPatternStore
extends Object

This is the abstract pattern store, which defines the common set of operations across all persistent stores for patterns (definitions and instances). When the various operation are called, the contract for this abstract class is that all operations go directly against the underlying persistent values and the store itself is stateless with regards to framework abstractions. Different metamodels can be adapted to store this data by writing an appropriate pattern store for a particular metamodel. Once both a pattern definition and a pattern instance store have been implemented, a concrete factory that groups this family of concrete products together is also needed. To switch in a different pattern store for use in a pattern library, the abstract configuration class must be extended and the factory method in the abstract pattern library must be overridden to create instances of the appropriate framework configuration (which refers to and creates the needed concrete pattern store factory).

See Also:
AbstractConfiguration.getPatternStoreFactory(), AbstractPatternLibrary.createFrameworkConfiguration()

Nested Class Summary
static class AbstractPatternStore.Definition
          The abstract pattern store definition class defines the methods necessary to persist and reconsitute persisted pattern definitions.
static class AbstractPatternStore.Instance
          The abstract pattern store instance class defines the methods necessary to persist and reconsitute persisted pattern instances.
 
Constructor Summary
AbstractPatternStore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPatternStore

public AbstractPatternStore()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.