Package | Description |
---|---|
org.apache.sis.feature.builder |
Helper classes for creating
FeatureType instances. |
Modifier and Type | Method and Description |
---|---|
<V> AttributeTypeBuilder<V> |
FeatureTypeBuilder.addAttribute(Class<V> valueClass)
Creates a new
AttributeType builder for values of the given class. |
<V> AttributeTypeBuilder<V> |
FeatureTypeBuilder.addAttribute(DefaultAttributeType<V> template)
Creates a new
AttributeType builder initialized to the same characteristics than the given template. |
AttributeTypeBuilder<?> |
FeatureTypeBuilder.addAttribute(GeometryType type)
Creates a new attribute for geometries of the given type.
|
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setCRS(CoordinateReferenceSystem crs)
Sets the coordinate reference system that characterizes the values of this attribute.
|
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setDefaultValue(V value)
Sets the default value for the attribute.
|
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setDefinition(CharSequence definition)
Sets a concise definition of the element.
|
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setDeprecated(boolean deprecated)
Sets whether the type is deprecated.
|
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setDescription(CharSequence description)
Sets optional information beyond that required for concise definition of the element.
|
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setDesignation(CharSequence designation)
Sets a natural language designator for the element.
|
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setMaximalLength(Integer length)
Sets the maximal length that characterizes the
CharSequence values of this attribute. |
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setMaximumOccurs(int occurs)
Sets the maximum number of attribute values.
|
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setMinimumOccurs(int occurs)
Sets the minimum number of attribute values.
|
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setName(CharSequence... components)
Sets the
AttributeType name as a string in the given scope. |
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setName(CharSequence localPart)
Sets the
AttributeType name as a simple string (local name). |
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setName(GenericName name)
Sets the
AttributeType name as a generic name. |
AttributeTypeBuilder<V> |
AttributeTypeBuilder.setValidValues(V... values)
Sets an enumeration of valid values for the attribute.
|
<N> AttributeTypeBuilder<N> |
AttributeTypeBuilder.setValueClass(Class<N> type)
Sets the class of attribute values.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.