Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.poseidon.uml.generator

Class UMLCodeTemplateManager

com.gentleware.poseidon.generator.CoreCodeTemplateManager
    inheritcom.gentleware.poseidon.uml.generator.UMLCodeTemplateManager
All known Subclassifier:
StereotypeCodeTemplateManager


public class UMLCodeTemplateManager


This class defines the handling of code templates for UML model elements.

Created : sturm, Jan 17, 2003, 12:21:54 PM


 Method Summary
public List   getCodeTemplatesForPredicate(Object element, Object predicate)
Returns the list of CodeTemplate instances to be used for generating the code files based on the given predicate. 
protected Class   getSearchableClassForElement(Object element)
Returns the class object of the given element. 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 21
gentleware-imported-package-statement-line-number 5
 

 Method Detail

getCodeTemplatesForPredicate

public List getCodeTemplatesForPredicate(Object element, Object predicate)


Returns the list of CodeTemplate instances to be used for generating the code files based on the given predicate.  
Parameters:
element - Element the CodeTemplates instance should be retrieved for.
predicate - In the simplest case, a lowercase string designating the language.
Returns:
The CodeTemplate instances to be used for the given element and predicate.
arrow_up


getSearchableClassForElement

protected Class getSearchableClassForElement(Object element)


Returns the class object of the given element. Subclasses of CoreCodeTemplateManager can overwrite this operation to achieve a different behavior.  
Parameters:
element - The object to get the class for.
Returns:
The class object representing the class of the given object.
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.