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 PreparedFeature


public abstract class PreparedFeature

This class contains the prepared information for a feature. The information can directly be used in the code generation.
See also:
com.gentleware.poseidon.generator.PreparedElement
com.gentleware.poseidon.generator.ElementPreparator
ModelElementPreparator


 Method Summary
protected String   checkOwnerScope()
 
public String   getNameAsString()
Returns the name of the related element. 
protected Classifier   getOwner()
Returns the owning model element. 
public String   getOwnerAsString()
Returns the owner's name of the feature as string. 
public String   getOwnerScopeAsString()
Returns the owner scope as string. 
public boolean   isStatic()
Tests, of the related feature is static. 
arrow_up
 

 

 Method Detail

checkOwnerScope

protected String checkOwnerScope()

 
arrow_up
 
 

getNameAsString

public String getNameAsString()

Returns the name of the related element.
Returns:
The name of the related element.
 
arrow_up
 
 

getOwner

protected Classifier getOwner()

Returns the owning model element. Previously, this method was private; for 1.4, the visibility has been changed to protected.  
arrow_up
 
 

getOwnerAsString

public String getOwnerAsString()

Returns the owner's name of the feature as string. e.g. the owner of an operation is a classifier
Returns:
the name of the name. If either the owner or the name of owner is null, then return "".
 
arrow_up
 
 

getOwnerScopeAsString

public String getOwnerScopeAsString()

Returns the owner scope as string.
Returns:
"static", if the owner scope of the related feature is static, otherwise "".
 
arrow_up
 
 

isStatic

public boolean isStatic()

Tests, of the related feature is static.
Returns:
True, if the related feature is static, otherwise false.
 
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.