# 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.
org.apache.sis.storage.aggregate
Resources which are aggregations or concatenations of other resources.

- ## 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
  `static List<String>`
  Features.`getPropertyNames(DefaultFeatureType feature)`
  Returns the name of all properties (including inherited properties) of the given feature type.
  `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()`
  Deprecated, for removal: This API element is subject to removal in a future version.
  Replaced by `Optimization.getFinalFeatureTypes()`.
  Methods in org.apache.sis.filter that return types with arguments of type DefaultFeatureType
  Modifier and Type
  Method
  Description
  `Set<DefaultFeatureType>`
  Optimization.`getFinalFeatureTypes()`
  Returns the exhaustive set of the types of all feature instances that the filters and expressions may see.
  Methods in org.apache.sis.filter with parameters of type DefaultFeatureType
  Modifier and Type
  Method
  Description
  `void`
  Optimization.`setFeatureType(DefaultFeatureType type)`
  Deprecated, for removal: This API element is subject to removal in a future version.
  Replaced by `Optimization.setFinalFeatureTypes(Collection)`.
  `final void`
  Optimization.`setFinalFeatureType(DefaultFeatureType type)`
  Specifies the single type of all feature instances that the filters and expressions may see.
  Method parameters in org.apache.sis.filter with type arguments of type DefaultFeatureType
  Modifier and Type
  Method
  Description
  `void`
  Optimization.`setFinalFeatureTypes(Collection<? extends DefaultFeatureType> types)`
  Specifies the exhaustive set of the types of all feature instances that the filters and expressions may see.

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

  Fields in org.apache.sis.storage declared as DefaultFeatureType
  Modifier and Type
  Field
  Description
  `protected final DefaultFeatureType`
  MemoryFeatureSet.`baseType`
  The base type of all feature instances that the collection can contain.
  Fields in org.apache.sis.storage with type parameters of type DefaultFeatureType
  Modifier and Type
  Field
  Description
  `protected final Set<DefaultFeatureType>`
  MemoryFeatureSet.`allTypes`
  The types, including sub-types, of all feature instances found in the collection.
  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.
  `DefaultFeatureType`
  MemoryFeatureSet.`getType()`
  Returns the type common to all feature instances in this set.
  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.
  Constructors in org.apache.sis.storage with parameters of type DefaultFeatureType
  Modifier
  Constructor
  Description
  ``
  `MemoryFeatureSet(Resource parent, DefaultFeatureType baseType, Collection<AbstractFeature> features)`
  Creates a new set of feature instances stored in memory with specified parent resource and base type.

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

  Methods in org.apache.sis.storage.aggregate that return DefaultFeatureType
  Modifier and Type
  Method
  Description
  `DefaultFeatureType`
  ConcatenatedFeatureSet.`getType()`
  Returns the most specific feature type common to all feature sets given to the constructor.
  `DefaultFeatureType`
  JoinFeatureSet.`getType()`
  Returns a description of properties that are common to all features in this dataset.