IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.patterns.framework
Class AbstractPatternInstance.Default

java.lang.Object
  extended bycom.ibm.xtools.patterns.core.AbstractPatternInstance
      extended bycom.ibm.xtools.patterns.framework.AbstractPatternInstance
          extended bycom.ibm.xtools.patterns.framework.AbstractPatternInstance.Default
All Implemented Interfaces:
Visitable
Enclosing class:
AbstractPatternInstance

protected static class AbstractPatternInstance.Default
extends AbstractPatternInstance

The default pattern instance class to use for pattern instances. Instances of this default will be instantiated within the default implementation of the abstract pattern definition create instance factory method.

See Also:
(Object, AbstractPatternResult, MultiStatus, boolean)

Nested Class Summary
 
Nested classes inherited from class com.ibm.xtools.patterns.framework.AbstractPatternInstance
AbstractPatternInstance.Default, AbstractPatternInstance.PatternParameterValueQueue
 
Field Summary
 
Fields inherited from class com.ibm.xtools.patterns.framework.AbstractPatternInstance
store
 
Constructor Summary
protected AbstractPatternInstance.Default(AbstractPatternDefinition owningDefinition, Object representation)
          Constructs a default pattern instance given the instance representation from the persistent store.
protected AbstractPatternInstance.Default(AbstractPatternDefinition owningDefinition, Object targetObject, AbstractPatternResult createdElements, MultiStatus status)
          Constructs a default pattern instance given the definition and target object.
 
Method Summary
 void linkInstanceToDefinition(Object Defintion, Object Instance)
           
 boolean unapplyPattern(TemplateableElement t, ArrayList pae_List)
           
 
Methods inherited from class com.ibm.xtools.patterns.framework.AbstractPatternInstance
accept, addArgument, addArguments, addParameterValue, addParameterValues, canCompletePattern, createArguments, createArgumentsUsingPairs, createSomeArguments, expand, expandPattern, expandPattern, getBoundElement, getCreationTime, getDefaultArguments, getFirstArgumentCandidates, getLastExpansionTime, getOwningPatternDefinition, getParameterArguments, getParameterValueCount, getParameterValues, getPatternDescriptor, getRepresentation, getRepresentationName, getSecondArgumentCandidates, getSecondArgumentCandidatesForFirstArgumentValue, getTraceabilityEnabled, getUnapplyRemovesBoundElement, initialize, maintainParameterValue, reapplyPattern, removeAllParameterValues, removeArgument, removeArguments, removeParameterValue, removeParameterValues, replaceArgument, replaceArguments, resetDefaultParameterValues, resetDefaultParameterValues, setTraceabilityEnabled, setUnapplyRemovesBoundElement, unapplyPattern, unapplyPattern, usesPairsToCreateArguments, validatePattern, validatePattern, validToAddArgument, validToAddArguments, validToCreateArguments, validToCreateSomeArguments, validToRemoveArgument, validToRemoveArguments, validToReplaceArgument, validToReplaceArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPatternInstance.Default

protected AbstractPatternInstance.Default(AbstractPatternDefinition owningDefinition,
                                          Object representation)
Constructs a default pattern instance given the instance representation from the persistent store. The representation instance will be used to retrieve the pattern identity and then construct a well-formed instance that is owned by an abstract pattern definition.

Parameters:
owningDefinition - the definition that governs this representation pattern instance
representation -

AbstractPatternInstance.Default

protected AbstractPatternInstance.Default(AbstractPatternDefinition owningDefinition,
                                          Object targetObject,
                                          AbstractPatternResult createdElements,
                                          MultiStatus status)
Constructs a default pattern instance given the definition and target object. The created elements is a return parameter that returns back any elements that are important results of this construction.

Parameters:
owningDefinition - the definition that will own the instance
targetObject - the target object giving the instantiation context
createdElements - the created elements resulting from this instance
status - the created elements resulting from this instance
Method Detail

linkInstanceToDefinition

public void linkInstanceToDefinition(Object Defintion,
                                     Object Instance)

unapplyPattern

public boolean unapplyPattern(TemplateableElement t,
                              ArrayList pae_List)

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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