Revision 41212 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/FeatureQuery.java
FeatureQuery.java | ||
---|---|---|
87 | 87 |
*/ |
88 | 88 |
void addAttributeName(String attributeName); |
89 | 89 |
|
90 |
/** |
|
91 |
* Return true if has set attribute names |
|
92 |
* |
|
93 |
* @return true if has attribute names, otherwise false |
|
94 |
*/ |
|
95 |
boolean hasAttributeNames(); |
|
96 |
|
|
97 |
/** |
|
98 |
* Remove all the attribute names specifieds. |
|
99 |
*/ |
|
100 |
void clearAttributeNames(); |
|
101 |
|
|
102 |
/** |
|
103 |
* Returns the names of the attributes that are constants in each {@link Feature}. |
|
104 |
* These attributes will not be charged. |
|
105 |
* |
|
106 |
* @return the attribute names that are constant |
|
107 |
*/ |
|
108 |
String[] getConstantsAttributeNames(); |
|
109 |
|
|
90 | 110 |
/** |
111 |
* Set of attribute names to be treated as constants for each {@link Feature}. |
|
112 |
* |
|
113 |
* @param attributeNames |
|
114 |
* the attribute names to be constants |
|
115 |
*/ |
|
116 |
void setConstantsAttributeNames(String[] attributeNames); |
|
117 |
|
|
118 |
/** |
|
119 |
* Add an attribute name that will be treated as constant for each |
|
120 |
* {@link Feature}. |
|
121 |
* |
|
122 |
* @param attributeName |
|
123 |
* the attribute name to be treated as constant |
|
124 |
*/ |
|
125 |
void addConstantAttributeName(String attributeName); |
|
126 |
|
|
127 |
/** |
|
128 |
* Return true if has set constants attribute names |
|
129 |
* |
|
130 |
* @return true if has constants attribute names, otherwise false |
|
131 |
*/ |
|
132 |
boolean hasConstantsAttributeNames(); |
|
133 |
|
|
134 |
/** |
|
135 |
* Remove all the names specified as constants attributes. |
|
136 |
*/ |
|
137 |
void clearConstantsAttributeNames(); |
|
138 |
|
|
139 |
/** |
|
91 | 140 |
* Sets the {@link FeatureType} of the {@link Feature}s to load. It may be |
92 | 141 |
* used as an alternative way to set a subset of the list of attribute names |
93 | 142 |
* to load, by creating a sub-FeatureType. |
Also available in: Unified diff