public interface PropertyAtomBoolean extends PropertyAtom, Property.PropertyBoolean
Property.PropertyBoolean, Property.PropertyConcept, Property.PropertyConceptReference, Property.PropertyContainedConcept, Property.PropertyDateTime, Property.PropertyDouble, Property.PropertyInt, Property.PropertyLong, Property.PropertyString
HISTORY_POLICY_ALL_VALUES, HISTORY_POLICY_CHANGES_ONLY
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean()
Gets the current boolean value of this
PropertyAtom . |
boolean |
getBoolean(long time)
Gets the boolean value that this
PropertyAtom had at the given time. |
boolean |
getBooleanAtIdx(int idx)
Gets the boolean value of this
PropertyAtom at the given history index. |
boolean |
setBoolean(boolean value)
Sets the current value of this
PropertyAtom . |
boolean |
setBoolean(boolean value,
long time)
Sets the value of this
PropertyAtom with a given time. |
getHistoryTimeInterval, getString, getString, getStringAtIdx, getTimeAtIdx, howCurrent, howMany, howOld, isSet, setValue, setValue
getHistoryPolicy, getHistorySize, getName, getParent
boolean getBoolean()
PropertyAtom
.PropertyAtom
.boolean getBoolean(long time) throws PropertyException
PropertyAtom
had at the given time.time
- a time expressed in number of milliseconds since the epoch.PropertyException
- if the value at the given time is unknown.boolean getBooleanAtIdx(int idx) throws PropertyException
PropertyAtom
at the given history index.idx
- index in the history of this property.PropertyException
- if the index is invalid.Property.getHistoryPolicy()
,
Property.getHistorySize()
boolean setBoolean(boolean value)
PropertyAtom
.value
- the value to setProperty.getHistoryPolicy()
boolean setBoolean(boolean value, long time)
PropertyAtom
with a given time.value
- the value to set.time
- the time to associate with the value.Property.getHistoryPolicy()