Interface FeatureTypes.Repository

All Superinterfaces:
Annotatable, Changeable
All Known Implementing Classes:
FeatureTypes.RepositoryImpl
Enclosing class:
FeatureTypes

public static interface FeatureTypes.Repository extends Annotatable
A named collection of Types.
Since:
1.3
Author:
Matthew Pocock
  • Method Details

    • getName

      The name of this repository.

      This will be the ${repository} component of any URIs of types defined here.

      Returns:
      the name of the repository
    • getTypes

      Get a set of all type names defined in this repository.
      Returns:
      a Set of Type names as Strings
    • getType

      Find the type for a name.
      Parameters:
      name - the name of the Type
      Returns:
      the Type of that name
      Throws:
      NoSuchElementException - if that type can not be found