Package net.solarnetwork.central.domain
Class SolarNode
java.lang.Object
net.solarnetwork.central.domain.BaseIdentity
net.solarnetwork.central.dao.BaseEntity
net.solarnetwork.central.domain.SolarNode
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Long>,NodeIdentity,net.solarnetwork.dao.Entity<Long>,net.solarnetwork.domain.Identity<Long>
- Direct Known Subclasses:
SolarNodeMatch
Domain object for node related info.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get aTimeZoneinstance for this node'sSolarLocation.getTimeZoneId().voidsetLocation(SolarLocation location) voidsetLocationId(Long locationId) voidtoString()Methods inherited from class net.solarnetwork.central.dao.BaseEntity
getCreated, setCreatedMethods inherited from class net.solarnetwork.central.domain.BaseIdentity
clone, compareTo, equals, getId, hashCode, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface net.solarnetwork.domain.Identity
getId, hasId
-
Constructor Details
-
SolarNode
public SolarNode()Default constructor. -
SolarNode
Construct with values.- Parameters:
id- the IDlocationId- the location ID
-
-
Method Details
-
toString
-
getTimeZone
Get aTimeZoneinstance for this node'sSolarLocation.getTimeZoneId().- Returns:
- the TimeZone
-
getLocationId
-
setLocationId
-
getLocation
-
setLocation
-
getName
-
setName
-