Class FeatureProperty
- java.lang.Object
-
- org.citydb.database.schema.mapping.AbstractPathElement
-
- org.citydb.database.schema.mapping.AbstractProperty
-
- org.citydb.database.schema.mapping.AbstractTypeProperty<T>
-
- org.citydb.database.schema.mapping.AbstractRefTypeProperty<FeatureType>
-
- org.citydb.database.schema.mapping.FeatureProperty
-
- All Implemented Interfaces:
Joinable
- Direct Known Subclasses:
InjectedFeatureProperty
public class FeatureProperty extends AbstractRefTypeProperty<FeatureType>
-
-
Field Summary
Fields Modifier and Type Field Description protected FeatureType
type
-
Fields inherited from class org.citydb.database.schema.mapping.AbstractRefTypeProperty
relationType
-
Fields inherited from class org.citydb.database.schema.mapping.AbstractTypeProperty
join
-
Fields inherited from class org.citydb.database.schema.mapping.AbstractProperty
maxOccurs, minOccurs
-
Fields inherited from class org.citydb.database.schema.mapping.AbstractPathElement
path, queryable, schema
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FeatureProperty()
FeatureProperty(java.lang.String path, FeatureType type, AppSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathElementType
getElementType()
FeatureType
getType()
boolean
isSetType()
void
setType(FeatureType type)
protected void
validate(SchemaMapping schemaMapping, java.lang.Object parent)
-
Methods inherited from class org.citydb.database.schema.mapping.AbstractRefTypeProperty
getRelationType, isSetRelationType, setRelationType
-
Methods inherited from class org.citydb.database.schema.mapping.AbstractTypeProperty
getJoin, isSetJoin, setJoin, setJoin
-
Methods inherited from class org.citydb.database.schema.mapping.AbstractProperty
getMaxOccurs, getMinOccurs, isSetMaxOccurs, isSetMinOccurs, setMaxOccurs, setMinOccurs
-
Methods inherited from class org.citydb.database.schema.mapping.AbstractPathElement
getLocalProperty, getPath, getSchema, hasLocalProperty, isAvailableForCityGML, isQueryable, isSetPath, isSetQueryable, isSetSchema, matchesName, matchesName, setLocalProperty, setPath, setQueryable, setSchema, toString, unsetLocalProperty
-
-
-
-
Field Detail
-
type
protected FeatureType type
-
-
Constructor Detail
-
FeatureProperty
protected FeatureProperty()
-
FeatureProperty
public FeatureProperty(java.lang.String path, FeatureType type, AppSchema schema)
-
-
Method Detail
-
getType
public FeatureType getType()
- Specified by:
getType
in classAbstractTypeProperty<FeatureType>
-
isSetType
public boolean isSetType()
- Specified by:
isSetType
in classAbstractTypeProperty<FeatureType>
-
setType
public void setType(FeatureType type)
- Specified by:
setType
in classAbstractRefTypeProperty<FeatureType>
-
getElementType
public PathElementType getElementType()
- Specified by:
getElementType
in classAbstractPathElement
-
validate
protected void validate(SchemaMapping schemaMapping, java.lang.Object parent) throws SchemaMappingException
- Overrides:
validate
in classAbstractTypeProperty<FeatureType>
- Throws:
SchemaMappingException
-
-