Class AbstractTypeProperty<T extends AbstractType<T>>
- java.lang.Object
-
- org.citydb.database.schema.mapping.AbstractPathElement
-
- org.citydb.database.schema.mapping.AbstractProperty
-
- org.citydb.database.schema.mapping.AbstractTypeProperty<T>
-
- All Implemented Interfaces:
Joinable
- Direct Known Subclasses:
AbstractRefOrInlineTypeProperty
,AbstractRefTypeProperty
public abstract class AbstractTypeProperty<T extends AbstractType<T>> extends AbstractProperty
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractJoin
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
AbstractTypeProperty()
AbstractTypeProperty(java.lang.String path, AppSchema schema)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AbstractJoin
getJoin()
abstract RelationType
getRelationType()
abstract T
getType()
boolean
isSetJoin()
abstract boolean
isSetType()
void
setJoin(Join join)
void
setJoin(JoinTable join)
protected void
validate(SchemaMapping schemaMapping, java.lang.Object parent)
-
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
getElementType, getLocalProperty, getPath, getSchema, hasLocalProperty, isAvailableForCityGML, isQueryable, isSetPath, isSetQueryable, isSetSchema, matchesName, matchesName, setLocalProperty, setPath, setQueryable, setSchema, toString, unsetLocalProperty
-
-
-
-
Field Detail
-
join
protected AbstractJoin join
-
-
Constructor Detail
-
AbstractTypeProperty
protected AbstractTypeProperty()
-
AbstractTypeProperty
public AbstractTypeProperty(java.lang.String path, AppSchema schema)
-
-
Method Detail
-
getType
public abstract T getType()
-
isSetType
public abstract boolean isSetType()
-
getRelationType
public abstract RelationType getRelationType()
-
getJoin
public AbstractJoin getJoin()
-
isSetJoin
public boolean isSetJoin()
-
setJoin
public void setJoin(Join join)
-
setJoin
public void setJoin(JoinTable join)
-
validate
protected void validate(SchemaMapping schemaMapping, java.lang.Object parent) throws SchemaMappingException
- Overrides:
validate
in classAbstractProperty
- Throws:
SchemaMappingException
-
-