Class PythonCodeParamSpec
java.lang.Object
net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeElement
net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeParamSpec
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider,net.ssehub.easy.instantiation.core.model.vilTypes.IVilType,IPythonCodeElement,Storable
Represents a Python parameter in VTL.
- Author:
- Kevin Schaperjahn
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider
net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider.StringComparator -
Field Summary
FieldsFields inherited from interface net.ssehub.easy.instantiation.python.codeArtifacts.IPythonCodeElement
KEY_COMPARATOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPythonCodeParamSpec(PythonCodeFunction parentFunc, String name) protectedPythonCodeParamSpec(PythonCodeFunction parentFunc, String name, String type) protectedPythonCodeParamSpec(PythonCodeFunction parentFunc, String name, PythonCodeTypeSpec type) -
Method Summary
Methods inherited from class net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeElement
getArtifact, getParent, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.ssehub.easy.instantiation.python.codeArtifacts.IPythonCodeElement
addAll, getSortKey, getStringValue, getTopClass, getTracerStringValue, hasPythondocComment, isAttribute, isBlock, isClass, isEmptyLine, moveToAttributes, moveToImportsMethods inherited from interface net.ssehub.easy.instantiation.python.codeArtifacts.Storable
getElementCount, toCode
-
Field Details
-
name
-
type
-
-
Constructor Details
-
PythonCodeParamSpec
-
PythonCodeParamSpec
-
PythonCodeParamSpec
-
-
Method Details
-
getName
Returns the name of the parameter.- Returns:
- the name
-
setName
Changes the name of the parameter.- Parameters:
name- the new name
-
store
public void store(net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out)
-