|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.feature.persistence.postgis.PostGISApplicationSchema
public class PostGISApplicationSchema
Encapsulates an ApplicationSchema
and mapping information that map the feature types to a relational schema
stored in a PostGIS database.
ApplicationSchema
,
FeatureTypeMapping
Constructor Summary | |
---|---|
PostGISApplicationSchema(ApplicationSchema appSchema,
GlobalMappingHints globalHints,
Map<QName,FeatureTypeMapping> ftNamesToHints)
|
Method Summary | |
---|---|
Map<QName,FeatureTypeMapping> |
getFtMapping()
|
FeatureTypeMapping |
getFtMapping(QName ftName)
Returns the mapping hints for the specified feature type. |
GlobalMappingHints |
getGlobalHints()
Returns the global mapping hints that apply to all feature types of the schema. |
ApplicationSchema |
getSchema()
Returns the application schema. |
void |
writeCreateScript(String dbSchema,
PrintWriter writer)
Prints out an SQL create script for the relational schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostGISApplicationSchema(ApplicationSchema appSchema, GlobalMappingHints globalHints, Map<QName,FeatureTypeMapping> ftNamesToHints)
appSchema
- globalHints
- ftNamesToHints
- Method Detail |
---|
public ApplicationSchema getSchema()
public GlobalMappingHints getGlobalHints()
public Map<QName,FeatureTypeMapping> getFtMapping()
public FeatureTypeMapping getFtMapping(QName ftName)
ftName
- name of the feature type, must not be null
null
if the feature type does not exist
in the schemapublic void writeCreateScript(String dbSchema, PrintWriter writer)
dbSchema
- optional db schema, can be nullwriter
-
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |