|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.patterns.framework.AbstractPatternStore
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).
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 |
public AbstractPatternStore()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.