Class MappingConstructorImpl<X>
java.lang.Object
com.blazebit.persistence.view.impl.metamodel.MappingConstructorImpl<X>
- All Implemented Interfaces:
MappingConstructor<X>
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionMappingConstructorImpl(ManagedViewTypeImplementor<X> viewType, String name, ConstructorMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckNestedParameters(List<AbstractAttribute<?, ?>> parents, javax.persistence.metamodel.ManagedType<?> managedType, MetamodelBuildingContext context, boolean hasMultisetParent) voidcheckParameters(javax.persistence.metamodel.ManagedType<?> managedType, Map<String, List<String>> collectionMappings, Map<String, List<String>> collectionMappingSingulars, MetamodelBuildingContext context) Map<Map<ManagedViewType<? extends X>,String>, MappingConstructorImpl.InheritanceSubtypeConstructorConfiguration<X>> getName()ParameterAttribute<? super X,?> getParameterAttribute(int index) List<ParameterAttribute<? super X,?>> getSubtypeConstructorConfiguration(Map<ManagedViewType<? extends X>, String> inheritanceSubtypeMappings) booleanboolean
-
Constructor Details
-
MappingConstructorImpl
public MappingConstructorImpl(ManagedViewTypeImplementor<X> viewType, String name, ConstructorMapping mapping, MetamodelBuildingContext context, EmbeddableOwner embeddableMapping)
-
-
Method Details
-
getSubtypeConstructorConfiguration
public MappingConstructorImpl.InheritanceSubtypeConstructorConfiguration<X> getSubtypeConstructorConfiguration(Map<ManagedViewType<? extends X>, String> inheritanceSubtypeMappings) -
getDefaultInheritanceParametersAttributesClosureConfiguration
public MappingConstructorImpl.InheritanceSubtypeConstructorConfiguration<X> getDefaultInheritanceParametersAttributesClosureConfiguration() -
getOverallInheritanceParametersAttributesClosureConfiguration
public MappingConstructorImpl.InheritanceSubtypeConstructorConfiguration<X> getOverallInheritanceParametersAttributesClosureConfiguration() -
getInheritanceSubtypeParameterAttributesClosureConfigurations
public Map<Map<ManagedViewType<? extends X>,String>, getInheritanceSubtypeParameterAttributesClosureConfigurations()MappingConstructorImpl.InheritanceSubtypeConstructorConfiguration<X>> -
checkParameters
-
checkNestedParameters
public void checkNestedParameters(List<AbstractAttribute<?, ?>> parents, javax.persistence.metamodel.ManagedType<?> managedType, MetamodelBuildingContext context, boolean hasMultisetParent) -
getName
- Specified by:
getNamein interfaceMappingConstructor<X>
-
getDeclaringType
- Specified by:
getDeclaringTypein interfaceMappingConstructor<X>
-
getJavaConstructor
- Specified by:
getJavaConstructorin interfaceMappingConstructor<X>
-
getParameterAttributes
- Specified by:
getParameterAttributesin interfaceMappingConstructor<X>
-
getParameterAttribute
- Specified by:
getParameterAttributein interfaceMappingConstructor<X>
-
hasJoinFetchedCollections
public boolean hasJoinFetchedCollections() -
hasEntityAttributes
public boolean hasEntityAttributes()
-