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

Packages that use DefaultAssociationRole
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 DefaultAssociationRole in org.apache.sis.feature

  Methods in org.apache.sis.feature that return DefaultAssociationRole
  Modifier and Type
  Method
  Description
  `DefaultAssociationRole`
  AbstractAssociation.`getRole()`
  Returns information about the association.
  Methods in org.apache.sis.feature that return types with arguments of type DefaultAssociationRole
  Modifier and Type
  Method
  Description
  `static Optional<DefaultAssociationRole>`
  Features.`toAssociation(AbstractIdentifiedType type)`
  Returns the given type as a `FeatureAssociationRole` by casting if possible, or by getting the result type of an operation.
  Methods in org.apache.sis.feature with parameters of type DefaultAssociationRole
  Modifier and Type
  Method
  Description
  `static AbstractAssociation`
  AbstractAssociation.`create(DefaultAssociationRole role)`
  Creates a new association of the given role.
  Constructors in org.apache.sis.feature with parameters of type DefaultAssociationRole
  Modifier
  Constructor
  Description
  `protected`
  `AbstractAssociation(DefaultAssociationRole role)`
  Creates a new association of the given role.

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

  Methods in org.apache.sis.feature.builder that return DefaultAssociationRole
  Modifier and Type
  Method
  Description
  `DefaultAssociationRole`
  AssociationRoleBuilder.`build()`
  Builds the association role from the information specified to this builder.
  Methods in org.apache.sis.feature.builder with parameters of type DefaultAssociationRole
  Modifier and Type
  Method
  Description
  `AssociationRoleBuilder`
  FeatureTypeBuilder.`addAssociation(DefaultAssociationRole template)`
  Creates a new `FeatureAssociationRole` builder initialized to the same characteristics than the given template.