Package cruise.umple.compiler
Class UmpleSelfGenerator
java.lang.Object
cruise.umple.compiler.CodeGeneratorWithSubptions
cruise.umple.compiler.UmpleSelfGenerator
- All Implemented Interfaces:
CodeGenerator
public class UmpleSelfGenerator extends CodeGeneratorWithSubptions
-
Constructor Summary
Constructors Constructor Description UmpleSelfGenerator()
-
Method Summary
Modifier and Type Method Description void
delete()
void
generate()
CENTRAL GENERATE METHODjava.lang.String
getCompositeStateSeqType()
java.lang.String
getFileExtension()
boolean
getHideActions()
boolean
getHideGuards()
UmpleModel
getModel()
Contains various aspects from an Umple file (.ump), such as classes, attributes, associations and methods.java.lang.String
getOutput()
boolean
getRoleExists()
java.lang.String
getRoleName()
StateMachine
getRoot()
boolean
getShowGuardLabels()
boolean
getShowTransitionLabels()
java.lang.String
getSmSeqType()
int
getTemp()
boolean
isHideActions()
boolean
isHideGuards()
boolean
isRoleExists()
boolean
isShowGuardLabels()
boolean
isShowTransitionLabels()
boolean
setCompositeStateSeqType(java.lang.String aCompositeStateSeqType)
boolean
setFileExtension(java.lang.String aFileExtension)
boolean
setHideActions(boolean aHideActions)
boolean
setHideGuards(boolean aHideGuards)
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.boolean
setRoleExists(boolean aRoleExists)
boolean
setRoleName(java.lang.String aRoleName)
boolean
setRoot(StateMachine aRoot)
boolean
setShowGuardLabels(boolean aShowGuardLabels)
boolean
setShowTransitionLabels(boolean aShowTransitionLabels)
boolean
setSmSeqType(java.lang.String aSmSeqType)
boolean
setTemp(int aTemp)
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
-
UmpleSelfGenerator
public UmpleSelfGenerator()
-
-
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) -
setTemp
public boolean setTemp(int aTemp) -
setHideActions
public boolean setHideActions(boolean aHideActions) -
setHideGuards
public boolean setHideGuards(boolean aHideGuards) -
setShowTransitionLabels
public boolean setShowTransitionLabels(boolean aShowTransitionLabels) -
setShowGuardLabels
public boolean setShowGuardLabels(boolean aShowGuardLabels) -
setRoot
-
setRoleExists
public boolean setRoleExists(boolean aRoleExists) -
setRoleName
public boolean setRoleName(java.lang.String aRoleName) -
setSmSeqType
public boolean setSmSeqType(java.lang.String aSmSeqType) -
setCompositeStateSeqType
public boolean setCompositeStateSeqType(java.lang.String aCompositeStateSeqType) -
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
public java.lang.String getOutput() -
getFileExtension
public java.lang.String getFileExtension() -
getTemp
public int getTemp() -
getHideActions
public boolean getHideActions() -
getHideGuards
public boolean getHideGuards() -
getShowTransitionLabels
public boolean getShowTransitionLabels() -
getShowGuardLabels
public boolean getShowGuardLabels() -
getRoot
-
getRoleExists
public boolean getRoleExists() -
getRoleName
public java.lang.String getRoleName() -
getSmSeqType
public java.lang.String getSmSeqType() -
getCompositeStateSeqType
public java.lang.String getCompositeStateSeqType() -
isHideActions
public boolean isHideActions() -
isHideGuards
public boolean isHideGuards() -
isShowTransitionLabels
public boolean isShowTransitionLabels() -
isShowGuardLabels
public boolean isShowGuardLabels() -
isRoleExists
public boolean isRoleExists() -
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
-