Device.Type
Modifier and Type | Method and Description |
---|---|
default Annotations |
annotations()
Returns the key/value annotations.
|
default <B extends Behaviour> |
as(java.lang.Class<B> projectionClass)
Returns the specified projection of this entity if such projection
is supported.
|
default ChassisId |
chassisId()
Returns the device chassis id.
|
Device |
delegate() |
default java.lang.String |
hwVersion()
Returns the device hardware version.
|
default DeviceId |
id()
Returns the device identifier.
|
default <B extends Behaviour> |
is(java.lang.Class<B> projectionClass)
Returns true if this entity is capable of being projected as the
specified class.
|
default java.lang.String |
manufacturer()
Returns the device manufacturer name.
|
default ProviderId |
providerId()
Returns the identifier of the provider which supplied the entity.
|
default java.lang.String |
serialNumber()
Returns the device serial number.
|
default java.lang.String |
swVersion()
Returns the device software version.
|
default Device.Type |
type()
Returns the type of the infrastructure device.
|
project
Device delegate()
default Annotations annotations()
Annotated
annotations
in interface Annotated
default ProviderId providerId()
Provided
providerId
in interface Provided
default <B extends Behaviour> B as(java.lang.Class<B> projectionClass)
Projectable
as
in interface Projectable
B
- type of behaviourprojectionClass
- requested projection classdefault Device.Type type()
Device
default <B extends Behaviour> boolean is(java.lang.Class<B> projectionClass)
Projectable
is
in interface Projectable
B
- type of behaviourprojectionClass
- requested projection classdefault java.lang.String manufacturer()
Device
manufacturer
in interface Device
default java.lang.String hwVersion()
Device
default java.lang.String swVersion()
Device
default java.lang.String serialNumber()
Device
serialNumber
in interface Device