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

com.gentleware.poseidon.generator.PreparedElement
    inheritcom.gentleware.poseidon.uml.generator.PreparedModelElement
        inheritcom.gentleware.poseidon.uml.generator.PreparedFeature
All known Subclassifier:
PreparedAttribute , PreparedOperation


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:
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. 
private ScopeKind   getOwnerScope()
 
public String   getOwnerScopeAsString()
Returns the owner scope as string. 
public boolean   isStatic()
Tests, of the related feature is static. 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 16
gentleware-imported-package-statement-line-number 1
 

 Method Detail

checkOwnerScope

protected String checkOwnerScope()

Returns:
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.  
Returns:
Since:
1.4
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


getOwnerScope

private ScopeKind getOwnerScope()

Returns:
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  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.