Package org.geotools.appschema.feature
Class AppSchemaAttributeBuilder
Object
AttributeBuilder
AppSchemaAttributeBuilder
Builder for attributes.
- Author:
- Justin Deoliveira (The Open Planning Project)
-
Field Summary
Fields inherited from class AttributeBuilder
ANYTYPE_TYPE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AttributeBuilder
add, add, add, add, add, add, addAnyTypeValue, addComplexAnyTypeAttribute, associate, associate, associate, associationDescriptor, attributeDescriptor, build, build, buildSimple, create, createComplexAttribute, getCRS, getCRS, getDefaultGeometry, getDescriptor, getFeatureFactory, getNamespaceURI, getProperties, getType, init, init, properties, setCRS, setDefaultGeometry, setDescriptor, setFeatureFactory, setNamespaceURI, setType
-
Constructor Details
-
AppSchemaAttributeBuilder
-
-
Method Details
-
add
Adds an attribute to the complex attribute being built overriding the type of the declared attribute descriptor by a subtype of it.
This method uses the type supplied in
AttributeBuilder.setType(AttributeType)
in order to determine the attribute type.- Parameters:
id
- the attribtue idvalue
- The value of the attribute.name
- The name of the attribute.type
- the actual type of the attribute, which might be the same as the declared type for the given AttributeDescriptor or a derived type.
-