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 PreparedPackage

com.gentleware.poseidon.generator.PreparedElement
    inheritcom.gentleware.poseidon.uml.generator.PreparedModelElement
        inheritcom.gentleware.poseidon.uml.generator.PreparedPackage

public class PreparedPackage


This class contains the prepared information for a package. The information can directly be used in the code generation.
Authors:
Thorsten Sturm
See also:
ModelElementPreparator


 Attribute Summary
private List  selectedPreparedClassifiers
Represents ... 
private List  selectedPreparedSubPackages
Represents ... 
arrow_up
 

 Constructor Summary
public   PreparedPackage()
Creates a new instance. 
arrow_up
 

 Method Summary
public void   addSelectedPreparedClassifier(PreparedClassifier classifier)
Adds a prepared classifier to the list of classifiers that are selected for code generation and prepared by it for the related package. 
public void   addSelectedPreparedSubPackage(PreparedPackage pack)
Adds a prepared package to the list of subpackages that are selected for code generation and prepared by it for the related package. 
public List   getSelectedPreparedClassifiers()
Returns the list of classifiers that are selected for code generation and prepared by it for the related package. 
public List   getSelectedPreparedSubPackages()
Returns the list of subpackages that are selected for code generation and prepared by it for the related package. 
public void   init(UmlPackage element, ModelElementPreparator preparator)
Initializes this instance. 
public boolean   isSubPackage()
Tests, if the related package itself is a subpackage. 
public void   setSelectedPreparedClassifiers(Collection classifiers)
Sets the list of classifiers that are selected for code generation and prepared by it for the related package. 
public void   setSelectedPreparedSubPackages(Collection packages)
Sets the list of subpackages that are selected for code generation and prepared by it for the related package. 
arrow_up
 

Tagged Values
static false
 

 Attribute Detail

selectedPreparedClassifiers

private List selectedPreparedClassifiers

Represents ...  
arrow_up


selectedPreparedSubPackages

private List selectedPreparedSubPackages

Represents ...  
arrow_up
 Constructor Detail

PreparedPackage

public PreparedPackage PreparedPackage()


Creates a new instance.  
Returns:
arrow_up
 Method Detail

addSelectedPreparedClassifier

public void addSelectedPreparedClassifier(PreparedClassifier classifier)


Adds a prepared classifier to the list of classifiers that are selected for code generation and prepared by it for the related package.  
Parameters:
classifier - Additional prepared classifier for the related package.
arrow_up


addSelectedPreparedSubPackage

public void addSelectedPreparedSubPackage(PreparedPackage pack)


Adds a prepared package to the list of subpackages that are selected for code generation and prepared by it for the related package.  
Parameters:
pack - Additional prepared package for the related package.
arrow_up


getSelectedPreparedClassifiers

public List getSelectedPreparedClassifiers()


Returns the list of classifiers that are selected for code generation and prepared by it for the related package.  
Returns:
The list of selected and prepared classifiers for the related package.
arrow_up


getSelectedPreparedSubPackages

public List getSelectedPreparedSubPackages()


Returns the list of subpackages that are selected for code generation and prepared by it for the related package.  
Returns:
The list of selected and prepared subpackages for the related package.
arrow_up


init

public void init(UmlPackage element, ModelElementPreparator preparator)


Initializes this instance. It will be related to the given model element and handled by the given preparator. The information of the given model element will be prepared here.  
Parameters:
element - The model element this instance should be related to.
preparator - The preparator handling this instance.
arrow_up


isSubPackage

public boolean isSubPackage()


Tests, if the related package itself is a subpackage.  
Returns:
True, if the package is a subpackage, otherwise false.
arrow_up


setSelectedPreparedClassifiers

public void setSelectedPreparedClassifiers(Collection classifiers)


Sets the list of classifiers that are selected for code generation and prepared by it for the related package.  
Parameters:
classifiers - Collection of selected and prepared classifiers for the related package.
arrow_up


setSelectedPreparedSubPackages

public void setSelectedPreparedSubPackages(Collection packages)


Sets the list of subpackages that are selected for code generation and prepared by it for the related package.  
Parameters:
packages - Collection of selected and prepared subpackages for the related package.
arrow_up
Created  2004 - 10 - 21

    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.