@Entity public class SensorImpl extends Object
Constructor and Description |
---|
SensorImpl() |
SensorImpl(String id,
String name,
String uri,
SensorModelImpl model,
Set<PropertyImpl> properties,
OrganizationImpl org) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId() |
SensorModelImpl |
getModel() |
String |
getName() |
OrganizationImpl |
getOrg() |
Long |
getPk() |
Set<PropertyImpl> |
getProperties() |
String |
getUri() |
int |
hashCode() |
void |
setId(String id) |
void |
setModel(SensorModelImpl model) |
void |
setName(String name) |
void |
setOrg(OrganizationImpl org) |
void |
setProperties(Set<PropertyImpl> properties) |
void |
setUri(String uri) |
Sensor |
toSensor() |
String |
toString() |
public SensorImpl()
public SensorImpl(String id, String name, String uri, SensorModelImpl model, Set<PropertyImpl> properties, OrganizationImpl org)
id
- the sensor's id.name
- the sensor's name.uri
- the sensor's uri.model
- the sensor model.properties
- the sensor's properties.org
- the sensor's organization.public Long getPk()
public String getId()
public void setId(String id)
id
- the id to setpublic String getName()
public void setName(String name)
name
- the name to setpublic String getUri()
public void setUri(String uri)
uri
- the uri to setpublic SensorModelImpl getModel()
public void setModel(SensorModelImpl model)
model
- the model to setpublic Set<PropertyImpl> getProperties()
public void setProperties(Set<PropertyImpl> properties)
properties
- the properties to setpublic OrganizationImpl getOrg()
public void setOrg(OrganizationImpl org)
org
- the org to setpublic Sensor toSensor()
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.