Skip to content
Snippets Groups Projects
Commit 706fea3d authored by Jakub Konvička's avatar Jakub Konvička
Browse files

feat(#3): minor modifications

parent ab1274df
Branches feature/ActivityDiagramVisitor
Tags
2 merge requests!10Merge: Release version 1.1,!3Implementation of Feature/activity diagram visitor
#include <iostream>
#include <vector>
namespace MyProgram {
namespace DatabaseModel {
// Base class representing a Person
class Person {
public:
Person(const std::string& name, int a, long b) : name(name) {}
Person(const std::string& name, int a, long b, long long c) : name(name) {}
void introduce() const {
void introduce(int bol) const {
std::cout << "Hello, my name is " << name << std::endl;
}
......
......@@ -153,7 +153,7 @@ public class XmiClassDiagramUmlBuilder
var directionAttribute = new XmiAttributeDTO()
{
AttributeName = "direction",
AttributeValue = "inout"
AttributeValue = "in"
};
var parameter = AddOwnedParameter(parent, XmiType.UmlParameter, name, new(){ directionAttribute });
var hrefAttribute = new XmiAttributeDTO()
......
......@@ -63,7 +63,7 @@ public class Convertor
{
return PropertyType.NoDataType;
}
else if (propertyType.Contains("int"))
else if (propertyType.Contains("int") || (propertyType.Contains("long")))
{
return PropertyType.PrimitiveTypeInteger;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment