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

import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Node_Types;
import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Vowl_Lang;
import de.uni_stuttgart.vis.vowl.owl2vowl.export.JsonGeneratorVisitor;

public class RdfsLiteral extends BaseDatatype {

	public RdfsLiteral() {
		setType(Node_Types.TYPE_LITERAL);
		setID();
		getLabels().put(Vowl_Lang.LANG_DEFAULT, "Literal");
	}

	@Override
	protected void setID() {
		id = "literal" + counterObjects;
		counterObjects++;
	}

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

@@ -124,16 +124,83 @@
 _Types;%0A
+import de.uni_stuttgart.vis.vowl.owl2vowl.constants.Standard_Iris;%0A
 import d
@@ -500,16 +500,61 @@
 eral%22);%0A
+%09%09setIri(Standard_Iris.GENERIC_LITERAL_URI);%0A
 %09%7D%0A%0A%09@Ov

Set standard iri for literal.