Interface ComplexValue<S extends ComplexValue<S>>
- Type Parameters:
S- The type of the complex value (for fluent API)
public interface ComplexValue<S extends ComplexValue<S>>
Interface that values of complex properties should implement to make it
easier to access sub-properties.
-
Method Summary
Modifier and TypeMethodDescription<P> PgetProperty(Property<P> property) Get the value of the given property.<P> SsetProperty(Property<P> property, P value) Set the given property to the given value.
-
Method Details
-
getProperty
Get the value of the given property.- Type Parameters:
P- The type of the property and value.- Parameters:
property- The property to get the value of.- Returns:
- the value of the requested property.
-
setProperty
Set the given property to the given value.- Type Parameters:
P- The type of the property.- Parameters:
property- The property to set.value- The value to set the property to.- Returns:
- this
-