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

it.uniroma2.art.coda.pearl.model.graph.GraphSingleElemUri Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package it.uniroma2.art.coda.pearl.model.graph;

import it.uniroma2.art.coda.pearl.model.ProjectionRule;

/**
 * This class is the single element containing a URI
 * @author Andrea Turbati
 *
 */
public class GraphSingleElemUri extends GraphSingleElement{
	private String uri;
	
	
	/**
	 * @param uri the URI contained in this element
	 * @param prRule the projection rule where this element belongs to
	 */
	public GraphSingleElemUri(String uri, ProjectionRule prRule) {
		super(prRule);
		this.uri = uri;
	}
	
	/**
	 * Get the URI contained in this element
	 * @return the URI contained in this element
	 */
	public String getURI(){
		return uri;
	}

	@Override
	public String getValueAsString() {
		return "<"+getURI()+">";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy