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.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 |
---|---|
MeasurementType |
WattDepotInterface.getMeasurementType(String id) |
Modifier and Type | Method and Description |
---|---|
void |
WattDepotInterface.deleteMeasurementType(MeasurementType type)
Deletes the given MeasurementType.
|
void |
WattDepotInterface.putMeasurementType(MeasurementType type)
Stores the given MeasurementType in the WattDepot Server.
|
void |
WattDepotInterface.updateMeasurementType(MeasurementType type)
Updates the given MeasurementType in the WattDepot Server.
|
Modifier and Type | Method and Description |
---|---|
MeasurementType |
WattDepotClient.getMeasurementType(String id) |
Modifier and Type | Method and Description |
---|---|
void |
WattDepotClient.deleteMeasurementType(MeasurementType type) |
void |
WattDepotClient.putMeasurementType(MeasurementType type) |
void |
WattDepotClient.updateMeasurementType(MeasurementType type) |
Modifier and Type | Field and Description |
---|---|
protected MeasurementType |
Depository.measurementType
Type of measurements stored in the Depository.
|
Modifier and Type | Method and Description |
---|---|
MeasurementType |
IntervalValue.getMeasurementType() |
MeasurementType |
InterpolatedValue.getMeasurementType() |
MeasurementType |
Depository.getMeasurementType() |
MeasurementType |
MeasurementRateSummary.getType() |
MeasurementType |
XYInterpolatedValue.getXMeasurementType() |
MeasurementType |
XYInterpolatedValue.getYMeasurementType() |
Modifier and Type | Method and Description |
---|---|
ArrayList<MeasurementType> |
MeasurementTypeList.getMeasurementTypes() |
Modifier and Type | Method and Description |
---|---|
void |
IntervalValue.setMeasurementType(MeasurementType measurementType) |
void |
InterpolatedValue.setMeasurementType(MeasurementType measurementType) |
void |
Depository.setMeasurementType(MeasurementType measurementType) |
void |
MeasurementRateSummary.setType(MeasurementType type) |
void |
XYInterpolatedValue.setXMeasurementType(MeasurementType xMeasurementType)
Sets the X MeasurementType.
|
void |
XYInterpolatedValue.setYMeasurementType(MeasurementType yMeasurementType)
Sets the Y MeasurementType.
|
Modifier and Type | Method and Description |
---|---|
void |
MeasurementTypeList.setMeasurementTypes(ArrayList<MeasurementType> measurements) |
Constructor and Description |
---|
Depository(String name,
MeasurementType measurementType,
String ownerId)
Create a new Depository.
|
Depository(String slug,
String name,
MeasurementType measurementType,
String orgId)
Create a new Depository.
|
InterpolatedValue(String sensorId,
Double value,
MeasurementType measurementType,
Date date)
Creates a new InterpolatedValue.
|
InterpolatedValue(String sensorId,
Double value,
MeasurementType measurementType,
Date start,
Date end)
Creates a new InterpolatedValue.
|
IntervalValue(String sensorId,
Double value,
MeasurementType measurementType,
Date start,
Date end)
Creates a new IntervalValue.
|
XYInterpolatedValue(String xSensorId,
Double xValue,
MeasurementType xMeasurementType,
Date startDate,
Date endDate,
String ySensorId,
Double yValue,
MeasurementType yMeasurementType)
Creates a new XYInterpolatedValue.
|
XYInterpolatedValue(String xSensorId,
Double xValue,
MeasurementType xMeasurementType,
Date date,
String ySensorId,
Double yValue,
MeasurementType yMeasurementType)
Creates a new XYInterpolatedValue.
|
Modifier and Type | Method and Description |
---|---|
MeasurementType |
MeasurementTypeResource.retrieve()
Defines GET /wattdepot/measurementtype/{measurementtype_id} API call.
|
Modifier and Type | Method and Description |
---|---|
void |
MeasurementTypePutResource.store(MeasurementType measurementType)
Defines the PUT /wattdepot/measurementtype/ API call.
|
void |
MeasurementTypeResource.update(MeasurementType measurementType)
Defines the POST /wattdepot/measurementtype/{measurementtype_id} API call.
|
Modifier and Type | Method and Description |
---|---|
abstract MeasurementType |
WattDepotPersistence.defineMeasurementType(String id,
String name,
String units)
Defines a new MeasurementType in WattDepot.
|
abstract MeasurementType |
WattDepotPersistence.getMeasurementType(String id,
boolean check) |
abstract MeasurementType |
WattDepotPersistence.updateMeasurementType(MeasurementType type)
Updates the given measurement type in the persistent store.
|
Modifier and Type | Method and Description |
---|---|
abstract List<MeasurementType> |
WattDepotPersistence.getMeasurementTypes() |
Modifier and Type | Method and Description |
---|---|
abstract Depository |
WattDepotPersistence.defineDepository(String id,
String name,
MeasurementType measurementType,
String orgId)
Defines a new WattDepository in WattDepot.
|
abstract MeasurementType |
WattDepotPersistence.updateMeasurementType(MeasurementType type)
Updates the given measurement type in the persistent store.
|
Modifier and Type | Method and Description |
---|---|
MeasurementType |
WattDepotPersistenceImpl.defineMeasurementType(String id,
String name,
String units) |
MeasurementType |
WattDepotPersistenceImpl.getMeasurementType(String id,
boolean check) |
MeasurementType |
MeasurementTypeImpl.toMeasurementType() |
MeasurementType |
WattDepotPersistenceImpl.updateMeasurementType(MeasurementType type) |
Modifier and Type | Method and Description |
---|---|
List<MeasurementType> |
WattDepotPersistenceImpl.getMeasurementTypes() |
Modifier and Type | Method and Description |
---|---|
Depository |
WattDepotPersistenceImpl.defineDepository(String id,
String name,
MeasurementType measurementType,
String orgId) |
MeasurementType |
WattDepotPersistenceImpl.updateMeasurementType(MeasurementType type) |
Modifier and Type | Method and Description |
---|---|
MeasurementType |
MeasurementTypeServerResource.retrieve() |
Modifier and Type | Method and Description |
---|---|
void |
MeasurementTypePutServerResource.store(MeasurementType measurementType) |
void |
MeasurementTypeServerResource.update(MeasurementType measurementType) |
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.