@Entity public class CollectorProcessDefinitionImpl extends Object
Constructor and Description |
---|
CollectorProcessDefinitionImpl()
Default constructor.
|
CollectorProcessDefinitionImpl(String id,
String name,
SensorImpl sensor,
Long pollingInterval,
DepositoryImpl depository,
Set<PropertyImpl> properties,
OrganizationImpl org) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DepositoryImpl |
getDepository() |
String |
getId() |
String |
getName() |
OrganizationImpl |
getOrg() |
Long |
getPk() |
Long |
getPollingInterval() |
Set<PropertyImpl> |
getProperties() |
SensorImpl |
getSensor() |
int |
hashCode() |
void |
setDepository(DepositoryImpl depository) |
void |
setId(String id) |
void |
setName(String name) |
void |
setOrg(OrganizationImpl org) |
void |
setPollingInterval(Long pollingInterval) |
void |
setProperties(Set<PropertyImpl> properties) |
void |
setSensor(SensorImpl sensor) |
CollectorProcessDefinition |
toCPD() |
String |
toString() |
public CollectorProcessDefinitionImpl()
public CollectorProcessDefinitionImpl(String id, String name, SensorImpl sensor, Long pollingInterval, DepositoryImpl depository, Set<PropertyImpl> properties, OrganizationImpl org)
id
- the id.name
- the name.sensor
- the sensor.pollingInterval
- the polling interval.depository
- the depository.properties
- the propertiesorg
- the orgainzation.public DepositoryImpl getDepository()
public String getId()
public String getName()
public OrganizationImpl getOrg()
public Long getPk()
public Long getPollingInterval()
public Set<PropertyImpl> getProperties()
public SensorImpl getSensor()
public void setDepository(DepositoryImpl depository)
depository
- the depository to setpublic void setId(String id)
id
- the id to setpublic void setName(String name)
name
- the name to setpublic void setOrg(OrganizationImpl org)
org
- the org to setpublic void setPollingInterval(Long pollingInterval)
pollingInterval
- the pollingInterval to setpublic void setProperties(Set<PropertyImpl> properties)
properties
- the properties to setpublic void setSensor(SensorImpl sensor)
sensor
- the sensor to setpublic CollectorProcessDefinition toCPD()
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.