Package nl.basjes.sunspec.model.entities
Class Group
-
- All Implemented Interfaces:
@Serializable() public final class Group
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumGroup.Type
-
Field Summary
Fields Modifier and Type Field Description private final IntegerheaderSizeprivate final IntegerdataSizeprivate Stringnameprivate Group.Typetypeprivate Stringcountprivate final List<Point>pointsprivate final List<Group>groupsprivate Stringlabelprivate Stringdescriptionprivate final Stringdetailprivate final Stringnotesprivate final List<String>commentsprivate final List<String>standards
-
Method Summary
Modifier and Type Method Description final IntegergetHeaderSize()The number of registers in the SunSpec Model header (i.e. final IntegergetDataSize()The number of registers in the real data registers (excluding the ID and L if present) that are in the Points DIRECTLY in this Group. final StringgetName()final UnitsetName(@Required() @SerialName(value = "name") String name)final Group.TypegetType()final UnitsetType(@Required() @SerialName(value = "type") Group.Type type)final StringgetCount()The Integer OR the NAME of the count point OR null final UnitsetCount(@SerialName(value = "count") String count)The Integer OR the NAME of the count point OR null final List<Point>getPoints()final List<Group>getGroups()final StringgetLabel()final UnitsetLabel(@SerialName(value = "label") String label)final StringgetDescription()final UnitsetDescription(@SerialName(value = "desc") String description)final StringgetDetail()final StringgetNotes()final List<String>getComments()final List<String>getStandards()final Unitinit()StringtoString()-
-
Method Detail
-
getHeaderSize
final Integer getHeaderSize()
The number of registers in the SunSpec Model header (i.e. the ID and L if present).
-
getDataSize
final Integer getDataSize()
The number of registers in the real data registers (excluding the ID and L if present) that are in the Points DIRECTLY in this Group.
-
getType
final Group.Type getType()
-
setType
final Unit setType(@Required() @SerialName(value = "type") Group.Type type)
-
setCount
final Unit setCount(@SerialName(value = "count") String count)
The Integer OR the NAME of the count point OR null
-
getDescription
final String getDescription()
-
setDescription
final Unit setDescription(@SerialName(value = "desc") String description)
-
getComments
final List<String> getComments()
-
getStandards
final List<String> getStandards()
-
-
-
-