EntityViewAttributeMapping
, EntityViewParameterMapping
public class ParameterAttributeMapping extends AttributeMapping implements EntityViewParameterMapping
EntityViewAttributeMapping.ContainerBehavior
attribute, comparatorClass, containerBehavior, context, declaredElementType, declaredElementTypeClass, declaredKeyType, declaredKeyTypeClass, declaredType, declaredTypeClass, defaultBatchSize, elementInheritanceSubtypeClassMappings, elementInheritanceSubtypeMappings, elementInheritanceSubtypes, elementType, elementViewMapping, inheritanceSubtypeClassMappings, inheritanceSubtypeMappings, inheritanceSubtypes, isCollection, keyInheritanceSubtypeClassMappings, keyInheritanceSubtypeMappings, keyInheritanceSubtypes, keyType, keyViewMapping, mapping, possibleTargets, resolvedTypeMappings, type, typeMapping, viewMapping
Constructor | Description |
---|---|
ParameterAttributeMapping(ViewMapping viewMapping,
java.lang.annotation.Annotation mapping,
MetamodelBootContext context,
ConstructorMapping constructor,
int index,
boolean isCollection,
java.lang.Class<?> declaredTypeClass,
java.lang.Class<?> declaredKeyTypeClass,
java.lang.Class declaredElementTypeClass,
java.lang.reflect.Type type,
java.lang.reflect.Type keyType,
java.lang.reflect.Type elementType,
java.util.Map<java.lang.Class<?>,java.lang.String> inheritanceSubtypeClassMappings,
java.util.Map<java.lang.Class<?>,java.lang.String> keyInheritanceSubtypeClassMappings,
java.util.Map<java.lang.Class<?>,java.lang.String> elementInheritanceSubtypeClassMappings) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
determineMappedBy(javax.persistence.metamodel.ManagedType<?> managedType,
java.lang.String mapping,
MetamodelBuildingContext context) |
|
java.util.Map<java.lang.String,java.lang.String> |
determineWritableMappedByMappings(javax.persistence.metamodel.ManagedType<?> managedType,
java.lang.String mappedBy,
MetamodelBuildingContext context) |
|
EntityViewConstructorMapping |
getDeclaringConstructor() |
|
EntityViewMapping |
getDeclaringView() |
|
java.lang.String |
getErrorLocation() |
|
int |
getIndex() |
|
InverseRemoveStrategy |
getInverseRemoveStrategy() |
|
static java.lang.String |
getLocation(java.lang.reflect.Constructor<?> constructor,
int index) |
|
java.lang.String |
getMappedBy() |
|
<X> AbstractParameterAttribute<? super X,?> |
getParameterAttribute(MappingConstructorImpl<X> constructor,
MetamodelBuildingContext context) |
|
boolean |
isId() |
|
boolean |
isVersion() |
circularDependencyError, determineIndexed, getBaseTypes, getComparatorClass, getContainerBehavior, getDeclaredElementType, getDeclaredKeyType, getDeclaredType, getDefaultBatchSize, getElementInheritanceSubtypes, getElementType, getElementTypes, getElementViewMapping, getInheritanceSubtypes, getJavaType, getKeyInheritanceSubtypes, getKeyType, getKeyTypes, getKeyViewMapping, getMapping, getPossibleTargetTypes, getType, initializeViewMappings, isCollection, isSorted, setContainerDefault, setContainerIndexed, setContainerOrdered, setContainerSorted, setDefaultBatchSize, unknownSubviewType, validateDependencies
getComparatorClass, getContainerBehavior, getDeclaredElementType, getDeclaredKeyType, getDeclaredType, getDefaultBatchSize, isCollection, setContainerDefault, setContainerIndexed, setContainerOrdered, setContainerSorted, setDefaultBatchSize
public ParameterAttributeMapping(ViewMapping viewMapping, java.lang.annotation.Annotation mapping, MetamodelBootContext context, ConstructorMapping constructor, int index, boolean isCollection, java.lang.Class<?> declaredTypeClass, java.lang.Class<?> declaredKeyTypeClass, java.lang.Class declaredElementTypeClass, java.lang.reflect.Type type, java.lang.reflect.Type keyType, java.lang.reflect.Type elementType, java.util.Map<java.lang.Class<?>,java.lang.String> inheritanceSubtypeClassMappings, java.util.Map<java.lang.Class<?>,java.lang.String> keyInheritanceSubtypeClassMappings, java.util.Map<java.lang.Class<?>,java.lang.String> elementInheritanceSubtypeClassMappings)
public EntityViewConstructorMapping getDeclaringConstructor()
getDeclaringConstructor
in interface EntityViewParameterMapping
public EntityViewMapping getDeclaringView()
getDeclaringView
in interface EntityViewAttributeMapping
public int getIndex()
getIndex
in interface EntityViewParameterMapping
public boolean isId()
isId
in class AttributeMapping
public boolean isVersion()
isVersion
in class AttributeMapping
public java.lang.String getErrorLocation()
getErrorLocation
in class AttributeMapping
public java.lang.String getMappedBy()
getMappedBy
in class AttributeMapping
public java.lang.String determineMappedBy(javax.persistence.metamodel.ManagedType<?> managedType, java.lang.String mapping, MetamodelBuildingContext context)
determineMappedBy
in class AttributeMapping
public java.util.Map<java.lang.String,java.lang.String> determineWritableMappedByMappings(javax.persistence.metamodel.ManagedType<?> managedType, java.lang.String mappedBy, MetamodelBuildingContext context)
determineWritableMappedByMappings
in class AttributeMapping
public InverseRemoveStrategy getInverseRemoveStrategy()
getInverseRemoveStrategy
in class AttributeMapping
public static java.lang.String getLocation(java.lang.reflect.Constructor<?> constructor, int index)
public <X> AbstractParameterAttribute<? super X,?> getParameterAttribute(MappingConstructorImpl<X> constructor, MetamodelBuildingContext context)
Copyright © 2014–2018 Blazebit. All rights reserved.