public class ResourceModel extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DISPLAY_KEY_GATEWAY |
static String |
DISPLAY_KEY_NODE |
static String |
DISPLAY_KEY_RESOURCES_GROUP |
static String |
DISPLAY_KEY_RULE_DIFINITION |
static String |
DISPLAY_KEY_SENSOR |
static String |
DISPLAY_KEY_SENSOR_VARIABLE |
static String |
DISPLAY_KEY_TIMER |
Constructor and Description |
---|
ResourceModel(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
ResourceModel(AppProperties.RESOURCE_TYPE resourceType,
Object resource) |
Modifier and Type | Method and Description |
---|---|
AppProperties.NETWORK_TYPE |
getNetworkType() |
Object |
getResource() |
String |
getResourceDetails() |
Integer |
getResourceId() |
String |
getResourceLessDetails() |
AppProperties.RESOURCE_TYPE |
getResourceType() |
void |
setNetworkType(AppProperties.NETWORK_TYPE networkType) |
public static final String DISPLAY_KEY_GATEWAY
public static final String DISPLAY_KEY_NODE
public static final String DISPLAY_KEY_SENSOR
public static final String DISPLAY_KEY_SENSOR_VARIABLE
public static final String DISPLAY_KEY_RESOURCES_GROUP
public static final String DISPLAY_KEY_RULE_DIFINITION
public static final String DISPLAY_KEY_TIMER
public ResourceModel(AppProperties.RESOURCE_TYPE resourceType, Integer resourceId)
public ResourceModel(AppProperties.RESOURCE_TYPE resourceType, Object resource)
public AppProperties.NETWORK_TYPE getNetworkType()
public void setNetworkType(AppProperties.NETWORK_TYPE networkType)
public Object getResource()
public AppProperties.RESOURCE_TYPE getResourceType()
public Integer getResourceId()
public String getResourceDetails()
public String getResourceLessDetails()
Copyright © 2015–2019. All rights reserved.