Package | Description |
---|---|
org.apache.sis.feature |
Defines the structure and content of views of real-world phenomenon.
|
org.apache.sis.feature.builder |
Helper classes for creating
FeatureType instances. |
Modifier and Type | Method and Description |
---|---|
static <V> DefaultAttributeType<V> |
Features.cast(DefaultAttributeType<?> type,
Class<V> valueClass)
Casts the given attribute type to the given parameterized type.
|
DefaultAttributeType<V> |
AbstractAttribute.getType()
Returns information about the attribute (base Java class, domain of values, etc.
|
Modifier and Type | Method and Description |
---|---|
Map<String,DefaultAttributeType<?>> |
DefaultAttributeType.characteristics()
Other attribute types that describes this attribute type.
|
Modifier and Type | Method and Description |
---|---|
static <V> DefaultAttributeType<V> |
Features.cast(DefaultAttributeType<?> type,
Class<V> valueClass)
Casts the given attribute type to the given parameterized type.
|
static <V> AbstractAttribute<V> |
AbstractAttribute.create(DefaultAttributeType<V> type)
Creates a new attribute of the given type initialized to the
default value.
|
Constructor and Description |
---|
AbstractAttribute(DefaultAttributeType<V> type)
Creates a new attribute of the given type.
|
DefaultAttributeType(Map<String,?> identification,
Class<V> valueClass,
int minimumOccurs,
int maximumOccurs,
V defaultValue,
DefaultAttributeType<?>... characterizedBy)
Constructs an attribute type from the given properties.
|
Modifier and Type | Method and Description |
---|---|
DefaultAttributeType<V> |
CharacteristicTypeBuilder.build()
Builds the characteristic type from the information specified to this builder.
|
DefaultAttributeType<V> |
AttributeTypeBuilder.build()
Builds the attribute type from the information specified to this builder.
|
Modifier and Type | Method and Description |
---|---|
<V> AttributeTypeBuilder<V> |
FeatureTypeBuilder.addAttribute(DefaultAttributeType<V> template)
Creates a new
AttributeType builder initialized to the same characteristics than the given template. |
<C> CharacteristicTypeBuilder<C> |
AttributeTypeBuilder.addCharacteristic(DefaultAttributeType<C> template)
Adds another attribute type that describes this attribute type, using an existing one as a template.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.