public interface PropertyAtomString
String
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getString()
Gets the current value of this property.
|
java.lang.String |
getString(long time)
Gets the value that property had at the given time.
|
java.lang.String |
getStringAtIdx(int idx)
Gets the value of this property at the given history index.
|
boolean |
setString(java.lang.String value)
Sets the current value of this property.
|
boolean |
setString(java.lang.String value,
long time)
Sets the value of this property with a given time.
|
java.lang.String getString()
java.lang.String getString(long time)
time
- a time expressed in number of milliseconds since the epoch.String
value.PropertyException
- if the value at the given time is unknown.java.lang.String getStringAtIdx(int idx)
idx
- index in the history of this property.PropertyException
- if the index is invalid.Property#getHistoryPolicy()
,
Property#getHistorySize()
boolean setString(java.lang.String value)
value
- the value to setProperty#getHistoryPolicy()
boolean setString(java.lang.String value, long time)
value
- the value to set.time
- the time to associate with the value.Property#getHistoryPolicy()