◆ AspectPropertyValueDefault()
Construct a new instance and set the value.
This also result in the 'hasValue' property being set to true.
- Parameters
-
- value - the value to set
\r\n
This class can be used where engines have a property that may be populated and may not.
AspectPropertyValueDefault ()
Construct a new instance with no value set.
| |
AspectPropertyValueDefault (T value)
Construct a new instance and set the value. More...
| |
boolean | hasValue ()
Indicates whether or not the instance contains a value for the property. More...
|
T | getValue () throws NoValueException
Get the underlying value. More...
|
void | setValue (T value)
Set the underlying value. More...
|
String | getNoValueMessage ()
Get the message that will appear in the exception thrown if this instance has no value. More...
|
void | setNoValueMessage (String message)
Set the message that will appear in the exception thrown if this instance has no value. More...
|
int | hashCode () |
Construct a new instance and set the value.
This also result in the 'hasValue' property being set to true.
String fiftyone.pipeline.engines.data.AspectPropertyValueDefault< T >.getNoValueMessage | ( | ) |
Get the message that will appear in the exception thrown if this instance has no value.
Implements fiftyone.pipeline.engines.data.AspectPropertyValue< T >.
T fiftyone.pipeline.engines.data.AspectPropertyValueDefault< T >.getValue | ( | ) | throws NoValueException |
Get the underlying value.
Implements fiftyone.pipeline.engines.data.AspectPropertyValue< T >.
boolean fiftyone.pipeline.engines.data.AspectPropertyValueDefault< T >.hasValue | ( | ) |
Indicates whether or not the instance contains a value for the property.
Implements fiftyone.pipeline.engines.data.AspectPropertyValue< T >.
void fiftyone.pipeline.engines.data.AspectPropertyValueDefault< T >.setNoValueMessage | ( | String | message | ) |
Set the message that will appear in the exception thrown if this instance has no value.
Implements fiftyone.pipeline.engines.data.AspectPropertyValue< T >.
void fiftyone.pipeline.engines.data.AspectPropertyValueDefault< T >.setValue | ( | T | value | ) |
Set the underlying value.
Implements fiftyone.pipeline.engines.data.AspectPropertyValue< T >.