Class ComplexProperty
- java.lang.Object
-
- All Implemented Interfaces:
Joinable
- Direct Known Subclasses:
InjectedComplexProperty
public class ComplexProperty extends AbstractRefOrInlineTypeProperty<ComplexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ComplexType
inlineType
protected ComplexType
refType
-
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
ComplexProperty()
ComplexProperty(java.lang.String path, AppSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathElementType
getElementType()
ComplexType
getType()
boolean
isSetType()
void
setInlineType(ComplexType inlineType)
void
setRefType(ComplexType refType)
protected void
validate(SchemaMapping schemaMapping, java.lang.Object parent)
-
Methods inherited from class org.citydb.database.schema.mapping.AbstractRefOrInlineTypeProperty
getRelationType
-
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
-
refType
protected ComplexType refType
-
inlineType
protected ComplexType inlineType
-
-
Constructor Detail
-
ComplexProperty
protected ComplexProperty()
-
ComplexProperty
public ComplexProperty(java.lang.String path, AppSchema schema)
-
-
Method Detail
-
getType
public ComplexType getType()
- Specified by:
getType
in classAbstractTypeProperty<ComplexType>
-
isSetType
public boolean isSetType()
- Specified by:
isSetType
in classAbstractTypeProperty<ComplexType>
-
setRefType
public void setRefType(ComplexType refType)
- Specified by:
setRefType
in classAbstractRefOrInlineTypeProperty<ComplexType>
-
setInlineType
public void setInlineType(ComplexType inlineType)
- Specified by:
setInlineType
in classAbstractRefOrInlineTypeProperty<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 classAbstractTypeProperty<ComplexType>
- Throws:
SchemaMappingException
-
-