Interface PropertiesSpecification<X,E,K,V>

Type Parameters:
X - The type the represented Map belongs to
E - The declared field type (presumably a Map)
K - The type used for property identifiers
V - The type used for property values
All Superinterfaces:
FieldSpecification<X,E>
All Known Implementing Classes:
PropertiesSpecificationImpl

public interface PropertiesSpecification<X,E,K,V> extends FieldSpecification<X,E>
Instances of the type PropertiesSpecification represent persistent properties of other types than declared in the entity type.
  • Method Details

    • getPropertyIdentifierType

      Class<K> getPropertyIdentifierType()
      Gets Java class whose instances are used to represent property identifier.

      Usually URI or String.

      Returns:
      Property identifier class
    • getPropertyValueType

      Class<V> getPropertyValueType()
      Gets Java class whose instances are used to represent property values.

      Usually Object or String.

      Returns:
      Property value class