# Uses of Class
org.apache.sis.feature.DefaultAttributeType

Packages that use DefaultAttributeType
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.

- ## Uses of DefaultAttributeType in org.apache.sis.feature

  Methods in org.apache.sis.feature that return DefaultAttributeType
  Modifier and Type
  Method
  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.).
  Methods in org.apache.sis.feature that return types with arguments of type DefaultAttributeType
  Modifier and Type
  Method
  Description
  `Map<String, DefaultAttributeType<?>>`
  DefaultAttributeType.`characteristics()`
  Other attribute types that describes this attribute type.
  `static Optional<DefaultAttributeType<?>>`
  Features.`toAttribute(AbstractIdentifiedType type)`
  Returns the given type as an `AttributeType` by casting if possible, or by getting the result type of an operation.
  Methods in org.apache.sis.feature with parameters of type DefaultAttributeType
  Modifier and Type
  Method
  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.
  `static <V> AbstractOperation`
  FeatureOperations.`expression(Map<String,?> identification, Expression<? super AbstractFeature, ?> expression, DefaultAttributeType<V> resultType)`
  Creates an operation which delegates the computation to a given expression producing values of unknown type.
  `static <V> AbstractOperation`
  FeatureOperations.`function(Map<String,?> identification, Function<? super AbstractFeature, ? extends V> expression, DefaultAttributeType<? super V> resultType)`
  Creates an operation which delegates the computation to a given expression.
  Constructors in org.apache.sis.feature with parameters of type DefaultAttributeType
  Modifier
  Constructor
  Description
  `protected`
  `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.

- ## Uses of DefaultAttributeType in org.apache.sis.feature.builder

  Methods in org.apache.sis.feature.builder that return DefaultAttributeType
  Modifier and Type
  Method
  Description
  `DefaultAttributeType<V>`
  AttributeTypeBuilder.`build()`
  Builds the attribute type from the information specified to this builder.
  `DefaultAttributeType<V>`
  CharacteristicTypeBuilder.`build()`
  Builds the characteristic type from the information specified to this builder.
  Methods in org.apache.sis.feature.builder with parameters of type DefaultAttributeType
  Modifier and Type
  Method
  Description
  `<V> AttributeTypeBuilder<V>`
  FeatureTypeBuilder.`addAttribute(DefaultAttributeType<V> template)`
  Creates a new `AttributeType` builder initialized to the same characteristics as 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.