svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / feature / FeatureQueryOrder.java @ 46723
History | View | Annotate | Download (2.44 KB)
1 | 40559 | jjdelcerro | /**
|
---|---|---|---|
2 | * gvSIG. Desktop Geographic Information System.
|
||
3 | *
|
||
4 | * Copyright (C) 2007-2013 gvSIG Association.
|
||
5 | *
|
||
6 | 43020 | jjdelcerro | * This program is free software; you can redistribute it and/or modify it under
|
7 | * the terms of the GNU General Public License as published by the Free Software
|
||
8 | * Foundation; either version 3 of the License, or (at your option) any later
|
||
9 | * version.
|
||
10 | 40559 | jjdelcerro | *
|
11 | 43020 | jjdelcerro | * This program is distributed in the hope that it will be useful, but WITHOUT
|
12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||
13 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||
14 | * details.
|
||
15 | 40559 | jjdelcerro | *
|
16 | 43020 | jjdelcerro | * You should have received a copy of the GNU General Public License along with
|
17 | * this program; if not, write to the Free Software Foundation, Inc., 51
|
||
18 | * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
19 | 40559 | jjdelcerro | *
|
20 | 43020 | jjdelcerro | * For any additional information, do not hesitate to contact us at info AT
|
21 | * gvsig.com, or visit our website www.gvsig.com.
|
||
22 | 40559 | jjdelcerro | */
|
23 | 40435 | jjdelcerro | package org.gvsig.fmap.dal.feature; |
24 | |||
25 | import java.util.Iterator; |
||
26 | 44829 | omartinez | import org.gvsig.expressionevaluator.Expression; |
27 | 45308 | fdiaz | import org.gvsig.fmap.dal.feature.FeatureQueryOrder.FeatureQueryOrderMember; |
28 | 40435 | jjdelcerro | import org.gvsig.tools.evaluator.Evaluator; |
29 | import org.gvsig.tools.lang.Cloneable; |
||
30 | import org.gvsig.tools.persistence.Persistent; |
||
31 | |||
32 | 45308 | fdiaz | /**
|
33 | *
|
||
34 | * @author fdiaz
|
||
35 | */
|
||
36 | public interface FeatureQueryOrder extends Cloneable, Iterable<FeatureQueryOrderMember>, Persistent { |
||
37 | 40435 | jjdelcerro | |
38 | 45308 | fdiaz | public interface FeatureQueryOrderMember extends Persistent, Cloneable { |
39 | 43026 | jjdelcerro | |
40 | 45308 | fdiaz | FeatureQueryOrderMember clone() throws CloneNotSupportedException; |
41 | 43026 | jjdelcerro | |
42 | 45308 | fdiaz | boolean getAscending();
|
43 | 44829 | omartinez | |
44 | 45308 | fdiaz | String getAttributeName();
|
45 | 44829 | omartinez | |
46 | 45308 | fdiaz | Evaluator getEvaluator(); |
47 | 43026 | jjdelcerro | |
48 | 45308 | fdiaz | boolean hasEvaluator();
|
49 | 43026 | jjdelcerro | |
50 | 45308 | fdiaz | void setAscending(boolean ascending); |
51 | 44712 | jjdelcerro | |
52 | 43026 | jjdelcerro | } |
53 | |||
54 | 45308 | fdiaz | Object add(String order); |
55 | 40435 | jjdelcerro | |
56 | 45308 | fdiaz | Object add(String attributeName, boolean ascending); |
57 | 44829 | omartinez | |
58 | 45308 | fdiaz | Object add(Expression expr, boolean ascending); |
59 | 44829 | omartinez | |
60 | 45308 | fdiaz | void clear();
|
61 | 44829 | omartinez | |
62 | 45308 | fdiaz | FeatureQueryOrder clone() throws CloneNotSupportedException; |
63 | 44829 | omartinez | |
64 | 45308 | fdiaz | boolean contains(String attributeName); |
65 | 40435 | jjdelcerro | |
66 | 45308 | fdiaz | void copyFrom(FeatureQueryOrder other);
|
67 | 43026 | jjdelcerro | |
68 | 45308 | fdiaz | FeatureQueryOrderMember get(String attributeName);
|
69 | 44829 | omartinez | |
70 | 45308 | fdiaz | FeatureQueryOrder getCopy(); |
71 | 40435 | jjdelcerro | |
72 | 45308 | fdiaz | int getIndex(String attributeName); |
73 | 40435 | jjdelcerro | |
74 | 45308 | fdiaz | boolean isEmpty();
|
75 | 40435 | jjdelcerro | |
76 | 45308 | fdiaz | Iterator<FeatureQueryOrderMember> iterator();
|
77 | 40435 | jjdelcerro | |
78 | 45308 | fdiaz | Iterable<FeatureQueryOrderMember> members();
|
79 | 40435 | jjdelcerro | |
80 | 45308 | fdiaz | void moveNext(String name); |
81 | 40435 | jjdelcerro | |
82 | 45308 | fdiaz | void movePrevious(String name); |
83 | 44829 | omartinez | |
84 | 45308 | fdiaz | boolean remove(FeatureQueryOrderMember member);
|
85 | 44829 | omartinez | |
86 | 45308 | fdiaz | void remove(int index); |
87 | 40435 | jjdelcerro | |
88 | 45308 | fdiaz | int size();
|
89 | 44644 | jjdelcerro | |
90 | 43020 | jjdelcerro | } |