Uses of Class
org.apache.sis.feature.DefaultAttributeType
Packages that use DefaultAttributeType
Package
Description
Defines the structure and content of views of real-world phenomenon.
Helper classes for creating
FeatureType
instances.-
Uses of DefaultAttributeType in org.apache.sis.feature
Methods in org.apache.sis.feature that return DefaultAttributeTypeModifier and TypeMethodDescriptionstatic <V> DefaultAttributeType<V>
Features.cast
(DefaultAttributeType<?> type, Class<V> valueClass) Casts the given attribute type to the given parameterized type.AbstractAttribute.getType()
Returns information about the attribute (base Java class, domain of values, etc.).Methods in org.apache.sis.feature that return types with arguments of type DefaultAttributeTypeModifier and TypeMethodDescriptionDefaultAttributeType.characteristics()
Other attribute types that describes this attribute type.static Optional<DefaultAttributeType<?>>
Features.toAttribute
(AbstractIdentifiedType type) Returns the given type as anAttributeType
by casting if possible, or by getting the result type of an operation.Methods in org.apache.sis.feature with parameters of type DefaultAttributeTypeModifier and TypeMethodDescriptionstatic <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.Constructors in org.apache.sis.feature with parameters of type DefaultAttributeTypeModifierConstructorDescriptionprotected
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. -
Uses of DefaultAttributeType in org.apache.sis.feature.builder
Methods in org.apache.sis.feature.builder that return DefaultAttributeTypeModifier and TypeMethodDescriptionAttributeTypeBuilder.build()
Builds the attribute type from the information specified to this builder.CharacteristicTypeBuilder.build()
Builds the characteristic type from the information specified to this builder.Methods in org.apache.sis.feature.builder with parameters of type DefaultAttributeTypeModifier and TypeMethodDescription<V> AttributeTypeBuilder<V>
FeatureTypeBuilder.addAttribute
(DefaultAttributeType<V> template) Creates a newAttributeType
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.