| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(String prefix,
                       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 MappingFields 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 MappingFields that constitute the "gml:id". | 
 String | 
getPrefix()
Returns the prefix.  | 
 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(String prefix,
                   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()
MappingFields that constitute the "gml:id".
public MappingField[] getIdFields()
MappingFields that are used to build the "gml:id".
public String getPrefix()
public 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.1 (2007/11/08 09:57 build-328-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://deegree.sourceforge.net