public static class Identifier.SourceIdentifier extends Identifier
StorageContentMetadata.Identifier.SerializedId, Identifier.SourceIdentifier, Identifier.TriggerIdentifierattributeId, capabilityId, deviceNodeId, networkId, resourceEui, ruleId, sceneId, zoneId| Constructor and Description |
|---|
SourceIdentifier(Identifier id) |
SourceIdentifier(java.lang.String networkId,
long deviceNodeId,
java.lang.String resourceEui) |
SourceIdentifier(java.lang.String networkId,
long deviceNodeId,
java.lang.String resourceEui,
int capabilityId,
int attributeId) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Rule> |
getRule()
A generic method to fetch rule for the identifier instance.
|
<T extends Scene> |
getScene()
A generic method to fetch scene for the identifier instance.
|
<T extends Zone> |
getZone()
A generic method to fetch zone for the identifier instance.
|
equals, fromJson, fromJson, fromJsonTree, fromJsonTree, fromSerializable, getAttribute, getCapability, getDevice, getIdentifier, getIdentifier, getIdentifier, getIdentifier, getIdentifier, getIdentifier, getIdentifier, getIdentifier, getNetwork, getResource, hashCode, toJson, toJson, toJsonTree, toJsonTree, toSerializable, toStringpublic SourceIdentifier(Identifier id)
public SourceIdentifier(java.lang.String networkId,
long deviceNodeId,
java.lang.String resourceEui)
public SourceIdentifier(java.lang.String networkId,
long deviceNodeId,
java.lang.String resourceEui,
int capabilityId,
int attributeId)
public <T extends Zone> T getZone()
IdentifiergetZone in class IdentifierT - any immediate subclass of Zone classpublic <T extends Scene> T getScene()
IdentifiergetScene in class IdentifierT - any immediate subclass of Scene classpublic <T extends Rule> T getRule()
IdentifiergetRule in class IdentifierT - any immediate subclass of Rule class