Class ComplexType
- java.lang.Object
-
- org.citydb.database.schema.mapping.AbstractPathElement
-
- org.citydb.database.schema.mapping.AbstractType<ComplexType>
-
- org.citydb.database.schema.mapping.ComplexType
-
public class ComplexType extends AbstractType<ComplexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ComplexTypeExtension
extension
protected java.lang.String
id
protected java.lang.Integer
objectClassId
protected java.lang.String
table
protected java.lang.String
transitiveTable
-
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
ComplexType()
ComplexType(java.lang.String path, AppSchema schema, SchemaMapping schemaMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathElementType
getElementType()
AbstractExtension<ComplexType>
getExtension()
java.lang.String
getId()
int
getObjectClassId()
java.lang.String
getTable()
boolean
isSetExtension()
boolean
isSetId()
boolean
isSetObjectClass()
boolean
isSetTable()
java.util.List<ComplexType>
listSubTypes(boolean skipAbstractTypes)
void
setExtension(AbstractExtension<ComplexType> extension)
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, 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
-
id
protected java.lang.String id
-
table
protected java.lang.String table
-
objectClassId
protected java.lang.Integer objectClassId
-
extension
protected ComplexTypeExtension extension
-
transitiveTable
protected java.lang.String transitiveTable
-
-
Constructor Detail
-
ComplexType
protected ComplexType()
-
ComplexType
public ComplexType(java.lang.String path, AppSchema schema, SchemaMapping schemaMapping)
-
-
Method Detail
-
getId
public java.lang.String getId()
- Specified by:
getId
in classAbstractType<ComplexType>
-
isSetId
public boolean isSetId()
- Specified by:
isSetId
in classAbstractType<ComplexType>
-
setId
public void setId(java.lang.String id)
- Specified by:
setId
in classAbstractType<ComplexType>
-
getTable
public java.lang.String getTable()
- Specified by:
getTable
in classAbstractType<ComplexType>
-
isSetTable
public boolean isSetTable()
- Specified by:
isSetTable
in classAbstractType<ComplexType>
-
setTable
public void setTable(java.lang.String table)
- Specified by:
setTable
in classAbstractType<ComplexType>
-
getObjectClassId
public int getObjectClassId()
- Specified by:
getObjectClassId
in classAbstractType<ComplexType>
-
isSetObjectClass
public boolean isSetObjectClass()
- Specified by:
isSetObjectClass
in classAbstractType<ComplexType>
-
setObjectClassId
public void setObjectClassId(int objectClassId)
- Specified by:
setObjectClassId
in classAbstractType<ComplexType>
-
getExtension
public AbstractExtension<ComplexType> getExtension()
- Specified by:
getExtension
in classAbstractType<ComplexType>
-
isSetExtension
public boolean isSetExtension()
- Specified by:
isSetExtension
in classAbstractType<ComplexType>
-
setExtension
public void setExtension(AbstractExtension<ComplexType> extension)
- Specified by:
setExtension
in classAbstractType<ComplexType>
-
listSubTypes
public java.util.List<ComplexType> listSubTypes(boolean skipAbstractTypes)
- Specified by:
listSubTypes
in classAbstractType<ComplexType>
-
getElementType
public PathElementType getElementType()
- Specified by:
getElementType
in classAbstractPathElement
-
validate
protected void validate(SchemaMapping schemaMapping, java.lang.Object parent) throws SchemaMappingException
- Overrides:
validate
in classAbstractType<ComplexType>
- Throws:
SchemaMappingException
-
-