Class AlloyGenerator
java.lang.Object
cruise.umple.compiler.CodeGeneratorWithSubptions
cruise.umple.compiler.AlloyGenerator
- All Implemented Interfaces:
CodeGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()voidgenerate()Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.getModel()Contains various aspects from an Umple file (.ump), such as classes, attributes, associations and methods.booleansetModel(UmpleModel aModel) Allows independent code generation tools Different generators will do different things regarding where the files are put, etc.booleanAllows independent code generation tools Different generators will do different things regarding where the files are put, etc.booleansetUtility(Utility aUtility) toString()Methods inherited from class CodeGeneratorWithSubptions
addSuboption, getSuboption, getSuboptions, getSuboptionValue, hasSuboption, hasSuboptions, indexOfSuboption, numberOfSuboptions, postpare, prepare, removeSuboption, setSuboption
-
Constructor Details
-
AlloyGenerator
public AlloyGenerator()
-
-
Method Details
-
setModel
Description copied from class:CodeGeneratorWithSubptionsAllows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
setModelin interfaceCodeGenerator- Overrides:
setModelin classCodeGeneratorWithSubptions
-
setOutput
Description copied from class:CodeGeneratorWithSubptionsAllows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
setOutputin interfaceCodeGenerator- Overrides:
setOutputin classCodeGeneratorWithSubptions
-
setUtility
-
getModel
Contains various aspects from an Umple file (.ump), such as classes, attributes, associations and methods. Generated output is based off of what's contained in here. -
getOutput
-
getUtility
-
delete
public void delete()- Overrides:
deletein classCodeGeneratorWithSubptions
-
generate
public void generate()Description copied from class:CodeGeneratorWithSubptionsAllows independent code generation tools Different generators will do different things regarding where the files are put, etc.- Specified by:
generatein interfaceCodeGenerator- Overrides:
generatein classCodeGeneratorWithSubptions
-
toString
- Overrides:
toStringin classCodeGeneratorWithSubptions
-