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


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
 

 

 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.
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  2003 - 3 - 4

    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 2001 Gentleware AG, Vogt-Kölln-Str.30, 22527 Hamburg, Germany. All Rights Reserved.

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