Interface ComplexValue<S extends ComplexValue<S>>

Type Parameters:
S - The type of the complex value (for fluent API)
All Known Implementing Classes:
Entity, MapValue

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 Type
    Method
    Description
    <P> P
    getProperty(Property<P> property)
    Get the value of the given property.
    <P> S
    setProperty(Property<P> property, P value)
    Set the given property to the given value.
  • Method Details

    • getProperty

      <P> P getProperty(Property<P> property)
      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

      <P> S setProperty(Property<P> property, P value)
      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