CollectionMapping.auto constructor

const CollectionMapping.auto()

Creates automatic collection mapping behavior.

This is the default for collection properties when no explicit collection mapping is specified. Uses appropriate unordered mappers based on collection type:

  • List<T>UnorderedItemsListMapper
  • Set<T>UnorderedItemsSetMapper
  • Iterable<T>UnorderedItemsMapper
  • Map<K,V> → Entry-based mapping with @RdfMapEntry

Results in multiple triples with the same predicate, one per collection item.

Implementation

const CollectionMapping.auto()
    : isAuto = true,
      factory = null;