public class Union extends java.lang.Object implements IndentableElement
| Modifier and Type | Method and Description |
|---|---|
SparqlRequestGroup |
addGroup()
Add a group in the Union.
|
boolean |
checkValidity()
Check the validity of the SPARQL expression for the group expression.
|
GroupForm |
getGroupForm()
Return the group whch is the parent of the Union.
|
java.util.List<SparqlRequestGroup> |
getGroups()
Return the groups in the Union.
|
int |
getLevel()
Return the level of the group.
|
void |
writeSPARQL(java.lang.StringBuilder buf,
boolean includeComments)
Write the SPARQL request for the UNION construct.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitindent, indentMore, indentParentpublic int getLevel()
getLevel in interface IndentableElementpublic GroupForm getGroupForm()
public SparqlRequestGroup addGroup()
public java.util.List<SparqlRequestGroup> getGroups()
public boolean checkValidity()
public void writeSPARQL(java.lang.StringBuilder buf,
boolean includeComments)
buf - the bufferincludeComments - true if comments should be includedCopyright © 2025, 2026 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence