Package de.fraunhofer.iosb.ilt.sta.model
Class Location
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.sta.model.Entity<Location>
-
- de.fraunhofer.iosb.ilt.sta.model.Location
-
-
Field Summary
-
Fields inherited from class de.fraunhofer.iosb.ilt.sta.model.Entity
AT_IOT_COUNT, AT_IOT_NAVIGATION_LINK, AT_IOT_NEXT_LINK, AT_IOT_SELF_LINK, id, IOT_COUNT, IOT_NAVIGATION_LINK, IOT_NEXT_LINK, IOT_SELF_LINK, selfLink
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
ensureServiceOnChildren(SensorThingsService service)
boolean
equals(Object obj)
BaseDao<Location>
getDao(SensorThingsService service)
String
getDescription()
String
getEncodingType()
EntityList<HistoricalLocation>
getHistoricalLocations()
Object
getLocation()
String
getName()
Map<String,Object>
getProperties()
EntityList<Thing>
getThings()
int
hashCode()
BaseDao<HistoricalLocation>
historicalLocations()
void
setDescription(String description)
void
setEncodingType(String encodingType)
void
setHistoricalLocations(List<HistoricalLocation> historicalLocations)
void
setLocation(Object location)
void
setName(String name)
void
setProperties(Map<String,Object> properties)
void
setThings(List<Thing> things)
BaseDao<Thing>
things()
String
toString()
Location
withOnlyId()
Creates a copy of the entity, with only the ID field set.-
Methods inherited from class de.fraunhofer.iosb.ilt.sta.model.Entity
getId, getSelfLink, getService, getType, handleNamespacedProperties, setId, setSelfLink, setSelfLink, setService, subscribe, subscribeRelative
-
-
-
-
Method Detail
-
ensureServiceOnChildren
protected void ensureServiceOnChildren(SensorThingsService service)
- Specified by:
ensureServiceOnChildren
in classEntity<Location>
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getEncodingType
public String getEncodingType()
-
setEncodingType
public void setEncodingType(String encodingType)
-
historicalLocations
public BaseDao<HistoricalLocation> historicalLocations()
-
getHistoricalLocations
public EntityList<HistoricalLocation> getHistoricalLocations()
-
setHistoricalLocations
public void setHistoricalLocations(List<HistoricalLocation> historicalLocations)
-
getLocation
public Object getLocation()
-
setLocation
public void setLocation(Object location)
-
getThings
public EntityList<Thing> getThings()
-
getDao
public BaseDao<Location> getDao(SensorThingsService service)
-
withOnlyId
public Location withOnlyId()
Description copied from class:Entity
Creates a copy of the entity, with only the ID field set. Useful when creating a new entity that links to this entity.- Specified by:
withOnlyId
in classEntity<Location>
- Returns:
- a copy with only the ID field set.
-
-