Package cruise.umple.cpp.gen
Class GenConstructorMethod
java.lang.Object
cruise.umple.cpp.gen.GenMethod
cruise.umple.cpp.gen.GenBaseConstructorMethod
cruise.umple.cpp.gen.GenConstructorMethod
- All Implemented Interfaces:
java.io.Serializable
public class GenConstructorMethod extends GenBaseConstructorMethod
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description GenConstructorMethod()
-
Method Summary
Modifier and Type Method Description void
delete()
void
dynamicBody(java.util.List<java.lang.String> bodies)
java.lang.String
parameters()
java.lang.String
parentParameters()
By default, assume that the parent parameters are the same unless in some other constrcutors, parameters can be different.Methods inherited from class cruise.umple.cpp.gen.GenBaseConstructorMethod
_indent, addOrMovePrePolymorphicParameterAt, addPrePolymorphicParameter, addPrePolymorphicParameterAt, asParameters, asParameters, asParameters, constructorCalls, getInitializerString, getPrePolymorphicParameter, getPrePolymorphicParameters, hasPrePolymorphicParameters, identifier, indent, indexOfPrePolymorphicParameter, listParameters, minimumNumberOfPrePolymorphicParameters, numberOfPrePolymorphicParameters, removePrePolymorphicParameter, searchClassParameters, searchParameters, searchParameters, searchParameters
Methods inherited from class cruise.umple.cpp.gen.GenMethod
_declaration, _implementation, addBody, addBody, addBodyExceptFor, addComment, addConstraint, addConstraintAt, addConstraintCondition, addConstraintConditionAt, addDefaultImplementation, addDefaultImplementationAt, addOrMoveConstraintAt, addOrMoveConstraintConditionAt, addOrMoveDefaultImplementationAt, addOrMoveParameterAt, addOrMoveRelatedFieldAt, addParameter, addParameterAt, addRelatedField, addRelatedFieldAt, addRequirement, areParameterTypesEqual, bodyString, commentString, declaration, declaration, declaration, equals, getActive, getAspectableReturnBody, getBody, getBody, getBodyPriority, getComment, getComment, getCommentPriority, getConstraint, getConstraintCondition, getConstraintConditions, getConstraints, getDefaultImplementation, getDefaultImplementations, getDisableRemote, getExternalDefinition, getGenClass, getGroup, getInitializerCall, getIsAbstract, getIsConstant, getIsConstructor, getIsCore, getIsFriend, getIsGeneratable, getIsHeader, getIsInline, getIsOperator, getIsPointer, getIsPure, getIsReference, getIsStatic, getIsVirtual, getName, getNormalize, getNormalizedReturnType, getParameter, getParameters, getPriority, getRelatedField, getRelatedFields, getRequirement, getRequirement, getRequirementPriority, getReturnType, getUserDefined, getVisibility, hasBody, hasBodyConstraints, hasComment, hasConstraintConditions, hasConstraints, hasDefaultImplementations, hasGenClass, hasParameters, hasRelatedFields, hasRequirement, implementation, implementation, indexOfBody, indexOfComment, indexOfConstraint, indexOfConstraintCondition, indexOfDefaultImplementation, indexOfParameter, indexOfRelatedField, indexOfRequirement, isActive, isDisableRemote, isIsAbstract, isIsConstant, isIsConstructor, isIsCore, isIsFriend, isIsGeneratable, isIsHeader, isIsInline, isIsOperator, isIsPointer, isIsPure, isIsReference, isIsStatic, isIsVirtual, isNormalize, isUserDefined, minimumNumberOfBody, minimumNumberOfComment, minimumNumberOfConstraintConditions, minimumNumberOfConstraints, minimumNumberOfDefaultImplementations, minimumNumberOfParameters, minimumNumberOfRelatedFields, minimumNumberOfRequirement, numberOfBody, numberOfComment, numberOfConstraintConditions, numberOfConstraints, numberOfDefaultImplementations, numberOfParameters, numberOfRelatedFields, numberOfRequirement, owningClass, removeBody, removeComment, removeConstraint, removeConstraintCondition, removeDefaultImplementation, removeParameter, removeRelatedField, removeRequirement, requirementString, setActive, setBodyPriority, setCommentPriority, setDisableRemote, setExternalDefinition, setGenClass, setGroup, setIsAbstract, setIsConstant, setIsConstructor, setIsCore, setIsFriend, setIsGeneratable, setIsHeader, setIsInline, setIsOperator, setIsPointer, setIsPure, setIsReference, setIsStatic, setIsVirtual, setName, setNormalize, setPriority, setRequirementPriority, setReturnType, setUserDefined, setVisibility, toString
-
Constructor Details
-
GenConstructorMethod
public GenConstructorMethod()
-
-
Method Details
-
delete
public void delete()- Overrides:
delete
in classGenBaseConstructorMethod
-
parameters
public java.lang.String parameters()- Overrides:
parameters
in classGenMethod
-
parentParameters
public java.lang.String parentParameters()Description copied from class:GenBaseConstructorMethod
By default, assume that the parent parameters are the same unless in some other constrcutors, parameters can be different.- Overrides:
parentParameters
in classGenBaseConstructorMethod
-
dynamicBody
public void dynamicBody(java.util.List<java.lang.String> bodies)- Overrides:
dynamicBody
in classGenMethod
-