de.derivo.sparqldlapi
Interface QueryAtomGroup


public interface QueryAtomGroup

The QueryAtomGroup class contains a group of atoms of a WHERE {} or UNION {} statement.

Author:
Mario Volke

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<QueryAtom> getAtoms()
          Get an unodifiable list of all query atoms in the group.
 int hashCode()
           
 boolean isEmpty()
          Check whether there are any atoms in the group.
 java.lang.String toString()
          Print the group as string.
 

Method Detail

isEmpty

boolean isEmpty()
Check whether there are any atoms in the group.

Returns:
True if there are no atoms at all.

getAtoms

java.util.List<QueryAtom> getAtoms()
Get an unodifiable list of all query atoms in the group.

Returns:

toString

java.lang.String toString()
Print the group as string.

Overrides:
toString in class java.lang.Object
Returns:
a string

equals

boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object