Class PromptTestValueAccessor
java.lang.Object
de.xima.fc.prompt.mgmt.gui.model.PromptTestValueAccessor
- All Implemented Interfaces:
IValueAccessor<Object>, Serializable
public final class PromptTestValueAccessor
extends Object
implements IValueAccessor<Object>, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Gets the value.booleanhasValue()Checks if a value is present.voidRemoves the value (so thatIValueAccessor.hasValue()returns false).voidSets the value.
-
Constructor Details
-
PromptTestValueAccessor
public PromptTestValueAccessor()
-
-
Method Details
-
get
Description copied from interface:IValueAccessorGets the value. This will return null if no valueis present.- Specified by:
getin interfaceIValueAccessor<Object>- Returns:
- The value
-
hasValue
public boolean hasValue()Description copied from interface:IValueAccessorChecks if a value is present.- Specified by:
hasValuein interfaceIValueAccessor<Object>- Returns:
- true if a value is present, false otherwise
-
removeValue
public void removeValue()Description copied from interface:IValueAccessorRemoves the value (so thatIValueAccessor.hasValue()returns false).- Specified by:
removeValuein interfaceIValueAccessor<Object>
-
set
Description copied from interface:IValueAccessorSets the value. This will makeIValueAccessor.hasValue()return true.- Specified by:
setin interfaceIValueAccessor<Object>- Parameters:
newValue- The value to set
-