public class ClauseADQL<T extends ADQLObject> extends ADQLList<T>
ADQLList.ADQLListIterator
Constructor and Description |
---|
ClauseADQL()
Builds an anonymous ClauseADQL.
|
ClauseADQL(ADQLList<T> toCopy)
Builds a ClauseADQL by copying the given one.
|
ClauseADQL(java.lang.String name)
Builds a ClauseADQL considering its name.
|
Modifier and Type | Method and Description |
---|---|
ADQLObject |
getCopy()
Gets a (deep) copy of this ADQL object.
|
java.lang.String[] |
getPossibleSeparators()
Possible separators: only ",".
|
java.lang.String |
getSeparator(int index)
Returns always ",", except if the index is incorrect (index <= 0 or index >= size()).
|
add, add, adqlIterator, clear, get, getName, getPosition, isEmpty, iterator, remove, set, setPosition, size, toADQL
public ClauseADQL()
public ClauseADQL(java.lang.String name)
name
- List label.public ClauseADQL(ADQLList<T> toCopy) throws java.lang.Exception
toCopy
- The ClauseADQL to copy.java.lang.Exception
- If there is an unexpected error during the copy.public ADQLObject getCopy() throws java.lang.Exception
ADQLObject
getCopy
in interface ADQLObject
getCopy
in class ADQLList<T extends ADQLObject>
java.lang.Exception
- If there is any error during the copy.public java.lang.String[] getPossibleSeparators()
getPossibleSeparators
in class ADQLList<T extends ADQLObject>
ADQLList.getPossibleSeparators()
public java.lang.String getSeparator(int index) throws java.lang.ArrayIndexOutOfBoundsException
getSeparator
in class ADQLList<T extends ADQLObject>
index
- Index of the right list item.java.lang.ArrayIndexOutOfBoundsException
- If the index is less or equal than 0, or is greater or equal than size()
.ADQLList.getSeparator(int)