|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.datastore.schema.MappedGMLId
public class MappedGMLId
Defines how values for "gml:id" attributes for a certain feature type are generated and which columns are used to store it.
Nested Class Summary | |
---|---|
static class |
MappedGMLId.IDPART_INFO
Used to represent the 'identityPart' information. |
Constructor Summary | |
---|---|
MappedGMLId(java.lang.String prefix,
java.lang.String separator,
MappingField[] idFields,
IdGenerator idGenerator,
MappedGMLId.IDPART_INFO idPartInfo)
Creates a new instance of MappedGMLId from the given parameters. |
Method Summary | |
---|---|
(package private) FeatureId |
generateFid(MappedFeatureType ft,
DatastoreTransaction ta)
Generates a new and unique feature identifier. |
MappingField[] |
getIdFields()
Returns the MappingField s that are used to build the "gml:id". |
IdGenerator |
getIdGenerator()
TODO remove this. |
MappedGMLId.IDPART_INFO |
getIdPartInfo()
Returns whether the configuration explicitly defines that the id has to be considered when two features are checked for equality. |
int |
getKeySize()
Returns the number of MappingField s that constitute the "gml:id". |
java.lang.String |
getPrefix()
Returns the prefix. |
java.lang.String |
getSeparator()
Returns the separator. |
boolean |
isIdentityPart()
Returns whether the id has to be considered when two features are checked for equality. |
void |
setIdentityPart(boolean isIdentityPart)
Sets the 'identiyPart' information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappedGMLId(java.lang.String prefix, java.lang.String separator, MappingField[] idFields, IdGenerator idGenerator, MappedGMLId.IDPART_INFO idPartInfo)
MappedGMLId
from the given parameters.
prefix
- separator
- idFields
- idGenerator
- idPartInfo
- Method Detail |
---|
public int getKeySize()
MappingField
s that constitute the "gml:id".
public MappingField[] getIdFields()
MappingField
s that are used to build the "gml:id".
public java.lang.String getPrefix()
public java.lang.String getSeparator()
public MappedGMLId.IDPART_INFO getIdPartInfo()
public boolean isIdentityPart()
public void setIdentityPart(boolean isIdentityPart)
isIdentityPart
- set to true, if feature id should determine feature's identity solelypublic IdGenerator getIdGenerator()
FeatureId generateFid(MappedFeatureType ft, DatastoreTransaction ta) throws IdGenerationException
ft
- ta
-
IdGenerationException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org