Class ClassMetrics
java.lang.Object
cruise.umple.compiler.CodeGeneratorWithSubptions
cruise.umple.compiler.SimpleMetricsGenerator
cruise.umple.compiler.ClassMetrics
- All Implemented Interfaces:
CodeGenerator
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddelete()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.booleansetResultCode(StringBuilder aResultCode) toString()Methods inherited from class SimpleMetricsGenerator
_genCell, _genTopHeader, genCell, genCellFloat, genCellInt, genCellString, generate, genTopHeader, getCode, getOutput, setCode, setOutput, writeModelMethods inherited from class CodeGeneratorWithSubptions
addSuboption, getSuboption, getSuboptions, getSuboptionValue, hasSuboption, hasSuboptions, indexOfSuboption, numberOfSuboptions, postpare, prepare, removeSuboption, setSuboption
-
Constructor Details
-
ClassMetrics
public ClassMetrics()
-
-
Method Details
-
setResultCode
-
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 classSimpleMetricsGenerator
-
getResultCode
-
getModel
Description copied from class:SimpleMetricsGeneratorContains 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.- Overrides:
getModelin classSimpleMetricsGenerator
-
delete
public void delete()- Overrides:
deletein classSimpleMetricsGenerator
-
calculate
public void calculate() -
toString
- Overrides:
toStringin classSimpleMetricsGenerator
-