@Entity public class SensorGroupImpl extends Object
Constructor and Description |
---|
SensorGroupImpl() |
SensorGroupImpl(String id,
String name,
Set<SensorImpl> sensors,
OrganizationImpl org) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId() |
String |
getName() |
OrganizationImpl |
getOrg() |
Long |
getPk() |
Set<SensorImpl> |
getSensors() |
int |
hashCode() |
void |
setId(String id) |
void |
setName(String name) |
void |
setOrg(OrganizationImpl org) |
void |
setPk(Long pk) |
void |
setSensors(Set<SensorImpl> sensors) |
SensorGroup |
toSensorGroup() |
String |
toString() |
public SensorGroupImpl()
public SensorGroupImpl(String id, String name, Set<SensorImpl> sensors, OrganizationImpl org)
id
- the group's id.name
- the group's name.sensors
- the sensors in the group.org
- the group's organization.public Long getPk()
public void setPk(Long pk)
pk
- the pk to setpublic String getId()
public void setId(String id)
id
- the id to setpublic String getName()
public void setName(String name)
name
- the name to setpublic Set<SensorImpl> getSensors()
public void setSensors(Set<SensorImpl> sensors)
sensors
- the sensors to setpublic OrganizationImpl getOrg()
public void setOrg(OrganizationImpl org)
org
- the org to setpublic SensorGroup toSensorGroup()
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.