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 voidensureServiceOnChildren(SensorThingsService service)booleanequals(Object obj)BaseDao<Location>getDao(SensorThingsService service)StringgetDescription()StringgetEncodingType()EntityList<HistoricalLocation>getHistoricalLocations()ObjectgetLocation()StringgetName()Map<String,Object>getProperties()EntityList<Thing>getThings()inthashCode()BaseDao<HistoricalLocation>historicalLocations()voidsetDescription(String description)voidsetEncodingType(String encodingType)voidsetHistoricalLocations(List<HistoricalLocation> historicalLocations)voidsetLocation(Object location)voidsetName(String name)voidsetProperties(Map<String,Object> properties)voidsetThings(List<Thing> things)BaseDao<Thing>things()StringtoString()LocationwithOnlyId()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:
ensureServiceOnChildrenin 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:EntityCreates a copy of the entity, with only the ID field set. Useful when creating a new entity that links to this entity.- Specified by:
withOnlyIdin classEntity<Location>- Returns:
- a copy with only the ID field set.
-
-