| java.lang.Object org.deegree.io.datastore.FeatureId
FeatureId | public class FeatureId implements Comparable(Code) | | Used to identify persistent (stored) feature instances.
author: Markus Schneider author: last edited by: $Author: apoth $ version: $Revision: 9342 $, $Date: 2007-12-27 04:32:57 -0800 (Thu, 27 Dec 2007) $ |
FeatureId | public FeatureId(MappedFeatureType ft, Object[] values)(Code) | | Creates a new instance of FeatureId from the given parameters.
Parameters: ft - cannot be null, must not be an abstract feature type Parameters: values - cannot be null or empty |
getAsString | public String getAsString()(Code) | | Returns the canonical textual representation, i.e. the key components, separated by the
separator defined in the associated
MappedGMLId .
the canonical textual representation |
getFeatureType | public MappedFeatureType getFeatureType()(Code) | | Return the
MappedFeatureType of the identified feature.
The feature type is concrete, never abstract.
type of the identified feature, never abstract |
getLength | public int getLength()(Code) | | Returns the number of components that the key consists of.
the number of components that the key consists of |
getValue | public Object getValue(int i)(Code) | | Returns a certain column value of the key.
Parameters: i - requested column the requested column value of the key |
getValues | public Object[] getValues()(Code) | | Returns all column values of the key.
all column values of the key |
hashCode | public int hashCode()(Code) | | |
removeFIDPrefix | public static Object removeFIDPrefix(String id, MappedGMLId idMapping) throws IdGenerationException(Code) | | Removes the prefix from the given feature id.
The prefix is taken from the given gml:id mapping.
Parameters: id - feature id (including prefix). Parameters: idMapping - target gml:id mapping (where the fid will be stored) feature id (without prefix) as an object of the right type (matching the tablecolumn) throws: IdGenerationException - if the given fid does not begin with the expected prefix from the gml:id mapping |
toString | public String toString()(Code) | | Returns a string representation of the object.
a string representation of the object |
|
|