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.
|
projectDevice delegate()
default Annotations annotations()
Annotatedannotations in interface Annotateddefault ProviderId providerId()
ProvidedproviderId in interface Provideddefault <B extends Behaviour> B as(java.lang.Class<B> projectionClass)
Projectableas in interface ProjectableB - type of behaviourprojectionClass - requested projection classdefault Device.Type type()
Devicedefault <B extends Behaviour> boolean is(java.lang.Class<B> projectionClass)
Projectableis in interface ProjectableB - type of behaviourprojectionClass - requested projection classdefault java.lang.String manufacturer()
Devicemanufacturer in interface Devicedefault java.lang.String hwVersion()
Devicedefault java.lang.String swVersion()
Devicedefault java.lang.String serialNumber()
DeviceserialNumber in interface Device