Class ObjectType
- java.lang.Object
-
- org.citydb.database.schema.mapping.AbstractPathElement
-
- org.citydb.database.schema.mapping.AbstractType<T>
-
- org.citydb.database.schema.mapping.AbstractObjectType<ObjectType>
-
- org.citydb.database.schema.mapping.ObjectType
-
public class ObjectType extends AbstractObjectType<ObjectType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectTypeExtension
extension
-
Fields inherited from class org.citydb.database.schema.mapping.AbstractObjectType
id, objectClassId, table
-
Fields inherited from class org.citydb.database.schema.mapping.AbstractType
_abstract, properties, schemaMapping
-
Fields inherited from class org.citydb.database.schema.mapping.AbstractPathElement
path, queryable, schema
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectType()
ObjectType(java.lang.String id, java.lang.String path, java.lang.String table, int objectClassId, AppSchema schema, SchemaMapping schemaMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathElementType
getElementType()
AbstractExtension<ObjectType>
getExtension()
boolean
isSetExtension()
java.util.List<ObjectType>
listSubTypes(boolean skipAbstractTypes)
void
setExtension(AbstractExtension<ObjectType> extension)
protected void
validate(SchemaMapping schemaMapping, java.lang.Object parent)
-
Methods inherited from class org.citydb.database.schema.mapping.AbstractObjectType
getId, getObjectClassId, getTable, hasSharedTable, isSetId, isSetObjectClass, isSetTable, setId, setObjectClassId, setTable
-
Methods inherited from class org.citydb.database.schema.mapping.AbstractType
addProperty, getFeatureProperty, getProperties, getProperty, isAbstract, isEqualToOrSubTypeOf, isSetAbstract, isSetProperties, isSubTypeOf, listProperties, listSubTypes, listSuperTypes, setAbstract
-
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
-
extension
protected ObjectTypeExtension extension
-
-
Constructor Detail
-
ObjectType
protected ObjectType()
-
ObjectType
public ObjectType(java.lang.String id, java.lang.String path, java.lang.String table, int objectClassId, AppSchema schema, SchemaMapping schemaMapping)
-
-
Method Detail
-
getExtension
public AbstractExtension<ObjectType> getExtension()
- Specified by:
getExtension
in classAbstractType<ObjectType>
-
isSetExtension
public boolean isSetExtension()
- Specified by:
isSetExtension
in classAbstractType<ObjectType>
-
setExtension
public void setExtension(AbstractExtension<ObjectType> extension)
- Specified by:
setExtension
in classAbstractType<ObjectType>
-
listSubTypes
public java.util.List<ObjectType> listSubTypes(boolean skipAbstractTypes)
- Specified by:
listSubTypes
in classAbstractType<ObjectType>
-
getElementType
public PathElementType getElementType()
- Specified by:
getElementType
in classAbstractPathElement
-
validate
protected void validate(SchemaMapping schemaMapping, java.lang.Object parent) throws SchemaMappingException
- Overrides:
validate
in classAbstractObjectType<ObjectType>
- Throws:
SchemaMappingException
-
-