package eu.dnetlib.functionality.lightui.utils;

public class RepositoryWithIdImpl extends RepositoryImpl {

	private String repositoryId;

	public RepositoryWithIdImpl() {
		super("dummy");
	}

	public RepositoryWithIdImpl(String name, String id) {
		super(name);
		this.repositoryId = id;
	}

	@Override
	public String getQuery() {
		return "repositoryId = \"" + getRepositoryId() + "\"";
	}

	public String getRepositoryId() {
		return repositoryId;
	}

	public void setRepositoryId(String repositoryId) {
		this.repositoryId = repositoryId;
	}

}
