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 Summary
Constructors Constructor Description OrderedSetCollectionInstantiator(PluralObjectFactory<Collection<?>> collectionFactory, Set<Class<?>> allowedSubtypes, Set<Class<?>> parentRequiringUpdateSubtypes, Set<Class<?>> parentRequiringCreateSubtypes, boolean updatable, boolean optimize, boolean strictCascadingCheck)
-
Method Summary
Modifier and Type Method Description boolean
allowsDuplicates()
Returns whether the collection type allows duplicates.Set<?>
createCollection(int size)
RecordingSet<Set<?>,?>
createRecordingCollection(int size)
boolean
isIndexed()
Returns whether the collection type is indexed.Methods inherited from class com.blazebit.persistence.view.impl.collection.AbstractCollectionInstantiator
createJpaCollection, postConstruct, requiresPostConstruct
-
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
-
createRecordingCollection
-