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

de.derivo.sparqldlapi.QueryAtomGroup Maven / Gradle / Ivy

The newest version!
// Copyright (c) 2011. This source code is available under the terms of the GNU Lesser General Public License (LGPL)
// Author: Mario Volke 
// derivo GmbH, James-Franck-Ring, 89081 Ulm 

package de.derivo.sparqldlapi;

import java.util.List;

/**
 * The QueryAtomGroup class contains a group of atoms of a WHERE {} or UNION {} statement.
 * 
 * @author Mario Volke
 */
public interface QueryAtomGroup 
{
	/**
	 * Check whether there are any atoms in the group.
	 * 
	 * @return True if there are no atoms at all.
	 */
	public boolean isEmpty();
	
	/**
	 * Get an unodifiable list of all query atoms in the group.
	 * 
	 * @return
	 */
	public List getAtoms();
	
	/**
	 * Print the group as string.
	 * 
	 * @return a string
	 */
	public String toString();
	
	@Override
	public boolean equals(Object obj);
	
	@Override
	public int hashCode();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy