Class AbstractObjectType<T extends AbstractObjectType<T>>
- java.lang.Object
-
- org.citydb.database.schema.mapping.AbstractPathElement
-
- org.citydb.database.schema.mapping.AbstractType<T>
-
- org.citydb.database.schema.mapping.AbstractObjectType<T>
-
- Direct Known Subclasses:
FeatureType
,ObjectType
public abstract class AbstractObjectType<T extends AbstractObjectType<T>> extends AbstractType<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
id
protected java.lang.Integer
objectClassId
protected java.lang.String
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
AbstractObjectType()
AbstractObjectType(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 java.lang.String
getId()
int
getObjectClassId()
java.lang.String
getTable()
boolean
hasSharedTable(boolean skipAbstractTypes)
boolean
isSetId()
boolean
isSetObjectClass()
boolean
isSetTable()
void
setId(java.lang.String id)
void
setObjectClassId(int objectClassId)
void
setTable(java.lang.String table)
protected void
validate(SchemaMapping schemaMapping, java.lang.Object parent)
-
Methods inherited from class org.citydb.database.schema.mapping.AbstractType
addProperty, getExtension, getFeatureProperty, getProperties, getProperty, isAbstract, isEqualToOrSubTypeOf, isSetAbstract, isSetExtension, isSetProperties, isSubTypeOf, listProperties, listSubTypes, listSubTypes, listSuperTypes, setAbstract, setExtension
-
Methods inherited from class org.citydb.database.schema.mapping.AbstractPathElement
getElementType, getLocalProperty, getPath, getSchema, hasLocalProperty, isAvailableForCityGML, isQueryable, isSetPath, isSetQueryable, isSetSchema, matchesName, matchesName, setLocalProperty, setPath, setQueryable, setSchema, toString, unsetLocalProperty
-
-
-
-
Constructor Detail
-
AbstractObjectType
protected AbstractObjectType()
-
AbstractObjectType
public AbstractObjectType(java.lang.String id, java.lang.String path, java.lang.String table, int objectClassId, AppSchema schema, SchemaMapping schemaMapping)
-
-
Method Detail
-
getId
public java.lang.String getId()
- Specified by:
getId
in classAbstractType<T extends AbstractObjectType<T>>
-
isSetId
public boolean isSetId()
- Specified by:
isSetId
in classAbstractType<T extends AbstractObjectType<T>>
-
setId
public void setId(java.lang.String id)
- Specified by:
setId
in classAbstractType<T extends AbstractObjectType<T>>
-
getTable
public java.lang.String getTable()
- Specified by:
getTable
in classAbstractType<T extends AbstractObjectType<T>>
-
isSetTable
public boolean isSetTable()
- Specified by:
isSetTable
in classAbstractType<T extends AbstractObjectType<T>>
-
setTable
public void setTable(java.lang.String table)
- Specified by:
setTable
in classAbstractType<T extends AbstractObjectType<T>>
-
hasSharedTable
public boolean hasSharedTable(boolean skipAbstractTypes)
-
getObjectClassId
public int getObjectClassId()
- Specified by:
getObjectClassId
in classAbstractType<T extends AbstractObjectType<T>>
-
isSetObjectClass
public boolean isSetObjectClass()
- Specified by:
isSetObjectClass
in classAbstractType<T extends AbstractObjectType<T>>
-
setObjectClassId
public void setObjectClassId(int objectClassId)
- Specified by:
setObjectClassId
in classAbstractType<T extends AbstractObjectType<T>>
-
validate
protected void validate(SchemaMapping schemaMapping, java.lang.Object parent) throws SchemaMappingException
- Overrides:
validate
in classAbstractType<T extends AbstractObjectType<T>>
- Throws:
SchemaMappingException
-
-