public abstract class DirectAccessor extends MappingAccessor
KEY_DOT_NOTATION, m_field, VALUE_DOT_NOTATIONm_project| Modifier | Constructor and Description |
|---|---|
protected |
DirectAccessor(MetadataAnnotation annotation,
MetadataAccessibleObject accessibleObject,
ClassAccessor classAccessor)
INTERNAL:
|
protected |
DirectAccessor(java.lang.String xmlElement)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addConvert(ConvertMetadata convert)
INTERNAL:
Subclasses that support key converts need to override this method.
|
boolean |
equals(java.lang.Object objectToCompare)
INTERNAL:
|
java.lang.String |
getConvert()
INTERNAL:
|
java.util.List<ConvertMetadata> |
getConverts()
INTERNAL:
Used for OX mapping.
|
abstract java.lang.String |
getDefaultFetchType()
INTERNAL:
|
EnumeratedMetadata |
getEnumerated()
INTERNAL:
Used for OX mapping.
|
EnumeratedMetadata |
getEnumerated(boolean isForMapKey)
INTERNAL:
Return the enumerated metadata for this accessor.
|
java.lang.String |
getFetch()
INTERNAL:
Used for OX mapping.
|
LobMetadata |
getLob()
INTERNAL:
Used for OX mapping.
|
LobMetadata |
getLob(boolean isForMapKey)
INTERNAL:
Return the lob metadata for this accessor.
|
java.lang.Boolean |
getOptional()
INTERNAL:
Used for OX mapping.
|
TemporalMetadata |
getTemporal()
INTERNAL:
Used for OX mapping.
|
TemporalMetadata |
getTemporal(boolean isForMapKey)
INTERNAL:
Return the temporal metadata for this accessor.
|
boolean |
hasEnumerated(boolean isForMapKey)
INTERNAL:
Return true if this accessor has enumerated metadata.
|
int |
hashCode() |
boolean |
hasLob(boolean isForMapKey)
INTERNAL:
Return true if this accessor has lob metadata.
|
boolean |
hasTemporal(boolean isForMapKey)
INTERNAL:
Return true if this accessor has temporal metadata.
|
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
boolean |
isOptional()
INTERNAL:
|
void |
setConverts(java.util.List<ConvertMetadata> converts)
INTERNAL:
Used for OX mapping.
|
void |
setEnumerated(EnumeratedMetadata enumerated)
INTERNAL:
Used for OX mapping.
|
void |
setFetch(java.lang.String fetch)
INTERNAL:
Used for OX mapping.
|
void |
setLob(LobMetadata lob)
INTERNAL:
Used for OX mapping.
|
void |
setOptional(java.lang.Boolean optional)
INTERNAL:
Used for OX mapping.
|
void |
setTemporal(TemporalMetadata temporalType)
INTERNAL:
Used for OX mapping.
|
void |
setTemporal(TemporalMetadata metadata,
boolean isForMapKey)
INTERNAL: Set the temporal metadata for this accessor.
|
protected boolean |
usesIndirection()
INTERNAL:
|
addConvertMetadata, 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, getReferenceDatabaseTable, getReferenceDescriptor, getSetMethodName, hasAttributeOverride, hasAttributeType, hasMapKey, hasReturnInsert, hasReturnUpdate, initXMLMappingAccessor, isAnnotationPresent, isBasic, isBasicCollection, isBasicMap, isCollectionAccessor, isDerivedIdClass, isDirectCollection, 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 DirectAccessor(java.lang.String xmlElement)
protected DirectAccessor(MetadataAnnotation annotation, MetadataAccessibleObject accessibleObject, ClassAccessor classAccessor)
protected void addConvert(ConvertMetadata convert)
addConvert in class MappingAccessorpublic boolean equals(java.lang.Object objectToCompare)
equals in class MappingAccessorpublic int hashCode()
hashCode in class MappingAccessorpublic java.lang.String getConvert()
public java.util.List<ConvertMetadata> getConverts()
public abstract java.lang.String getDefaultFetchType()
getDefaultFetchType in class MappingAccessorpublic EnumeratedMetadata getEnumerated()
public EnumeratedMetadata getEnumerated(boolean isForMapKey)
getEnumerated in class MappingAccessorDirectAccessor,
ElementCollectionAccessor,
CollectionAccessorpublic java.lang.String getFetch()
public LobMetadata getLob()
public LobMetadata getLob(boolean isForMapKey)
getLob in class MappingAccessorDirectAccessorpublic java.lang.Boolean getOptional()
public TemporalMetadata getTemporal()
public void setTemporal(TemporalMetadata metadata, boolean isForMapKey)
MappingAccessorsetTemporal in class MappingAccessorDirectAccessor,
CollectionAccessorpublic TemporalMetadata getTemporal(boolean isForMapKey)
getTemporal in class MappingAccessorDirectAccessor,
CollectionAccessorpublic boolean hasEnumerated(boolean isForMapKey)
hasEnumerated in class MappingAccessorDirectAccessor,
ElementCollectionAccessor,
CollectionAccessorpublic boolean hasLob(boolean isForMapKey)
hasLob in class MappingAccessorDirectAccessor,
ElementCollectionAccessor,
CollectionAccessorpublic boolean hasTemporal(boolean isForMapKey)
hasTemporal in class MappingAccessorDirectAccessor,
ElementCollectionAccessor,
CollectionAccessorpublic void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
initXMLObject in class MappingAccessorpublic boolean isOptional()
public void setConverts(java.util.List<ConvertMetadata> converts)
public void setEnumerated(EnumeratedMetadata enumerated)
public void setFetch(java.lang.String fetch)
public void setLob(LobMetadata lob)
public void setOptional(java.lang.Boolean optional)
public void setTemporal(TemporalMetadata temporalType)
protected boolean usesIndirection()
usesIndirection in class MappingAccessorRelationshipAccessor,
DirectAccessor