IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.patterns.framework
Class AbstractPatternStoreFactory

java.lang.Object
  extended bycom.ibm.xtools.patterns.framework.AbstractPatternStoreFactory
Direct Known Subclasses:
PatternStoreFactory

public abstract class AbstractPatternStoreFactory
extends Object

The abstract pattern store factory is the abstract factory in an instance of the abstract factory pattern. The concrete products are the various types of persistent stores such as the pattern definition and pattern instance stores. The abstract products are defined by the abstract pattern definition store and the abstract pattern instance store classes.

See Also:
AbstractPatternStore.Definition, AbstractPatternStore.Instance

Constructor Summary
AbstractPatternStoreFactory()
           
 
Method Summary
abstract  AbstractPatternStore.Definition createPatternDefinitionStore()
          One concrete product in this instantiation of the abstract factory pattern.
abstract  AbstractPatternStore.Instance createPatternInstanceStore()
          Another concrete product in this instantiation of the abstract factory pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPatternStoreFactory

public AbstractPatternStoreFactory()
Method Detail

createPatternDefinitionStore

public abstract AbstractPatternStore.Definition createPatternDefinitionStore()
One concrete product in this instantiation of the abstract factory pattern. These method creates a pattern definition store that is appropriate based on the concrete factory that is used.

Returns:
a pattern definition store to use

createPatternInstanceStore

public abstract AbstractPatternStore.Instance createPatternInstanceStore()
Another concrete product in this instantiation of the abstract factory pattern. These method creates a pattern instance store that is appropriate based on the concrete factory that is used. This pattern instance store is compatible with all other concrete products, including the pattern definition store returned back from that particular method.

Returns:
a pattern instance store to use

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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