public class ArrayAccessor extends DirectAccessor
| Constructor and Description |
|---|
ArrayAccessor()
Used for OX mapping.
|
ArrayAccessor(MetadataAnnotation array,
MetadataAccessibleObject accessibleObject,
ClassAccessor classAccessor)
Used for annotations.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object objectToCompare)
INTERNAL:
|
ColumnMetadata |
getColumn() |
java.lang.String |
getDatabaseType() |
java.lang.String |
getDefaultFetchType()
INTERNAL:
|
EmbeddableAccessor |
getEmbeddableAccessor() |
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()
Return true if this element collection contains embeddable objects.
|
void |
process()
Process the ArrayMapping or ObjectArrayMapping.
|
void |
setColumn(ColumnMetadata column) |
void |
setDatabaseType(java.lang.String databaseType) |
void |
setTargetClassName(java.lang.String targetClassName) |
getConvert, getEnumerated, getEnumerated, getFetch, getLob, getLob, getOptional, getTemporal, getTemporal, hasEnumerated, hasLob, hasTemporal, isOptional, setConvert, setEnumerated, setFetch, setLob, setOptional, setTemporalderivesId, getAttributeName, getAttributeType, getClassAccessor, getField, getGetMethodName, getMapKey, getMapKeyReferenceClass, getMapKeyReferenceClassName, getMapping, getOwningDescriptor, getOwningDescriptors, getRawClass, getReferenceAccessors, getReferenceClassFromGeneric, getReferenceClassName, 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, 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, setStructConverters, setTypeConverters, setUnionPartitioning, setValuePartitioninggetAccessibleObjectName, getEntityMappings, getJavaClass, getJavaClassName, 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)
DirectAccessorequals in class DirectAccessorpublic ColumnMetadata getColumn()
public 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)
DirectAccessorinitXMLObject in class DirectAccessorpublic boolean isDirectEmbeddableCollection()
isDirectEmbeddableCollection in class MappingAccessorpublic void process()
process in class MetadataAccessorpublic void setColumn(ColumnMetadata column)
public void setTargetClassName(java.lang.String targetClassName)
public java.lang.String getDefaultFetchType()
DirectAccessorgetDefaultFetchType in class DirectAccessorpublic java.lang.String getDatabaseType()
public void setDatabaseType(java.lang.String databaseType)
EclipseLink 2.4.2, "build v20130514-5956486" API Reference