de.uni_paderborn.fujaba.codegen
Class ImportFragment

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.CodeGenFragment
      extended byde.uni_paderborn.fujaba.codegen.TextFragment
          extended byde.uni_paderborn.fujaba.codegen.ImportFragment

public class ImportFragment
extends TextFragment

Version:
$Revision: 1.3 $
Author:
Carsten Reckord

Constructor Summary
ImportFragment(OOGenStrategyClient client)
          Constructor for class ImportFragment
ImportFragment(java.lang.String name, OOGenStrategyClient client)
          Constructor for class ImportFragment
 
Method Summary
 void addClass(FClass value)
          Access method for an one to n association.
protected  void addImport(java.lang.String importString)
          Access method for an one to n association.
 void addPackage(FPackage value)
          Access method for an one to n association.
 OOGenStrategyClient getClient()
          Get the client attribute of the ImportFragment object
 java.lang.String getSourceCode()
          Get the sourceCode attribute of the ImportFragment object
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.TextFragment
getCodeBuffer
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.CodeGenFragment
getName, getNextFragment, getPreviousFragment, setNextFragment, setPreviousFragment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportFragment

public ImportFragment(OOGenStrategyClient client)
Constructor for class ImportFragment

Parameters:
client - No description provided

ImportFragment

public ImportFragment(java.lang.String name,
                      OOGenStrategyClient client)
Constructor for class ImportFragment

Parameters:
name - No description provided
client - No description provided
Method Detail

getClient

public OOGenStrategyClient getClient()
Get the client attribute of the ImportFragment object

Returns:
The client value

getSourceCode

public java.lang.String getSourceCode()
Get the sourceCode attribute of the ImportFragment object

Overrides:
getSourceCode in class TextFragment
Returns:
The sourceCode value

addPackage

public void addPackage(FPackage value)
Access method for an one to n association.

Parameters:
value - The object added.

addClass

public void addClass(FClass value)
Access method for an one to n association.

Parameters:
value - The object added.

addImport

protected void addImport(java.lang.String importString)
Access method for an one to n association.

Parameters:
importString - The object added.