Class OrderedSetCollectionInstantiator

java.lang.Object
com.blazebit.persistence.view.impl.collection.AbstractCollectionInstantiator<Set<?>,RecordingSet<?,?>>
com.blazebit.persistence.view.impl.collection.OrderedSetCollectionInstantiator
All Implemented Interfaces:
CollectionInstantiator<Set<?>,RecordingSet<?,?>>, CollectionInstantiatorImplementor<Set<?>,RecordingSet<?,?>>

public class OrderedSetCollectionInstantiator extends AbstractCollectionInstantiator<Set<?>,RecordingSet<?,?>>
Since:
1.2.0
Author:
Christian Beikov
  • Constructor Details

    • OrderedSetCollectionInstantiator

      public OrderedSetCollectionInstantiator(PluralObjectFactory<Collection<?>> collectionFactory, Set<Class<?>> allowedSubtypes, Set<Class<?>> parentRequiringUpdateSubtypes, Set<Class<?>> parentRequiringCreateSubtypes, boolean updatable, boolean optimize, boolean strictCascadingCheck)
  • Method Details

    • allowsDuplicates

      public boolean allowsDuplicates()
      Description copied from interface: CollectionInstantiatorImplementor
      Returns whether the collection type allows duplicates.
      Returns:
      whether the collection type allows duplicates
    • isIndexed

      public boolean isIndexed()
      Description copied from interface: CollectionInstantiatorImplementor
      Returns whether the collection type is indexed.
      Returns:
      whether the collection type is indexed
    • createCollection

      public Set<?> createCollection(int size)
    • createRecordingCollection

      public RecordingSet<Set<?>,?> createRecordingCollection(int size)