Class AbstractProperty
- java.lang.Object
-
- org.citydb.database.schema.mapping.AbstractPathElement
-
- org.citydb.database.schema.mapping.AbstractProperty
-
- All Implemented Interfaces:
Joinable
- Direct Known Subclasses:
AbstractAttribute
,AbstractTypeProperty
,GeometryProperty
public abstract class AbstractProperty extends AbstractPathElement implements Joinable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractProperty()
AbstractProperty(java.lang.String path, AppSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getMaxOccurs()
int
getMinOccurs()
boolean
isSetMaxOccurs()
boolean
isSetMinOccurs()
void
setMaxOccurs(java.lang.Integer maxOccurs)
void
setMinOccurs(int minOccurs)
protected void
validate(SchemaMapping schemaMapping, java.lang.Object parent)
-
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
-
AbstractProperty
protected AbstractProperty()
-
AbstractProperty
public AbstractProperty(java.lang.String path, AppSchema schema)
-
-
Method Detail
-
getMinOccurs
public int getMinOccurs()
-
isSetMinOccurs
public boolean isSetMinOccurs()
-
setMinOccurs
public void setMinOccurs(int minOccurs)
-
getMaxOccurs
public java.lang.Integer getMaxOccurs()
-
isSetMaxOccurs
public boolean isSetMaxOccurs()
-
setMaxOccurs
public void setMaxOccurs(java.lang.Integer maxOccurs)
-
validate
protected void validate(SchemaMapping schemaMapping, java.lang.Object parent) throws SchemaMappingException
- Overrides:
validate
in classAbstractPathElement
- Throws:
SchemaMappingException
-
-