package de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.datatypes;

import de.uni_stuttgart.vis.vowl.owl2vowl.export.JsonGeneratorVisitor;
import de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.BaseNode;

public abstract class BaseDatatype extends BaseNode {
	protected static int counterObjects = 1;

	protected BaseDatatype() {
	}

	protected abstract void setID();

	@Override
	public void accept(JsonGeneratorVisitor visitor) {
		super.accept(visitor);
		visitor.visit(this);
	}
}

@@ -60,16 +60,80 @@
 types;%0A%0A
+import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Node_Types;%0A
 import d
@@ -385,16 +385,53 @@
 ype() %7B%0A
+%09%09setType(Node_Types.TYPE_DATATYPE);%0A
 %09%7D%0A%0A%09pro

Set type for general datatype.