Class StringProperty

  • All Implemented Interfaces:

    
    public final class StringProperty
    extends Property
                        

    Class representing a String Property value.

    A String Property is a value that will change infrequently or not at all.

    Examples: IP Address Software Version

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      JsonObject getJson()
      String getKey() A string identifying the property.
      final String getStringValue() The value of the property.
      Long getTimestamp() Time in milliseconds since the Epoch when this property value was recorded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringProperty

        StringProperty(String key, String stringValue)
    • Method Detail

      • getTimestamp

         Long getTimestamp()

        Time in milliseconds since the Epoch when this property value was recorded. Defaults to the current time.