/*
 * DataOneOf.java
 *
 */

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

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

import java.util.ArrayList;
import java.util.List;

/**
 *
 */
public class DataOneOf extends BaseDatatype {
	protected List<BaseNode> oneOf;

	public DataOneOf() {
		super();
		//setType(...); TODO
		oneOf = new ArrayList<BaseNode>();
		setName("Data One Of");
		setID();
	}

	public List<BaseNode> getOneOf() {
		return oneOf;
	}

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

@@ -427,16 +427,119 @@
 etID();%0A
+%09%09setComment(%22Dummy implementation. Not the real extracted element because not supported currently.%22);%0A
 %09%7D%0A%0A%09pub

Set dummy comment for data one of nodes.