@GwtCompatible public final class Selection extends java.lang.Object implements Projection<Column>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCAL_PART |
static javax.xml.namespace.QName |
QNAME |
Modifier | Constructor and Description |
---|---|
protected |
Selection(java.util.List<Column> columns)
Constructs a new query
Selection |
Modifier and Type | Method and Description |
---|---|
Projection<Column> |
clone()
Returns a new
Projection containing the same data as this Projection . |
boolean |
equals(java.lang.Object obj) |
java.util.List<Column> |
getColumns()
Returns the list of projected columns
|
int |
hashCode() |
java.lang.String |
toString() |
public static final java.lang.String LOCAL_PART
public static final javax.xml.namespace.QName QNAME
protected Selection(java.util.List<Column> columns)
Selection
columns
- the list of columnspublic java.util.List<Column> getColumns()
Projection
getColumns
in interface Projection<Column>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public Projection<Column> clone()
Projection
Projection
containing the same data as this Projection
.
This is not a deep clone, it just creates new lists to allow data manipulation.clone
in interface Projection<Column>
clone
in class java.lang.Object
Projection
containing the same data as this Projection
copied by value.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.