public class ArrayAccessor extends DirectAccessor
| Constructor and Description |
|---|
ArrayAccessor()
INTERNAL:
Used for OX mapping.
|
ArrayAccessor(MetadataAnnotation array,
MetadataAccessibleObject accessibleObject,
ClassAccessor classAccessor)
INTERNAL:
Used for annotations.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object objectToCompare)
INTERNAL:
|
ColumnMetadata |
getColumn()
INTERNAL:
Used for OX mapping.
|
java.lang.String |
getDatabaseType()
INTERNAL:
Used for OX mapping.
|
java.lang.String |
getDefaultFetchType()
INTERNAL:
|
EmbeddableAccessor |
getEmbeddableAccessor()
INTERNAL:
|
MetadataClass |
getReferenceClass()
If a targetClass is specified in metadata, it will be set as the
reference class, otherwise we will look to extract one from generics.
|
MetadataDescriptor |
getReferenceDescriptor()
In an element collection case, when the collection is not an embeddable
collection, there is no notion of a reference descriptor, therefore we
return this accessors descriptor
|
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
boolean |
isDirectEmbeddableCollection()
INTERNAL:
Return true if this element collection contains embeddable objects.
|
void |
process()
INTERNAL:
Process the ArrayMapping or ObjectArrayMapping.
|
void |
setColumn(ColumnMetadata column)
INTERNAL:
Used for OX mapping.
|
void |
setDatabaseType(java.lang.String databaseType)
INTERNAL:
Used for OX mapping.
|
void |
setTargetClassName(java.lang.String targetClassName)
INTERNAL:
Used for OX mapping.
|
getConvert, 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, getReferenceClassWithGenerics, getSetMethodName, hasAttributeType, hasMapKey, initXMLMappingAccessor, isAnnotationPresent, isBasic, isBasicCollection, isBasicMap, isCollectionAccessor, isDerivedIdClass, isDirectCollection, 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 ArrayAccessor()
public ArrayAccessor(MetadataAnnotation array, MetadataAccessibleObject accessibleObject, ClassAccessor classAccessor)
public boolean equals(java.lang.Object objectToCompare)
equals in class DirectAccessorpublic ColumnMetadata getColumn()
public java.lang.String getDatabaseType()
public java.lang.String getDefaultFetchType()
getDefaultFetchType in class DirectAccessorpublic EmbeddableAccessor getEmbeddableAccessor()
public MetadataClass getReferenceClass()
MappedSuperclass descriptors return Void when their parameterized generic reference class is null
getReferenceClass in class MappingAccessorpublic MetadataDescriptor getReferenceDescriptor()
getReferenceDescriptor in class MappingAccessorpublic void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
initXMLObject in class DirectAccessorpublic boolean isDirectEmbeddableCollection()
isDirectEmbeddableCollection in class MappingAccessorpublic void process()
process in class MetadataAccessorpublic void setColumn(ColumnMetadata column)
public void setDatabaseType(java.lang.String databaseType)
public void setTargetClassName(java.lang.String targetClassName)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference