public class BasicMapAccessor extends BasicCollectionAccessor
| Constructor and Description |
|---|
BasicMapAccessor()
INTERNAL:
Used for OX mapping.
|
BasicMapAccessor(MetadataAnnotation basicMap,
MetadataAccessibleObject accessibleObject,
ClassAccessor classAccessor)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object objectToCompare)
INTERNAL:
|
ColumnMetadata |
getKeyColumn()
INTERNAL:
Used for OX mapping.
|
java.lang.String |
getKeyConverter()
INTERNAL:
Used for OX mapping.
|
MetadataClass |
getReferenceClass()
INTERNAL:
Return the reference class for this accessor.
|
java.lang.String |
getValueConverter()
INTERNAL:
Used for OX mapping.
|
boolean |
hasMapKey()
INTERNAL:
For all intent and purpose a basic map accessor always uses a map key.
|
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
boolean |
isBasicMap()
INTERNAL:
Return true if this accessor represents a basic map mapping.
|
void |
process()
INTERNAL:
The processing of JPA converters for a basic map has been disabled, since
we will not know which part of the map (key or value) to apply the JPA
converter.
|
void |
setKeyColumn(ColumnMetadata keyColumn)
INTERNAL:
Used for OX mapping.
|
void |
setKeyConverter(java.lang.String keyConverter)
INTERNAL:
Used for OX mapping.
|
void |
setValueConverter(java.lang.String valueConverter)
INTERNAL:
Used for OX mapping.
|
getReferenceClassWithGenerics, getValueColumn, isBasicCollectiongetBatchFetch, getCascadeOnDelete, getCollectionTable, getDefaultFetchType, getJoinFetch, getNonCacheable, getPrivateOwned, getReferenceDescriptor, isCascadeOnDelete, isDirectCollection, isNonCacheable, setBatchFetch, setCascadeOnDelete, setCollectionTable, setJoinFetch, setNonCacheablegetConvert, getConverts, getEnumerated, getEnumerated, getFetch, getLob, getLob, getOptional, getTemporal, getTemporal, hasEnumerated, hasLob, hasTemporal, isOptional, setConverts, setEnumerated, setFetch, setLob, setOptional, setTemporal, setTemporalderivesId, getAttributeName, getAttributeType, getClassAccessor, getField, getGetMethodName, getMapKey, getMapKeyReferenceClass, getMapKeyReferenceClassName, getMapKeyReferenceClassWithGenerics, getMapping, getOwningDescriptor, getOwningDescriptors, getRawClass, getRawClassWithGenerics, getReferenceAccessors, getReferenceClassFromGeneric, getReferenceClassName, getSetMethodName, hasAttributeType, initXMLMappingAccessor, isAnnotationPresent, isBasic, isCollectionAccessor, isDerivedIdClass, isDirectEmbeddableCollection, isEmbedded, isEmbeddedId, isId, isManyToMany, isManyToOne, isMapAccessor, isMappedKeyMapAccessor, isMultitenantId, isOneToMany, isOneToOne, isProcessed, isRelationship, isSerialized, isTransient, isVariableOneToOne, setAttributeType, setClassAccessor, setField, toString, usesFieldAccess, usesPropertyAccess, usesVirtualAccessgetAccess, getAccessibleObject, getAccessMethods, getAnnotatedElement, getAnnotatedElementName, getAnnotation, getConverters, getDescriptor, getDescriptorJavaClass, getHashPartitioning, getIdentifier, getJavaClass, getName, getObjectTypeConverters, getPartitioned, getPartitioning, getPinnedPartitioning, getProperties, getRangePartitioning, getReplicationPartitioning, getRoundRobinPartitioning, getSerializedConverters, getStructConverters, getTypeConverters, getUnionPartitioning, getValuePartitioning, hasAccess, hasAccessMethods, initAccess, initXMLAccessor, isAnnotationPresent, merge, processConverters, processPartitioned, setAccess, setAccessMethods, setConverters, setDescriptor, setHashPartitioning, setName, setObjectTypeConverters, setPartitioned, setPartitioning, setPinnedPartitioning, setProperties, setRangePartitioning, setReplicationPartitioning, setRoundRobinPartitioning, setSerializedConverters, setStructConverters, setTypeConverters, setUnionPartitioning, setValuePartitioninggetAccessibleObjectName, getAnnotation, getEntityMappings, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getProject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, setAccessibleObject, setEntityMappings, setProject, shouldOverridepublic BasicMapAccessor()
public BasicMapAccessor(MetadataAnnotation basicMap, MetadataAccessibleObject accessibleObject, ClassAccessor classAccessor)
public boolean equals(java.lang.Object objectToCompare)
equals in class BasicCollectionAccessorpublic ColumnMetadata getKeyColumn()
public java.lang.String getKeyConverter()
public MetadataClass getReferenceClass()
getReferenceClass in class BasicCollectionAccessorpublic java.lang.String getValueConverter()
public boolean hasMapKey()
hasMapKey in class MappingAccessorCollectionAccessor,
ElementCollectionAccessor,
BasicMapAccessorpublic void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
initXMLObject in class BasicCollectionAccessorpublic boolean isBasicMap()
isBasicMap in class MappingAccessorpublic void process()
process in class BasicCollectionAccessorpublic void setKeyColumn(ColumnMetadata keyColumn)
public void setKeyConverter(java.lang.String keyConverter)
public void setValueConverter(java.lang.String valueConverter)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference