|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.Recordset
| Constructor Summary | |
Recordset()
Creates a new Recordset object |
|
| Method Summary | |
void |
addFieldAlias(java.lang.String fieldName,
java.lang.String alias)
Sets the alias for the field. |
void |
addIdentifyKeyField(java.lang.String fieldName)
Sets a field used as a key field for non-default reports. |
void |
addIdentifyKeyFieldAlias(java.lang.String fieldName,
java.lang.String alias)
Sets the alias for the field in non-default reports. |
void |
addIdentifyLink(IdentifyLink link)
Adds an identify link to the recordset for display on default reports. |
boolean |
addRecord(Feature record)
Adds a record to the recordset. |
void |
addSelectKeyField(java.lang.String fieldName)
Sets a field used as a key field for non-default reports. |
void |
addSelectKeyFieldAlias(java.lang.String fieldName,
java.lang.String alias)
Sets the alias for the field in non-default reports. |
boolean |
BOF()
Returns true if the recordset is at the beginning (before the first record). |
boolean |
canSelectByAttribute()
Returns an indicator of whether the recordset can be selected by attribute. |
void |
clear()
Clears the recordset |
void |
clearSelectedSet()
Clears the selected set. |
void |
clearSelectedSetSelection()
Clears the temporary selected set selection used when records are selected when a selected set already contains records. |
java.lang.Object |
clone()
Creates a clone of this object. |
boolean |
EOF()
Returns true if the recordset is at the end (after the last record). |
java.lang.String |
format(java.lang.String fieldName,
java.lang.String value,
java.util.Locale locale)
Formats a field value according to the specified format. |
java.lang.String |
getAlias(java.lang.String fieldName)
Gets the alias for the specified field. |
boolean |
getCanIdentify(java.lang.String fieldName)
Returns an indicator of whether the field should be shown on the default identify and drill identify reports. |
Recordset |
getCopy()
Creates a copy of this object. |
Envelope |
getExtent()
Gets the extent of the current record, or null if there is no geometry. |
Feature |
getFeature()
Gets the feature of the current record. |
java.lang.String |
getFeatureId()
Gets the feature id of the current record. |
java.lang.String[] |
getFieldNames()
Gets an array of field names. |
Geometry |
getGeometry()
Gets the geometry of the current record. |
Geometry |
getGeometry(java.lang.String fieldName)
Returns the geometry of the specified field for the current record. |
Envelope |
getGlobalExtent()
Gets the extent of the recordset, or null if there is no geometry. |
java.lang.String |
getHypertextMessage(java.lang.String fieldName)
Gets the hypertext message for the specified field, if any. |
java.lang.String |
getIdentifyKeyFieldAlias(java.lang.String fieldName)
Get the key field alias for the specified field. |
java.lang.String[] |
getIdentifyKeyFieldNames()
Gets an array of key field names used in non-default reports. |
java.util.ArrayList |
getIdentifyLinks()
Gets the identify links for this recordset, if any. |
int |
getMaximumResults()
Returns the number of maximum results that can be returned by a query. |
java.lang.String |
getMetadata(java.lang.String fieldName)
Gets the metadata for the specified field, if any. |
java.util.ArrayList |
getSelectByAttributeFieldNames()
Returns an array of names of fields that can be selected by attributes. |
java.util.HashSet |
getSelectedSet()
Gets the selected set. |
FilterFeatureId |
getSelectedSetFilter()
Returns a filter to reselect the selected set records. |
java.util.HashSet |
getSelectedSetSelection()
Gets the new selection set. |
java.util.HashSet |
getSelection()
Gets the selection set. |
java.lang.String |
getSelectKeyFieldAlias(java.lang.String fieldName)
Gets the alias used for non-default selection reports for the specified field. |
java.lang.String[] |
getSelectKeyFieldNames()
Gets the field names used for non-default selection reports. |
java.lang.String |
getShortName(java.lang.String fieldName)
Gets the alias label of the field, or the short SDE field name (the part after the last period. |
java.lang.String |
getValue(java.lang.String fieldName)
Returns the value of the specified field for the current record. |
java.lang.String |
getWfsRequestString()
Gets the most recent WFS request string. |
java.lang.String |
getWfsResponseString()
Gets the most recent WFS response string. |
boolean |
moveFirst()
Moves the recordset to the first record. |
boolean |
moveNext()
Moves the recordset to the next record. |
boolean |
moveTo(int index)
Moves the recordset to the specified record. |
void |
setDefaultFieldVisibility(boolean isVisible)
Sets the default field visibility for the recordset. |
void |
setFieldAttribute(java.lang.String fieldName,
java.lang.String name,
java.lang.String value,
java.lang.String frameworkPath,
java.lang.String mapConfigPath)
Sets the attribute for the field. |
void |
setMaximumResults(int maximumResults)
Sets the maximum results that can be returned by a query. |
void |
setSelectedSet(java.util.HashSet selectedSet)
Sets the selected set. |
void |
setSelectedSetSelection(java.util.HashSet selectedSet)
Sets the current selection set. |
void |
setWfsRequestString(java.lang.String request)
Sets the most recent WFS request string. |
void |
setWfsResponseString(java.lang.String response)
Sets the most recent WFS response string. |
int |
size()
Gets the number of records in the recordset. |
java.lang.String |
toString()
Returns a printable string of this recordset's contents. |
boolean |
usesSelectedSet()
Returns an indicator of whether selected sets are used for this recordset. |
void |
usesSelectedSet(boolean usesSelectedSet)
Sets whether selected set is used. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Recordset()
| Method Detail |
public java.lang.Object clone()
public Recordset getCopy()
public boolean canSelectByAttribute()
public java.util.ArrayList getSelectByAttributeFieldNames()
public void addFieldAlias(java.lang.String fieldName,
java.lang.String alias)
fieldName - The field name.alias - The field alias.public void addIdentifyKeyField(java.lang.String fieldName)
fieldName - The field name.
public void addIdentifyKeyFieldAlias(java.lang.String fieldName,
java.lang.String alias)
fieldName - The field name.alias - The field alias.public void addSelectKeyField(java.lang.String fieldName)
fieldName - The field name.
public void addSelectKeyFieldAlias(java.lang.String fieldName,
java.lang.String alias)
fieldName - The field name.alias - The field alias.public void addIdentifyLink(IdentifyLink link)
link - The identify link.public java.util.ArrayList getIdentifyLinks()
public boolean addRecord(Feature record)
record - The record.
public boolean BOF()
public void clear()
public boolean EOF()
public boolean getCanIdentify(java.lang.String fieldName)
fieldName - The FULL field name.
public java.lang.String getAlias(java.lang.String fieldName)
fieldName - The FULL field name.
public java.lang.String getHypertextMessage(java.lang.String fieldName)
fieldName - The field name.
public java.util.HashSet getSelection()
public FilterFeatureId getSelectedSetFilter()
public void clearSelectedSet()
public void clearSelectedSetSelection()
public java.util.HashSet getSelectedSet()
public java.util.HashSet getSelectedSetSelection()
public boolean usesSelectedSet()
public void setSelectedSet(java.util.HashSet selectedSet)
selectedSet - The new selected set.public void setSelectedSetSelection(java.util.HashSet selectedSet)
selectedSet - The selection set.public void usesSelectedSet(boolean usesSelectedSet)
usesSelectedSet - True if selected sets are used, otherwise false.public java.lang.String getShortName(java.lang.String fieldName)
fieldName - The name of the field.
public java.lang.String[] getFieldNames()
public Geometry getGeometry()
public Envelope getExtent()
public Envelope getGlobalExtent()
public java.lang.String getIdentifyKeyFieldAlias(java.lang.String fieldName)
fieldName - The full name of the field.
public java.lang.String[] getIdentifyKeyFieldNames()
public java.lang.String getSelectKeyFieldAlias(java.lang.String fieldName)
fieldName - The name of the field to search on.
public java.lang.String[] getSelectKeyFieldNames()
public int getMaximumResults()
public Feature getFeature()
public java.lang.String getFeatureId()
public java.lang.String getValue(java.lang.String fieldName)
fieldName - The full name of the field.
public Geometry getGeometry(java.lang.String fieldName)
fieldName - The full name of the field.
public java.lang.String getMetadata(java.lang.String fieldName)
fieldName - The full name of the field.
public boolean moveFirst()
public boolean moveNext()
public boolean moveTo(int index)
index - The record's index number, zero based.
public void setDefaultFieldVisibility(boolean isVisible)
isVisible - True if fields should be visible by default, otherwise false.
public void setFieldAttribute(java.lang.String fieldName,
java.lang.String name,
java.lang.String value,
java.lang.String frameworkPath,
java.lang.String mapConfigPath)
fieldName - The name of the field.name - The XML attribute name in the FIELD element.value - The XML value.frameworkPath - The URL path to the IMF installation.mapConfigPath - The URL path to the configuration file.public void setMaximumResults(int maximumResults)
maximumResults - The maximum records to return.public int size()
public java.lang.String getWfsRequestString()
public void setWfsRequestString(java.lang.String request)
request - The most recent request.public java.lang.String getWfsResponseString()
public void setWfsResponseString(java.lang.String response)
response - The most response request.public java.lang.String toString()
public java.lang.String format(java.lang.String fieldName,
java.lang.String value,
java.util.Locale locale)
fieldName - The name of the field to format.value - The field value to format.locale - The locale to use for formatting.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||