Package cruise.umple.compiler
Class UmpleAnnotaiveToCompositionGenerator
java.lang.Object
cruise.umple.compiler.CodeGeneratorWithSubptions
cruise.umple.compiler.UmpleAnnotaiveToCompositionGenerator
- All Implemented Interfaces:
CodeGenerator
public class UmpleAnnotaiveToCompositionGenerator extends CodeGeneratorWithSubptions
-
Constructor Summary
Constructors Constructor Description UmpleAnnotaiveToCompositionGenerator()
-
Method Summary
Modifier and Type Method Description void
delete()
void
generate()
CENTRAL GENERATE METHODjava.lang.String
getFileExtension()
UmpleModel
getModel()
java.lang.String
getOutput()
boolean
setFileExtension(java.lang.String aFileExtension)
boolean
setModel(UmpleModel aModel)
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.boolean
setOutput(java.lang.String aOutput)
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.java.lang.String
toString()
Methods inherited from class cruise.umple.compiler.CodeGeneratorWithSubptions
addSuboption, getSuboption, getSuboptions, getSuboptionValue, hasSuboption, hasSuboptions, indexOfSuboption, numberOfSuboptions, postpare, prepare, removeSuboption, setSuboption
-
Constructor Details
-
UmpleAnnotaiveToCompositionGenerator
public UmpleAnnotaiveToCompositionGenerator()
-
-
Method Details
-
setModel
Description copied from class:CodeGeneratorWithSubptions
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
setModel
in interfaceCodeGenerator
- Overrides:
setModel
in classCodeGeneratorWithSubptions
-
setOutput
public boolean setOutput(java.lang.String aOutput)Description copied from class:CodeGeneratorWithSubptions
Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
setOutput
in interfaceCodeGenerator
- Overrides:
setOutput
in classCodeGeneratorWithSubptions
-
setFileExtension
public boolean setFileExtension(java.lang.String aFileExtension) -
getModel
-
getOutput
public java.lang.String getOutput() -
getFileExtension
public java.lang.String getFileExtension() -
delete
public void delete()- Overrides:
delete
in classCodeGeneratorWithSubptions
-
generate
public void generate()CENTRAL GENERATE METHOD- Specified by:
generate
in interfaceCodeGenerator
- Overrides:
generate
in classCodeGeneratorWithSubptions
-
toString
public java.lang.String toString()- Overrides:
toString
in classCodeGeneratorWithSubptions
-