Class RangeRebindValue
java.lang.Object
ch.tocco.nice2.netui.spi.bind.AbstractRebindValue
ch.tocco.nice2.netui.impl.bind.entity.RangeRebindValue
- All Implemented Interfaces:
- RebindValue
Represents a range value as received back from the client.
 
This is for values that come from range fields with two TypedValue instances.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetFrom()getTo()booleanTells if there is a value, and it's not "empty".booleanhasValue()Tells if there is a value.voidsetFrom(TypedValue from) voidsetTo(TypedValue to) Methods inherited from class ch.tocco.nice2.netui.spi.bind.AbstractRebindValuegetComponentId, getFieldUri, getVersion, isDirty, setComponentId, setDirty, setFieldUri, setVersionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.netui.api.bind.entity.RebindValuegetComponentId, getFieldUri, getVersion, isDirty
- 
Constructor Details- 
RangeRebindValuepublic RangeRebindValue()
 
- 
- 
Method Details- 
getFrom
- 
setFrom
- 
getTo
- 
setTo
- 
hasValuepublic boolean hasValue()Description copied from interface:RebindValueTells if there is a value.- For a simple value that means: something not null.
- For a selection value that means: at least one selection.
 Note: this has absolutely nothing to do with RebindValue.isDirty()! This instance may be dirty and have "no value" (something was removed), or be clean and have a value (an initial default value for example).- Specified by:
- hasValuein interface- RebindValue
- See Also:
 
- 
hasNonEmptyValuepublic boolean hasNonEmptyValue()Description copied from interface:RebindValueTells if there is a value, and it's not "empty".- Specified by:
- hasNonEmptyValuein interface- RebindValue
- See Also:
 
 
-