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

Packages that use DefaultFeatureType
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.
org.apache.sis.filter
Filters features according their properties.
org.apache.sis.storage
Data store base types for retrieving and saving geospatial data in various storage formats.

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

  Methods in org.apache.sis.feature that return DefaultFeatureType
  Modifier and Type
  Method
  Description
  `static DefaultFeatureType`
  Features.`findCommonParent(Iterable<? extends DefaultFeatureType> types)`
  Finds a feature type common to all given types, or returns `null` if none is found.
  `DefaultFeatureType`
  AbstractFeature.`getType()`
  Returns information about the feature (name, characteristics, etc.).
  `final DefaultFeatureType`
  DefaultAssociationRole.`getValueType()`
  Returns the type of feature values.
  Methods in org.apache.sis.feature that return types with arguments of type DefaultFeatureType
  Modifier and Type
  Method
  Description
  `final Set<DefaultFeatureType>`
  DefaultFeatureType.`getSuperTypes()`
  Returns the direct parents of this feature type.
  Methods in org.apache.sis.feature with parameters of type DefaultFeatureType
  Modifier and Type
  Method
  Description
  `boolean`
  DefaultFeatureType.`isAssignableFrom(DefaultFeatureType type)`
  Returns `true` if this type is same or a super-type of the given type.
  Method parameters in org.apache.sis.feature with type arguments of type DefaultFeatureType
  Modifier and Type
  Method
  Description
  `static DefaultFeatureType`
  Features.`findCommonParent(Iterable<? extends DefaultFeatureType> types)`
  Finds a feature type common to all given types, or returns `null` if none is found.
  Constructors in org.apache.sis.feature with parameters of type DefaultFeatureType
  Modifier
  Constructor
  Description
  `protected`
  `AbstractFeature(DefaultFeatureType type)`
  Creates a new feature of the given type.
  ``
  `DefaultAssociationRole(Map<String,?> identification, DefaultFeatureType valueType, int minimumOccurs, int maximumOccurs)`
  Constructs an association to the given feature type.
  ``
  `DefaultFeatureType(Map<String,?> identification, boolean isAbstract, DefaultFeatureType[] superTypes, AbstractIdentifiedType... properties)`
  Constructs a feature type from the given properties.

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

  Methods in org.apache.sis.feature.builder that return DefaultFeatureType
  Modifier and Type
  Method
  Description
  `DefaultFeatureType`
  FeatureTypeBuilder.`build()`
  Builds the feature type from the information and properties specified to this builder.
  `DefaultFeatureType[]`
  FeatureTypeBuilder.`getSuperTypes()`
  Returns the direct parents of the feature type to create.
  Methods in org.apache.sis.feature.builder with parameters of type DefaultFeatureType
  Modifier and Type
  Method
  Description
  `AssociationRoleBuilder`
  FeatureTypeBuilder.`addAssociation(DefaultFeatureType type)`
  Creates a new `FeatureAssociationRole` builder for features of the given type.
  `FeatureTypeBuilder`
  FeatureTypeBuilder.`setAll(DefaultFeatureType template)`
  Sets all properties of this builder to the values of the given feature type.
  `FeatureTypeBuilder`
  FeatureTypeBuilder.`setSuperTypes(DefaultFeatureType... parents)`
  Sets the parent types (or super-type) from which to inherit properties.
  Constructors in org.apache.sis.feature.builder with parameters of type DefaultFeatureType
  Modifier
  Constructor
  Description
  ``
  `FeatureTypeBuilder(DefaultFeatureType template)`
  Creates a new builder instance using the given feature type as a template.

- ## Uses of DefaultFeatureType in org.apache.sis.filter

  Methods in org.apache.sis.filter that return DefaultFeatureType
  Modifier and Type
  Method
  Description
  `DefaultFeatureType`
  Optimization.`getFeatureType()`
  Returns the type of feature instances to be filtered, or `null` if unknown.
  Methods in org.apache.sis.filter with parameters of type DefaultFeatureType
  Modifier and Type
  Method
  Description
  `void`
  Optimization.`setFeatureType(DefaultFeatureType type)`
  Sets the type of feature instances to be filtered.

- ## Uses of DefaultFeatureType in org.apache.sis.storage

  Methods in org.apache.sis.storage that return DefaultFeatureType
  Modifier and Type
  Method
  Description
  `DefaultFeatureType`
  FeatureSet.`getType()`
  Returns a description of properties that are common to all features in this dataset.
  Methods in org.apache.sis.storage with parameters of type DefaultFeatureType
  Modifier and Type
  Method
  Description
  `void`
  WritableFeatureSet.`updateType(DefaultFeatureType newType)`
  Declares or redefines the type of all feature instances in this feature set.