|
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.Definition
The abstract pattern store definition class defines the methods necessary to persist and reconsitute persisted pattern definitions. This does not fully-define all persisted data regarding pattern definitions, it only persists the data needed for pattern applications. The data needed for pattern applications is currently the data needed to support of the pattern instance store.
Constructor Summary | |
AbstractPatternStore.Definition()
|
Method Summary | |
abstract boolean |
containsDefinition(AbstractPatternDefinition definition,
Object containerObject)
Determines if a definition already exists within the container object scope. |
abstract Object |
createDefinition(AbstractPatternDefinition definition,
Object containerObject)
Creates a new pattern definition within the persistent pattern store. |
abstract Object |
ensureDefinition(AbstractPatternDefinition definition,
Object containerObject)
Ensure a pattern definition already exists in the pattern store for the given pattern definition using the container object as the scope. |
abstract Object |
getDefinition(AbstractPatternDefinition definition,
Object containerObject)
Retrieve a pattern definition representation in the persistent store given the pattern definition and container object. |
abstract IPatternIdentity |
getDefinitionIdentity(Object representation)
Get the definition identity associated with the instance representation object being passed in. |
abstract Object |
getValidContainer(Object containerHint)
Get a valid container for an pattern instance to live given the input target object. |
abstract void |
removeDefinition(AbstractPatternDefinition definition,
Object containerObject)
Remove a pattern definition in the persistent pattern store with the given definition using the container object as the scope. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractPatternStore.Definition()
Method Detail |
public abstract boolean containsDefinition(AbstractPatternDefinition definition, Object containerObject)
definition
- the pattern definition of interestcontainerObject
- the container object to use as the scope
public abstract Object createDefinition(AbstractPatternDefinition definition, Object containerObject)
definition
- the pattern definition of interestcontainerObject
- the container object to use as the scope
public abstract Object ensureDefinition(AbstractPatternDefinition definition, Object containerObject)
definition
- the pattern definition of interestcontainerObject
- the container object to use as the scope
public abstract Object getDefinition(AbstractPatternDefinition definition, Object containerObject)
definition
- the pattern definition of interestcontainerObject
- the container object to use as the scope
public abstract IPatternIdentity getDefinitionIdentity(Object representation)
representation
- the definition representation to retrieve the pattern
identity from
public abstract Object getValidContainer(Object containerHint)
containerHint
- the container candidate or container hint
public abstract void removeDefinition(AbstractPatternDefinition definition, Object containerObject)
definition
- the pattern definition of interestcontainerObject
- the container object to use as the scope
|
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.