|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.codegen.CodeGenStrategyHandler
de.uni_paderborn.fujaba.codegen.OOGenStrategyHandler
de.uni_paderborn.fujaba.codegen.UMLStoryPatternOOHandler
Class UMLStoryPatternHandler
| Field Summary | |
protected java.util.HashMap |
boundObjects
No comment provided by developer, please add a comment to improve documentation. |
protected java.util.HashMap |
isomorphicBinding
No comment provided by developer, please add a comment to improve documentation. |
protected java.util.HashMap |
negApplTokens
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
TEMPORARY_ASSIGN_VAR_PREFIX
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
TEMPORARY_TYPE_CAST_VAR_NAME
Variable name used for the type cast of an object |
| Constructor Summary | |
UMLStoryPatternOOHandler()
Default Constructor |
|
| Method Summary | |
protected void |
addAvailableLinks(UMLStoryPattern thePattern,
UMLObject object)
Access method for an one to n association. |
protected void |
addBindings(java.util.Map isomorphicBinding,
UMLObject object,
UMLClass objectType)
Access method for a To N-association. |
protected void |
addBindings(java.util.Map isomorphicBinding,
UMLObject object,
UMLClass objectType,
boolean addSuperClasses,
boolean addSubClasses)
Access method for a To N-association. |
protected boolean |
createNegativeLinkSearch(UMLLink umlLink,
java.util.HashMap boundObjects,
java.util.HashMap isomorphicBindings)
No comment provided by developer, please add a comment to improve documentation. |
OOGenToken |
findBoundObjectsAndAvailableLink(UMLStoryPattern thePattern,
OOGenToken prevToken)
No comment provided by developer, please add a comment to improve documentation. |
protected OOGenToken |
generateCodeForAtPostOrConstraints(OOGenToken prevToken,
java.util.TreeSet symTable)
No comment provided by developer, please add a comment to improve documentation. |
protected OOGenToken |
generateCodeForAttrValuePairs(OOGenToken prevToken,
UMLObject object)
No comment provided by developer, please add a comment to improve documentation. |
protected OOGenToken |
generateCodeForAttrValuePairs(UMLObject object,
OOGenToken prevToken)
No comment provided by developer, please add a comment to improve documentation. |
protected OOGenToken |
generateCodeForBoundObjectChecks(OOGenToken prevToken,
UMLObject object)
No comment provided by developer, please add a comment to improve documentation. |
protected OOGenToken[] |
generateCodeForLink(UMLStoryPattern thePattern,
OOGenToken top,
UMLLink umlLink)
No comment provided by developer, please add a comment to improve documentation. |
protected OOGenToken |
generateCodeForLinks(java.util.LinkedList availableLinks,
OOGenToken top,
UMLStoryPattern thePattern)
No comment provided by developer, please add a comment to improve documentation. |
protected OOGenToken |
generateCodeForModifiedItems(UMLStoryPattern thePattern,
OOGenToken prevToken)
No comment provided by developer, please add a comment to improve documentation. |
protected OOGenToken |
generateCodeForMultiLink(UMLStoryPattern thePattern,
OOGenToken top,
UMLMultiLink multiLink)
No comment provided by developer, please add a comment to improve documentation. |
OOGenToken |
generateSourceCode(FElement asgElement,
OOGenToken prevToken,
java.lang.Object[] param)
No comment provided by developer, please add a comment to improve documentation. |
de.upb.tools.fca.FTreeSet |
getIsomorphicBindings(UMLStoryPattern thePattern,
java.lang.String typeName,
java.lang.String objectName)
Get the isomorphicBindings attribute of the UMLStoryPatternOOHandler object |
protected void |
insertToAvailableLinks(Traversable link)
No comment provided by developer, please add a comment to improve documentation. |
protected boolean |
isNavigable(UMLLink link,
UMLObject source)
Get the navigable attribute of the UMLStoryPatternOOHandler object |
boolean |
isResponsible(FElement incr)
Get the responsible attribute of the UMLStoryPatternOOHandler object |
protected OOGenToken |
markObjectAsBound(UMLStoryPattern thePattern,
OOGenToken prevToken,
UMLObject object)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
needToken()
No comment provided by developer, please add a comment to improve documentation. |
protected boolean |
postponeLinkCodeGeneration(UMLLink umlLink,
java.util.HashMap boundObjects,
java.util.HashMap isomorphicBindings)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
toString()
|
protected void |
updateMultilink(UMLMultiLink multilink)
No comment provided by developer, please add a comment to improve documentation. |
| Methods inherited from class de.uni_paderborn.fujaba.codegen.CodeGenStrategyHandler |
appendOOStatement, appendOOStatement, appendOOStatement, generate, generate, generate, generate, generateCode, generateSourceCode, getChainMaster, getClientOfChain, getPrevHandler, getSuccessor, incrNeedsToken, isContinueChain, isResponsible, setChainMaster, setContinueChain, setPrevHandler, setSuccessor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected transient java.util.HashMap boundObjects
protected transient java.util.HashMap isomorphicBinding
public static final java.lang.String TEMPORARY_TYPE_CAST_VAR_NAME
public static final java.lang.String TEMPORARY_ASSIGN_VAR_PREFIX
protected java.util.HashMap negApplTokens
| Constructor Detail |
public UMLStoryPatternOOHandler()
| Method Detail |
public boolean isResponsible(FElement incr)
isResponsible in class CodeGenStrategyHandlerincr - No description provided
public final boolean needToken()
needToken in class CodeGenStrategyHandler
public OOGenToken generateSourceCode(FElement asgElement,
OOGenToken prevToken,
java.lang.Object[] param)
generateSourceCode in class CodeGenStrategyHandlerprevToken - No description providedparam - No description providedasgElement - No description provided
protected OOGenToken generateCodeForLinks(java.util.LinkedList availableLinks,
OOGenToken top,
UMLStoryPattern thePattern)
availableLinks - No description providedtop - No description providedthePattern - No description provided
protected boolean createNegativeLinkSearch(UMLLink umlLink,
java.util.HashMap boundObjects,
java.util.HashMap isomorphicBindings)
umlLink - No description providedboundObjects - No description providedisomorphicBindings - No description provided
protected boolean postponeLinkCodeGeneration(UMLLink umlLink,
java.util.HashMap boundObjects,
java.util.HashMap isomorphicBindings)
umlLink - No description providedboundObjects - No description providedisomorphicBindings - No description provided
protected OOGenToken[] generateCodeForLink(UMLStoryPattern thePattern,
OOGenToken top,
UMLLink umlLink)
thePattern - No description providedtop - No description providedumlLink - No description provided
protected OOGenToken generateCodeForMultiLink(UMLStoryPattern thePattern,
OOGenToken top,
UMLMultiLink multiLink)
thePattern - No description providedtop - No description providedmultiLink - No description provided
protected OOGenToken markObjectAsBound(UMLStoryPattern thePattern,
OOGenToken prevToken,
UMLObject object)
thePattern - No description providedprevToken - No description providedobject - No description provided
public de.upb.tools.fca.FTreeSet getIsomorphicBindings(UMLStoryPattern thePattern,
java.lang.String typeName,
java.lang.String objectName)
thePattern - No description providedtypeName - No description providedobjectName - No description provided
protected void addBindings(java.util.Map isomorphicBinding,
UMLObject object,
UMLClass objectType)
isomorphicBinding - The object added.object - The object added.objectType - The object added.
protected void addBindings(java.util.Map isomorphicBinding,
UMLObject object,
UMLClass objectType,
boolean addSuperClasses,
boolean addSubClasses)
isomorphicBinding - The object added.object - The object added.objectType - The object added.addSuperClasses - The object added.addSubClasses - The object added.
public OOGenToken findBoundObjectsAndAvailableLink(UMLStoryPattern thePattern,
OOGenToken prevToken)
thePattern - No description providedprevToken - No description provided
protected OOGenToken generateCodeForModifiedItems(UMLStoryPattern thePattern,
OOGenToken prevToken)
thePattern - No description providedprevToken - No description provided
protected OOGenToken generateCodeForAtPostOrConstraints(OOGenToken prevToken,
java.util.TreeSet symTable)
prevToken - No description providedsymTable - No description provided
protected void updateMultilink(UMLMultiLink multilink)
multilink - No description provided
protected void addAvailableLinks(UMLStoryPattern thePattern,
UMLObject object)
thePattern - The object added.object - The object added.
protected boolean isNavigable(UMLLink link,
UMLObject source)
link - No description providedsource - No description provided
protected OOGenToken generateCodeForAttrValuePairs(OOGenToken prevToken,
UMLObject object)
prevToken - No description providedobject - No description provided
protected OOGenToken generateCodeForAttrValuePairs(UMLObject object,
OOGenToken prevToken)
object - No description providedprevToken - No description provided
protected OOGenToken generateCodeForBoundObjectChecks(OOGenToken prevToken,
UMLObject object)
prevToken - No description providedobject - No description provided
protected void insertToAvailableLinks(Traversable link)
link - No description providedpublic java.lang.String toString()
toString in class OOGenStrategyHandler
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||