com.cobweb.io.meta.SensorHasPayload Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cobweb Show documentation
Show all versions of cobweb Show documentation
A Social Network for Internet of Things
The newest version!
package com.cobweb.io.meta;
import com.tinkerpop.blueprints.Vertex;
/**
* The Class SensorHasPayload.
* @author YasithLokuge
*/
public class SensorHasPayload {
/** The sensor. */
private Vertex sensor;
/** The payload. */
private Vertex payload;
/**
* Gets the sensor.
*
* @return the sensor
*/
public Vertex getSensor() {
return sensor;
}
/**
* Sets the sensor.
*
* @param sensor the new sensor
*/
public void setSensor(Vertex sensor) {
this.sensor = sensor;
}
/**
* Gets the payload.
*
* @return the payload
*/
public Vertex getPayload() {
return payload;
}
/**
* Sets the payload.
*
* @param payload the new payload
*/
public void setPayload(Vertex payload) {
this.payload = payload;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy