Class ComplexAttribute
- java.lang.Object
-
- org.citydb.database.schema.mapping.AbstractPathElement
-
- org.citydb.database.schema.mapping.AbstractProperty
-
- org.citydb.database.schema.mapping.AbstractAttribute
-
- org.citydb.database.schema.mapping.ComplexAttribute
-
- All Implemented Interfaces:
Joinable
- Direct Known Subclasses:
InjectedComplexAttribute
public class ComplexAttribute extends AbstractAttribute
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AbstractAttribute>
attributes
protected ComplexAttributeType
inlineType
protected AbstractJoin
join
protected ComplexAttributeType
refType
-
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
ComplexAttribute()
ComplexAttribute(java.lang.String path, AppSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathElementType
getElementType()
AbstractJoin
getJoin()
ComplexAttributeType
getType()
boolean
isSetJoin()
boolean
isSetType()
void
setInlineType(ComplexAttributeType inlineType)
void
setJoin(Join join)
void
setJoin(ReverseJoin join)
void
setRefType(ComplexAttributeType refType)
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
getLocalProperty, getPath, getSchema, hasLocalProperty, isAvailableForCityGML, isQueryable, isSetPath, isSetQueryable, isSetSchema, matchesName, matchesName, setLocalProperty, setPath, setQueryable, setSchema, toString, unsetLocalProperty
-
-
-
-
Field Detail
-
join
protected AbstractJoin join
-
refType
protected ComplexAttributeType refType
-
attributes
protected java.util.List<AbstractAttribute> attributes
-
inlineType
protected ComplexAttributeType inlineType
-
-
Constructor Detail
-
ComplexAttribute
protected ComplexAttribute()
-
ComplexAttribute
public ComplexAttribute(java.lang.String path, AppSchema schema)
-
-
Method Detail
-
getJoin
public AbstractJoin getJoin()
-
isSetJoin
public boolean isSetJoin()
-
setJoin
public void setJoin(Join join)
-
setJoin
public void setJoin(ReverseJoin join)
-
getType
public ComplexAttributeType getType()
-
isSetType
public boolean isSetType()
-
setRefType
public void setRefType(ComplexAttributeType refType)
-
setInlineType
public void setInlineType(ComplexAttributeType inlineType)
-
getElementType
public PathElementType getElementType()
- Specified by:
getElementType
in classAbstractPathElement
-
validate
protected void validate(SchemaMapping schemaMapping, java.lang.Object parent) throws SchemaMappingException
- Overrides:
validate
in classAbstractProperty
- Throws:
SchemaMappingException
-
-