All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unlaxer.jaddress.gremlin.DataElement Maven / Gradle / Ivy

package org.unlaxer.jaddress.gremlin;

import org.unlaxer.jaddress.entity.standard.階層要素;

public class DataElement {
	Integer node;
	String value;
	String kaisou;
	String id;

	public DataElement(Integer node, String value) {
		super();
		this.node = node;
		this.value = value;
	}

	public DataElement(Integer node, String value, 階層要素 kaisou, Integer id) {
		super();
		this.node = node;
		this.value = value;
		this.kaisou = kaisou.name();
		this.id = String.valueOf(id);
	}

	public String print() {
		return String.format("[%d][%s](%s)[%d]", node, value, kaisou, id);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy