public class NotConstraint extends java.lang.Object implements ADQLConstraint
Constructor and Description |
---|
NotConstraint(ADQLConstraint constraint)
Builds a NotConstraint just with the constraint on which the logical operator NOT must be applied.
|
Modifier and Type | Method and Description |
---|---|
ADQLIterator |
adqlIterator()
Gets an iterator on the intern ADQL objects.
|
ADQLConstraint |
getConstraint()
Gets the constraint on which the NOT operator is applied.
|
ADQLObject |
getCopy()
Gets a (deep) copy of this ADQL object.
|
java.lang.String |
getName()
Gets the name of this object in ADQL.
|
java.lang.String |
toADQL()
Gets the ADQL expression of this object.
|
public NotConstraint(ADQLConstraint constraint) throws java.lang.NullPointerException
constraint
- The constraint on which NOT must be applied.java.lang.NullPointerException
- If the given constraint is null.public final ADQLConstraint getConstraint()
ADQLConstraint
.public ADQLObject getCopy() throws java.lang.Exception
ADQLObject
getCopy
in interface ADQLObject
java.lang.Exception
- If there is any error during the copy.public java.lang.String getName()
ADQLObject
getName
in interface ADQLObject
public ADQLIterator adqlIterator()
ADQLObject
Gets an iterator on the intern ADQL objects.
Note:The returned iterator is particularly used by a ISearchHandler
extension to browse a whole ADQL tree.
adqlIterator
in interface ADQLObject
ADQLIterator
,
ISearchHandler
public java.lang.String toADQL()
ADQLObject
toADQL
in interface ADQLObject