Package com.io7m.cedarbridge.schema.compiled

# Interface CBPackageType

All Known Implementing Classes:
  `CBPackage`

public interface CBPackageType
A compiled package.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<CBPackageType>`
  `imports()`
  `String`
  `name()`
  `Map<String,CBProtocolDeclarationType>`
  `protocols()`
  `default List<CBProtocolVersionDeclarationType>`
  `protocolVersionsForType(CBTypeDeclarationType type)`
  Find all protocol versions to which the given type belongs.
  `Map<String,CBTypeDeclarationType>`
  `types()`

- ## Method Details

  - ### name

    String name()
    Returns:
      The full name of the package, such as `com.io7m.cedarbridge`

  - ### imports

    List<CBPackageType> imports()
    Returns:
      The packages imported by this package

  - ### types

    Map<String,CBTypeDeclarationType> types()
    Returns:
      The types declared within this package

  - ### protocols

    Map<String,CBProtocolDeclarationType> protocols()
    Returns:
      The protocols declared within this package

  - ### protocolVersionsForType

    default List<CBProtocolVersionDeclarationType> protocolVersionsForType(CBTypeDeclarationType type)
    Find all protocol versions to which the given type belongs.
    Parameters:
      `type` - The type
    Returns:
      The protocol versions