com.io7m.smfj.core

## Interface SMFAttributeType

- All Known Implementing Classes:
    SMFAttribute

      public interface SMFAttributeType

  An attribute.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `checkPreconditions()` Check preconditions for the type.
    `int` | `componentCount()`
    `int` | `componentSizeBits()`
    `default int` | `componentSizeOctets()`
    `SMFComponentType` | `componentType()`
    `SMFAttributeName` | `name()`
    `default int` | `sizeOctets()`

- - ### Method Detail

    - #### name

          SMFAttributeName name()

      Returns:
        The name of the attribute

    - #### componentType

          SMFComponentType componentType()

      Returns:
        The kind of components that make up the attribute

    - #### componentCount

          int componentCount()

      Returns:
        The number of components in the attribute

    - #### componentSizeBits

          int componentSizeBits()

      Returns:
        The size of a single component in bits

    - #### componentSizeOctets

          default int componentSizeOctets()

      Returns:
        The size of a single component in octets

    - #### sizeOctets

          default int sizeOctets()

      Returns:
        The size of the attribute in octets

    - #### checkPreconditions

          default void checkPreconditions()

      Check preconditions for the type.

Copyright © 2017 <code@io7m.com> http://io7m.com