public class DefaultFeatureQueryOrder extends java.lang.Object implements FeatureQueryOrder
Modifier and Type | Class and Description |
---|---|
static class |
DefaultFeatureQueryOrder.FeatureQueryOrderMemberImpl |
FeatureQueryOrder.FeatureQueryOrderMember
Constructor and Description |
---|
DefaultFeatureQueryOrder() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
add(Expression expr,
boolean ascending) |
java.lang.Object |
add(java.lang.String order) |
java.lang.Object |
add(java.lang.String attributeName,
boolean ascending) |
void |
clear() |
DefaultFeatureQueryOrder |
clone()
Creates a copy of the object.
|
boolean |
contains(java.lang.String attributeName) |
void |
copyFrom(FeatureQueryOrder other) |
void |
fromJson(JsonObject json) |
FeatureQueryOrder.FeatureQueryOrderMember |
get(java.lang.String attributeName) |
DefaultFeatureQueryOrder |
getCopy() |
java.util.Comparator<Feature> |
getFeatureComparator() |
int |
getIndex(java.lang.String attributeName) |
boolean |
isEmpty() |
java.util.Iterator<FeatureQueryOrder.FeatureQueryOrderMember> |
iterator() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
java.lang.Iterable<FeatureQueryOrder.FeatureQueryOrderMember> |
members() |
void |
moveNext(java.lang.String name) |
void |
movePrevious(java.lang.String name) |
boolean |
remove(FeatureQueryOrder.FeatureQueryOrderMember member) |
void |
remove(int index) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
static void |
selfRegister() |
int |
size() |
JsonObjectBuilder |
toJsonBuilder() |
java.lang.String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cloneQuietly, cloneQuietly
toJson, toJson, toJsonBuilder
public void copyFrom(FeatureQueryOrder other)
copyFrom
in interface FeatureQueryOrder
public java.lang.Object add(java.lang.String order)
add
in interface FeatureQueryOrder
public java.lang.Object add(java.lang.String attributeName, boolean ascending)
add
in interface FeatureQueryOrder
public java.lang.Object add(Expression expr, boolean ascending)
add
in interface FeatureQueryOrder
public java.lang.Iterable<FeatureQueryOrder.FeatureQueryOrderMember> members()
members
in interface FeatureQueryOrder
public java.util.Iterator<FeatureQueryOrder.FeatureQueryOrderMember> iterator()
iterator
in interface java.lang.Iterable<FeatureQueryOrder.FeatureQueryOrderMember>
iterator
in interface FeatureQueryOrder
public boolean remove(FeatureQueryOrder.FeatureQueryOrderMember member)
remove
in interface FeatureQueryOrder
public void remove(int index)
remove
in interface FeatureQueryOrder
public void clear()
clear
in interface FeatureQueryOrder
public int size()
size
in interface FeatureQueryOrder
public int getIndex(java.lang.String attributeName)
getIndex
in interface FeatureQueryOrder
public void movePrevious(java.lang.String name)
movePrevious
in interface FeatureQueryOrder
public void moveNext(java.lang.String name)
moveNext
in interface FeatureQueryOrder
public boolean isEmpty()
isEmpty
in interface FeatureQueryOrder
public FeatureQueryOrder.FeatureQueryOrderMember get(java.lang.String attributeName)
get
in interface FeatureQueryOrder
public boolean contains(java.lang.String attributeName)
contains
in interface FeatureQueryOrder
public java.util.Comparator<Feature> getFeatureComparator()
public DefaultFeatureQueryOrder clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in interface FeatureQueryOrder
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.
public DefaultFeatureQueryOrder getCopy()
getCopy
in interface FeatureQueryOrder
public static void selfRegister()
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public void fromJson(JsonObject json)
fromJson
in interface SupportFromJson
public JsonObjectBuilder toJsonBuilder()
toJsonBuilder
in interface SupportToJson
public java.lang.String toString()
toString
in class java.lang.Object