Package | Description |
---|---|
org.wattdepot.client |
Various WattDepot clients.
|
org.wattdepot.client.http.api |
Restlet implementations of WattDepot clients for the HTTP API.
|
org.wattdepot.common.domainmodel |
WattDepot models the domain of measurement collection, storage, and analysis through the following conceptual entities.
|
org.wattdepot.common.http.api |
Provides classes and interfaces relevant to the REST/HTTP contract between the clients and
the server.
|
org.wattdepot.common.util |
Utility classes for WattDepot.
|
org.wattdepot.server |
The WattDepot Server classes.
|
org.wattdepot.server.depository.impl.hibernate |
Provides the Hibernate
http://www.hibernate.org
implementation of WattDepot persistence.
|
org.wattdepot.server.http.api |
Provides HTTP API for WattDepot using the Restlet framework
http://www.restlet.org
|
Modifier and Type | Method and Description |
---|---|
SensorModel |
WattDepotInterface.getSensorModel(String id)
Retrieves the SensorModel with the given id from the WattDepot Server.
|
Modifier and Type | Method and Description |
---|---|
void |
WattDepotInterface.deleteSensorModel(SensorModel model)
Deletes the given SensorModel.
|
void |
WattDepotInterface.putSensorModel(SensorModel model)
Stores the given SensorModel in the WattDepot Server.
|
void |
WattDepotInterface.updateSensorModel(SensorModel model)
Updates the given SensorModel in the WattDepot Server.
|
Modifier and Type | Method and Description |
---|---|
SensorModel |
WattDepotClient.getSensorModel(String id) |
Modifier and Type | Method and Description |
---|---|
void |
WattDepotClient.deleteSensorModel(SensorModel model) |
void |
WattDepotClient.putSensorModel(SensorModel model) |
void |
WattDepotClient.updateSensorModel(SensorModel model) |
Modifier and Type | Method and Description |
---|---|
ArrayList<SensorModel> |
SensorModelList.getModels() |
Modifier and Type | Method and Description |
---|---|
void |
SensorModelList.setModels(ArrayList<SensorModel> models) |
Modifier and Type | Method and Description |
---|---|
SensorModel |
SensorModelResource.retrieve()
Defines GET /wattdepot/sensormodel/{sensormodel_id} API call.
|
Modifier and Type | Method and Description |
---|---|
void |
SensorModelPutResource.store(SensorModel sensormodel)
Defines the PUT /wattdepot/sensormodel/ API call.
|
void |
SensorModelResource.update(SensorModel sensormodel)
Defines the PUT /wattdepot/sensormodel/ API call.
|
Modifier and Type | Field and Description |
---|---|
static Map<String,SensorModel> |
SensorModelHelper.models
Holds the default SensorModels.
|
Modifier and Type | Method and Description |
---|---|
abstract SensorModel |
WattDepotPersistence.defineSensorModel(String id,
String name,
String protocol,
String type,
String version)
Defines a new SensorModel in WattDepot.
|
abstract SensorModel |
WattDepotPersistence.getSensorModel(String id,
boolean check) |
abstract SensorModel |
WattDepotPersistence.updateSensorModel(SensorModel model)
Updates the given sensor model in the persistent store.
|
Modifier and Type | Method and Description |
---|---|
abstract List<SensorModel> |
WattDepotPersistence.getSensorModels() |
Modifier and Type | Method and Description |
---|---|
abstract SensorModel |
WattDepotPersistence.updateSensorModel(SensorModel model)
Updates the given sensor model in the persistent store.
|
Modifier and Type | Method and Description |
---|---|
SensorModel |
WattDepotPersistenceImpl.defineSensorModel(String id,
String name,
String protocol,
String type,
String version) |
SensorModel |
WattDepotPersistenceImpl.getSensorModel(String id,
boolean check) |
SensorModel |
SensorModelImpl.toSensorModel() |
SensorModel |
WattDepotPersistenceImpl.updateSensorModel(SensorModel model) |
Modifier and Type | Method and Description |
---|---|
List<SensorModel> |
WattDepotPersistenceImpl.getSensorModels() |
Modifier and Type | Method and Description |
---|---|
SensorModel |
WattDepotPersistenceImpl.updateSensorModel(SensorModel model) |
Modifier and Type | Method and Description |
---|---|
SensorModel |
SensorModelServerResource.retrieve() |
Modifier and Type | Method and Description |
---|---|
void |
SensorModelPutServerResource.store(SensorModel sensormodel) |
void |
SensorModelServerResource.update(SensorModel sensormodel) |
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.