public static class Property.DurationInSecondsProperty extends Property.DurationProperty
Property.BaseProperty<T>, Property.BooleanProperty, Property.CharsetProperty, Property.DurationInSecondsProperty, Property.DurationProperty, Property.EnumProperty<T extends java.lang.Enum<T>>, Property.IntegerProperty, Property.LongProperty, Property.ObjectProperty, Property.StringProperty, Property.Validating<T>
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Constructor and Description |
---|
DurationInSecondsProperty(java.lang.String name) |
DurationInSecondsProperty(java.lang.String name,
java.time.Duration def) |
Modifier and Type | Method and Description |
---|---|
protected java.time.Duration |
fromStorage(java.lang.Object value) |
protected java.lang.Object |
toStorage(java.time.Duration value) |
get, getDefault, getName, getOrCustomDefault, getType, set, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bool, bool, charset, charset, duration, duration, durationSec, durationSec, enum_, enum_, getOrNull, getRequired, getRequiredDefault, integer, integer, long_, long_, object, object, remove, string, string, validating
findByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByName
public DurationInSecondsProperty(java.lang.String name)
public DurationInSecondsProperty(java.lang.String name, java.time.Duration def)
protected java.lang.Object toStorage(java.time.Duration value)
toStorage
in class Property.DurationProperty
protected java.time.Duration fromStorage(java.lang.Object value)
fromStorage
in class Property.DurationProperty