Interface ForwardingDevice

    • Method Detail

      • annotations

        default Annotations annotations()
        Description copied from interface: Annotated
        Returns the key/value annotations.
        Specified by:
        annotations in interface Annotated
        Returns:
        key/value annotations
      • providerId

        default ProviderId providerId()
        Description copied from interface: Provided
        Returns the identifier of the provider which supplied the entity.
        Specified by:
        providerId in interface Provided
        Returns:
        provider identification
      • as

        default <B extends Behaviour> B as​(Class<B> projectionClass)
        Description copied from interface: Projectable
        Returns the specified projection of this entity if such projection is supported.
        Specified by:
        as in interface Projectable
        Type Parameters:
        B - type of behaviour
        Parameters:
        projectionClass - requested projection class
        Returns:
        projection instance
      • id

        default DeviceId id()
        Description copied from interface: Device
        Returns the device identifier.
        Specified by:
        id in interface Device
        Specified by:
        id in interface Element
        Returns:
        device id
      • type

        default Device.Type type()
        Description copied from interface: Device
        Returns the type of the infrastructure device.
        Specified by:
        type in interface Device
        Returns:
        type of the device
      • is

        default <B extends Behaviour> boolean is​(Class<B> projectionClass)
        Description copied from interface: Projectable
        Returns true if this entity is capable of being projected as the specified class.
        Specified by:
        is in interface Projectable
        Type Parameters:
        B - type of behaviour
        Parameters:
        projectionClass - requested projection class
        Returns:
        true if the requested projection is supported
      • manufacturer

        default String manufacturer()
        Description copied from interface: Device
        Returns the device manufacturer name.
        Specified by:
        manufacturer in interface Device
        Returns:
        manufacturer name
      • hwVersion

        default String hwVersion()
        Description copied from interface: Device
        Returns the device hardware version.
        Specified by:
        hwVersion in interface Device
        Returns:
        hardware version
      • swVersion

        default String swVersion()
        Description copied from interface: Device
        Returns the device software version.
        Specified by:
        swVersion in interface Device
        Returns:
        software version
      • serialNumber

        default String serialNumber()
        Description copied from interface: Device
        Returns the device serial number.
        Specified by:
        serialNumber in interface Device
        Returns:
        serial number
      • chassisId

        default ChassisId chassisId()
        Description copied from interface: Device
        Returns the device chassis id.
        Specified by:
        chassisId in interface Device
        Returns:
        chassis id