public abstract class DirectCollectionAccessor extends DirectAccessor
KEY_DOT_NOTATION, m_field, VALUE_DOT_NOTATIONm_project| Modifier | Constructor and Description |
|---|---|
protected |
DirectCollectionAccessor(MetadataAnnotation annotation,
MetadataAccessibleObject accessibleObject,
ClassAccessor classAccessor)
INTERNAL:
|
protected |
DirectCollectionAccessor(String xmlElement)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
INTERNAL:
|
BatchFetchMetadata |
getBatchFetch()
INTERNAL:
Used for OX mapping.
|
Boolean |
getCascadeOnDelete()
INTERNAL:
Used for OX mapping.
|
CollectionTableMetadata |
getCollectionTable()
INTERNAL:
Used for OX mapping.
|
protected String |
getDefaultCollectionTableName()
INTERNAL:
|
String |
getDefaultFetchType()
INTERNAL:
|
String |
getJoinFetch()
INTERNAL:
Used for OX mapping.
|
protected abstract String |
getKeyConverter()
INTERNAL:
Return the converter name for a map key.
|
Boolean |
getNonCacheable()
INTERNAL:
Used for OX mapping.
|
String |
getPrivateOwned()
INTERNAL:
Used for OX mapping.
|
protected DatabaseTable |
getReferenceDatabaseTable()
INTERNAL:
The reference table in a direct collection case is the collection table.
|
MetadataDescriptor |
getReferenceDescriptor()
INTERNAL:
In a direct collection case, there is no notion of a reference
descriptor, therefore we return this accessors descriptor.
|
protected String |
getValueConverter()
INTERNAL:
Return the converter name for a collection value.
|
int |
hashCode() |
protected boolean |
hasMapKeyClass()
INTERNAL:
Return true if this accessor has a map key class specified.
|
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
Boolean |
isCascadeOnDelete()
INTERNAL:
|
boolean |
isDirectCollection()
INTERNAL:
Return true if this accessor represents a direct collection mapping,
which include basic collection, basic map and element collection
accessors.
|
boolean |
isNonCacheable()
INTERNAL:
Used for OX mapping.
|
protected boolean |
isValidDirectCollectionType()
INTERNAL:
Returns true if the given class is a valid basic collection type.
|
protected boolean |
isValidDirectMapType()
INTERNAL:
Returns true if the given class is a valid basic map type.
|
protected void |
process(DatabaseMapping mapping)
INTERNAL:
|
protected void |
processBatchFetch(ForeignReferenceMapping mapping)
INTERNAL:
Set the batch fetch type on the foreign reference mapping.
|
protected void |
processCollectionTable(CollectionMapping mapping)
INTERNAL:
Process a MetadataCollectionTable.
|
protected void |
processDirectCollectionMapping()
INTERNAL:
|
protected void |
processDirectMapMapping()
INTERNAL:
|
void |
setBatchFetch(BatchFetchMetadata batchFetch)
INTERNAL:
Used for OX mapping.
|
void |
setCascadeOnDelete(Boolean cascadeOnDelete)
INTERNAL:
Used for OX mapping.
|
void |
setCollectionTable(CollectionTableMetadata collectionTable)
INTERNAL:
Used for OX mapping.
|
void |
setJoinFetch(String joinFetch)
INTERNAL:
Used for OX mapping.
|
void |
setNonCacheable(Boolean nonCacheable)
INTERNAL:
Used for OX mapping.
|
addConvert, getConvert, getConverts, getEnumerated, getEnumerated, getFetch, getLob, getLob, getOptional, getTemporal, getTemporal, hasEnumerated, hasLob, hasTemporal, isOptional, setConverts, setEnumerated, setFetch, setLob, setOptional, setTemporal, setTemporal, usesIndirectionaddConvertMetadata, addFieldNameTranslation, addMapKeyConvert, derivesId, getAnnotation, getAssociationOverrides, getAttributeName, getAttributeOverride, getAttributeOverrides, getAttributeType, getClassAccessor, getColumn, getConverts, getDatabaseField, getDefaultTableForEntityMapKey, getField, getForeignKey, getGetMethodName, getJoinColumns, getJoinColumnsAndValidate, getMapKey, getMapKeyConverts, getMapKeyReferenceClass, getMapKeyReferenceClassName, getMapKeyReferenceClassWithGenerics, getMapping, getOwningDescriptor, getOwningDescriptors, getRawClass, getRawClassWithGenerics, getReferenceAccessors, getReferenceClass, getReferenceClassFromGeneric, getReferenceClassName, getReferenceClassWithGenerics, getSetMethodName, hasAttributeOverride, hasAttributeType, hasMapKey, hasReturnInsert, hasReturnUpdate, initXMLMappingAccessor, isAnnotationPresent, isBasic, isBasicCollection, isBasicMap, isCollectionAccessor, isDerivedIdClass, isDirectEmbeddableCollection, isEmbedded, isEmbeddedId, isEnumerated, isId, isLob, isManyToMany, isManyToOne, isMapAccessor, isMappedKeyMapAccessor, isMultitenantId, isOneToMany, isOneToOne, isPrimitiveWrapperClass, isProcessed, isRelationship, isSerialized, isTemporal, isTimeClass, isTransient, isValidSerializedType, isVariableOneToOne, processAssociationOverride, processAssociationOverrides, processAttributeOverrides, processContainerPolicyAndIndirection, processConvert, processConverts, processDirectMapKeyClass, processEmbeddableMapKeyClass, processEntityMapKeyClass, processEnumerated, processForeignKeyRelationship, processIndirection, processJoinFetch, processLob, processMapKeyClass, processMappingConverter, processMappingKeyConverter, processMappingValueConverter, processProperties, processProperty, processReturnInsert, processReturnInsertAndUpdate, processReturnUpdate, processSerialized, processSerialized, processTemporal, setAccessorMethods, setAttributeType, setClassAccessor, setField, setIndirectionPolicy, setMapping, setOverrideMapping, toString, updatePrimaryKeyField, usesFieldAccess, usesPropertyAccess, usesVirtualAccessgetAccess, getAccessibleObject, getAccessMethods, getAnnotatedElement, getAnnotatedElementName, getAnnotation, getConverters, getDefaultAttributeName, getDescriptor, getDescriptorJavaClass, getHashPartitioning, getIdentifier, getJavaClass, getJavaClassName, getName, getObjectTypeConverters, getPartitioned, getPartitioning, getPinnedPartitioning, getProperties, getRangePartitioning, getReferencedField, getReferencedField, getReplicationPartitioning, getRoundRobinPartitioning, getSerializedConverters, getStructConverters, getTypeConverters, getUnionPartitioning, getUpperCaseShortJavaClassName, getValue, getValue, getValuePartitioning, hasAccess, hasAccessMethods, initAccess, initXMLAccessor, isAnnotationPresent, merge, process, processConverters, processCustomConverters, processObjectTypeConverters, processPartitioned, processPartitioning, processPrimaryKeyJoinColumns, processSerializedConverters, processStructConverters, processTable, processTypeConverters, setAccess, setAccessMethods, setConverters, setDescriptor, setHashPartitioning, setName, setObjectTypeConverters, setPartitioned, setPartitioning, setPinnedPartitioning, setProperties, setRangePartitioning, setReplicationPartitioning, setRoundRobinPartitioning, setSerializedConverters, setStructConverters, setTypeConverters, setUnionPartitioning, setValuePartitioninggetAccessibleObjectName, getAnnotation, getBoxedType, getDatabaseTypeEnum, getEntityMappings, getFullyQualifiedClassName, getJavaClass, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getName, getPrimitiveClassForName, getProject, getText, getXMLElement, hasIdentifier, hasText, initXMLClassName, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatchprotected DirectCollectionAccessor(String xmlElement)
protected DirectCollectionAccessor(MetadataAnnotation annotation, MetadataAccessibleObject accessibleObject, ClassAccessor classAccessor)
public boolean equals(Object objectToCompare)
equals in class DirectAccessorpublic int hashCode()
hashCode in class DirectAccessorpublic BatchFetchMetadata getBatchFetch()
public Boolean getCascadeOnDelete()
public CollectionTableMetadata getCollectionTable()
protected String getDefaultCollectionTableName()
public String getDefaultFetchType()
getDefaultFetchType in class DirectAccessorpublic String getJoinFetch()
public String getPrivateOwned()
protected DatabaseTable getReferenceDatabaseTable()
getReferenceDatabaseTable in class MappingAccessorDirectCollectionAccessor,
ManyToManyAccessorpublic MetadataDescriptor getReferenceDescriptor()
getReferenceDescriptor in class MappingAccessorprotected abstract String getKeyConverter()
public Boolean getNonCacheable()
protected String getValueConverter()
protected boolean hasMapKeyClass()
ElementCollectionAccessorpublic void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
initXMLObject in class DirectAccessorpublic Boolean isCascadeOnDelete()
public boolean isDirectCollection()
isDirectCollection in class MappingAccessorpublic boolean isNonCacheable()
protected boolean isValidDirectCollectionType()
protected boolean isValidDirectMapType()
protected void process(DatabaseMapping mapping)
protected void processBatchFetch(ForeignReferenceMapping mapping)
protected void processCollectionTable(CollectionMapping mapping)
protected void processDirectCollectionMapping()
protected void processDirectMapMapping()
public void setBatchFetch(BatchFetchMetadata batchFetch)
public void setCascadeOnDelete(Boolean cascadeOnDelete)
public void setCollectionTable(CollectionTableMetadata collectionTable)
public void setNonCacheable(Boolean nonCacheable)
public void setJoinFetch(String joinFetch)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.