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

ca.carleton.gcrc.couch.date.cluster.CouchTreeElement Maven / Gradle / Ivy

There is a newer version: 2.2.7
Show newest version
package ca.carleton.gcrc.couch.date.cluster;

import ca.carleton.gcrc.couch.date.impl.TimeInterval;

public class CouchTreeElement implements TreeElement {

	private Integer clusterId;
	private TimeInterval interval;
	private String docId;
	
	public CouchTreeElement(String docId, Integer clusterId, TimeInterval interval) throws Exception {
		this.docId = docId;
		this.clusterId = clusterId;
		this.interval = interval;
	}
	
	@Override
	public Integer getClusterId() {
		return clusterId;
	}
	
	@Override
	public TimeInterval getInterval() {
		return interval;
	}
	
	public String getDocId(){
		return docId;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy