public class AppSchemaAttributeBuilder extends AttributeBuilder
ANYTYPE_TYPE| Constructor and Description |
|---|
AppSchemaAttributeBuilder(FeatureFactory attributeFactory) |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
add(String id,
Object value,
Name name,
AttributeType type)
Adds an attribute to the complex attribute being built overriding the type of the declared
attribute descriptor by a subtype of it.
|
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, setTypepublic AppSchemaAttributeBuilder(FeatureFactory attributeFactory)
public Attribute add(String id, Object value, Name name, AttributeType type)
This method uses the type supplied in AttributeBuilder.setType(AttributeType) in order to
determine the attribute type.
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.Copyright © 1996–2019 Geotools. All rights reserved.