Class ComplexAttributeType
- java.lang.Object
-
- org.citydb.database.schema.mapping.ComplexAttributeType
-
public class ComplexAttributeType extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AbstractAttribute>
attributes
protected java.lang.String
id
protected SchemaMapping
schemaMapping
protected java.lang.String
table
-
Constructor Summary
Constructors Modifier Constructor Description protected
ComplexAttributeType()
ComplexAttributeType(SchemaMapping schemaMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(AbstractAttribute attribute)
AbstractAttribute
getAttribute(java.lang.String name, java.lang.String namespaceURI)
java.util.List<AbstractAttribute>
getAttributes()
java.lang.String
getId()
java.lang.Object
getLocalProperty(java.lang.String name)
java.lang.String
getTable()
boolean
hasLocalProperty(java.lang.String name)
boolean
isSetAttributes()
boolean
isSetId()
boolean
isSetTable()
void
setId(java.lang.String id)
void
setLocalProperty(java.lang.String name, java.lang.Object value)
void
setTable(java.lang.String table)
java.lang.Object
unsetLocalProperty(java.lang.String name)
protected void
validate(SchemaMapping schemaMapping, java.lang.Object parent)
-
-
-
Field Detail
-
attributes
protected java.util.List<AbstractAttribute> attributes
-
id
protected java.lang.String id
-
table
protected java.lang.String table
-
schemaMapping
protected SchemaMapping schemaMapping
-
-
Constructor Detail
-
ComplexAttributeType
protected ComplexAttributeType()
-
ComplexAttributeType
public ComplexAttributeType(SchemaMapping schemaMapping)
-
-
Method Detail
-
getTable
public java.lang.String getTable()
-
isSetTable
public boolean isSetTable()
-
setTable
public void setTable(java.lang.String table)
-
getAttributes
public java.util.List<AbstractAttribute> getAttributes()
-
getAttribute
public AbstractAttribute getAttribute(java.lang.String name, java.lang.String namespaceURI)
-
isSetAttributes
public boolean isSetAttributes()
-
addAttribute
public void addAttribute(AbstractAttribute attribute)
-
getId
public java.lang.String getId()
-
isSetId
public boolean isSetId()
-
setId
public void setId(java.lang.String id)
-
getLocalProperty
public java.lang.Object getLocalProperty(java.lang.String name)
-
setLocalProperty
public void setLocalProperty(java.lang.String name, java.lang.Object value)
-
hasLocalProperty
public boolean hasLocalProperty(java.lang.String name)
-
unsetLocalProperty
public java.lang.Object unsetLocalProperty(java.lang.String name)
-
validate
protected void validate(SchemaMapping schemaMapping, java.lang.Object parent) throws SchemaMappingException
- Throws:
SchemaMappingException
-
-