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);
	}
}

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.Standard_Iris;
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");
		setIri(Standard_Iris.GENERIC_LITERAL_URI);
	}

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

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

Set standard iri for literal.
Set standard iri for literal.