Device.Type
Modifier and Type | Method and Description |
---|---|
default Annotations |
annotations()
Returns the key/value annotations.
|
default <B extends Behaviour> |
as(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 String |
hwVersion()
Returns the device hardware version.
|
default DeviceId |
id()
Returns the device identifier.
|
default <B extends Behaviour> |
is(Class<B> projectionClass)
Returns true if this entity is capable of being projected as the
specified class.
|
default String |
manufacturer()
Returns the device manufacturer name.
|
default ProviderId |
providerId()
Returns the identifier of the provider which supplied the entity.
|
default String |
serialNumber()
Returns the device serial number.
|
default 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(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(Class<B> projectionClass)
Projectable
is
in interface Projectable
B
- type of behaviourprojectionClass
- requested projection classdefault String manufacturer()
Device
manufacturer
in interface Device
default String hwVersion()
Device
default String swVersion()
Device
default String serialNumber()
Device
serialNumber
in interface Device