|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.codegen.CodeGenFactory
Class CodeGenFactory (Singleton)
-------- 0..1 hasStrategies 0..1 CodeGenFactory | name |------------------------------------- CodeGenStrategy -------- codeGenFactory codeGenStrategy 0..1 0..1 CodeGenFactory ---------------------------------- CodeGenStrategy currentFactory currentStrategy -------- 0..1 Assoc 0..1 CodeGenFactory | name |----------------------------------- CodeGenTarget -------- codeGenFactory codeGenTarget
Field Summary | |
static CodeGenFactory |
theInstance
the Singleton instance |
Method Summary | |
boolean |
addToCodeGenStrategy(CodeGenStrategy value)
|
boolean |
addToCodeGenTarget(CodeGenTarget value)
Access method for an one to n association. |
java.util.Iterator |
entriesOfCodeGenStrategy()
|
java.util.Iterator |
entriesOfCodeGenTarget()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.StringBuffer |
generateFElement(FElement element)
Generates sourcecode for a given FElement without storing it in a file. |
java.lang.StringBuffer |
generateFElement(FElement element,
boolean save)
Generates sourcecode for a given FElement with the possibility of saving
it to a file. |
void |
generateFProject()
No comment provided by developer, please add a comment to improve documentation. |
void |
generateFProject(FProject theProject)
No comment provided by developer, please add a comment to improve documentation. |
static CodeGenFactory |
get()
The access method for the singleton instance. |
FProject |
getCurrentFProject()
Get the value of currentFProject. |
OOGenVisitor |
getCurrentOOVisitor()
Get the currentOOVisitor attribute of the CodeGenFactory object |
CodeGenStrategy |
getCurrentStrategy()
|
CodeGenTarget |
getCurrentTarget()
Get the currentTarget attribute of the CodeGenFactory object |
CodeGenVisitor |
getCurrentVisitor()
|
CodeGenStrategy |
getFromCodeGenStrategy(java.lang.String key)
|
CodeGenTarget |
getFromCodeGenTarget(java.lang.String key)
Get the fromCodeGenTarget attribute of the CodeGenFactory object |
boolean |
hasInCodeGenStrategy(CodeGenStrategy value)
|
boolean |
hasInCodeGenTarget(CodeGenTarget value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasKeyInCodeGenStrategy(java.lang.String key)
|
boolean |
hasKeyInCodeGenTarget(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfCodeGenStrategy()
|
java.util.Iterator |
iteratorOfCodeGenTarget()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
keysOfCodeGenStrategy()
|
java.util.Iterator |
keysOfCodeGenTarget()
No comment provided by developer, please add a comment to improve documentation. |
void |
parseTargetFile(java.lang.String targetFileName)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromCodeGenStrategy()
|
void |
removeAllFromCodeGenTarget()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromCodeGenStrategy(CodeGenStrategy value)
|
boolean |
removeFromCodeGenTarget(CodeGenTarget value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeKeyFromCodeGenStrategy(java.lang.String key)
|
boolean |
removeKeyFromCodeGenTarget(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeYou()
No comment provided by developer, please add a comment to improve documentation. |
void |
setCurrentFProject(FProject currentFProject)
Set the value of currentFProject. |
boolean |
setCurrentStrategy(CodeGenStrategy value)
|
void |
setCurrentTarget(java.lang.String name)
Sets the currentTarget attribute of the CodeGenFactory object |
int |
sizeOfCodeGenStrategy()
|
int |
sizeOfCodeGenTarget()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static CodeGenFactory theInstance
Method Detail |
public static CodeGenFactory get()
public void parseTargetFile(java.lang.String targetFileName)
targetFileName
- No description providedpublic void setCurrentTarget(java.lang.String name)
name
- The new currentTarget valuepublic CodeGenTarget getCurrentTarget()
public final java.lang.StringBuffer generateFElement(FElement element)
FElement
without storing it in a file.
element
- The model element for which source code will be generated.
public final java.lang.StringBuffer generateFElement(FElement element, boolean save)
FElement
with the possibility of saving
it to a file.
element
- The model element for which source code will be generated.save
- Defines whether the generated sourcecode has to be saved or not.
public void generateFProject()
public void generateFProject(FProject theProject)
theProject
- No description providedpublic FProject getCurrentFProject()
public void setCurrentFProject(FProject currentFProject)
currentFProject
- Value to assign to currentFProject.public boolean setCurrentStrategy(CodeGenStrategy value)
value
- The new currentStrategy value
#currentStrategy
public CodeGenStrategy getCurrentStrategy()
#currentStrategy
public CodeGenVisitor getCurrentVisitor()
#currentStrategy
,
CodeGenStrategy.getCurrentVisitor()
public OOGenVisitor getCurrentOOVisitor()
public boolean hasInCodeGenStrategy(CodeGenStrategy value)
value
- No description provided
#codeGenStrategy
public boolean hasKeyInCodeGenStrategy(java.lang.String key)
key
- No description provided
#codeGenStrategy
public java.util.Iterator iteratorOfCodeGenStrategy()
#codeGenStrategy
public java.util.Iterator keysOfCodeGenStrategy()
#codeGenStrategy
public java.util.Iterator entriesOfCodeGenStrategy()
#codeGenStrategy
public int sizeOfCodeGenStrategy()
#codeGenStrategy
public CodeGenStrategy getFromCodeGenStrategy(java.lang.String key)
key
- No description provided
#codeGenStrategy
public boolean addToCodeGenStrategy(CodeGenStrategy value)
value
- The object added.
#codeGenStrategy
public boolean removeFromCodeGenStrategy(CodeGenStrategy value)
value
- No description provided
#codeGenStrategy
public boolean removeKeyFromCodeGenStrategy(java.lang.String key)
key
- No description provided
#codeGenStrategy
public void removeAllFromCodeGenStrategy()
#codeGenStrategy
public boolean hasInCodeGenTarget(CodeGenTarget value)
value
- No description provided
public boolean hasKeyInCodeGenTarget(java.lang.String key)
key
- No description provided
public java.util.Iterator iteratorOfCodeGenTarget()
public java.util.Iterator keysOfCodeGenTarget()
public java.util.Iterator entriesOfCodeGenTarget()
public int sizeOfCodeGenTarget()
public CodeGenTarget getFromCodeGenTarget(java.lang.String key)
key
- No description provided
public boolean addToCodeGenTarget(CodeGenTarget value)
value
- The object added.
public boolean removeFromCodeGenTarget(CodeGenTarget value)
value
- No description provided
public boolean removeKeyFromCodeGenTarget(java.lang.String key)
key
- No description provided
public void removeAllFromCodeGenTarget()
public void removeYou()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |