Class BitmapRecord
- java.lang.Object
-
- com.smartgridready.communicator.common.api.values.BitmapRecord
-
public class BitmapRecord extends java.lang.ObjectImplements a custom bit map record.
-
-
Constructor Summary
Constructors Constructor Description BitmapRecord(java.lang.String literal, boolean value, java.lang.String description)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetDescription()Gets the record description.java.lang.StringgetLiteral()Gets the map key name.booleangetValue()Gets the bit value.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getLiteral
public java.lang.String getLiteral()
Gets the map key name.- Returns:
- a string
-
getValue
public boolean getValue()
Gets the bit value.- Returns:
- a boolean
-
getDescription
public java.lang.String getDescription()
Gets the record description.- Returns:
- a string
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-