public class ElementCollectionAccessor extends DirectCollectionAccessor implements MappedKeyMapAccessor
Constructor and Description |
---|
ElementCollectionAccessor()
INTERNAL:
Used for OX mapping.
|
ElementCollectionAccessor(MetadataAnnotation elementCollection,
MetadataAccessibleObject accessibleObject,
ClassAccessor classAccessor)
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
void |
addMapKeyConvert(ConvertMetadata convert)
INTERNAL:
A map key convert from an annotation specification.
|
boolean |
equals(java.lang.Object objectToCompare)
INTERNAL:
|
java.util.List<AssociationOverrideMetadata> |
getAssociationOverrides()
INTERNAL:
Used for OX mapping.
|
java.util.List<AttributeOverrideMetadata> |
getAttributeOverrides()
INTERNAL:
Used for OX mapping.
|
ColumnMetadata |
getColumn()
INTERNAL:
Used for OX mapping.
|
java.lang.String |
getCompositeMember()
INTERNAL:
Used for OX mapping.
|
java.lang.Boolean |
getDeleteAll()
INTERNAL:
Used for OX mapping.
|
EmbeddableAccessor |
getEmbeddableAccessor()
INTERNAL:
|
EnumeratedMetadata |
getEnumerated(boolean isForMapKey)
INTERNAL:
Return the enumerated metadata for this accessor.
|
MapKeyMetadata |
getMapKey()
INTERNAL:
Used for OX mapping.
|
java.util.List<AssociationOverrideMetadata> |
getMapKeyAssociationOverrides()
INTERNAL:
Used for OX mapping.
|
java.util.List<AttributeOverrideMetadata> |
getMapKeyAttributeOverrides()
INTERNAL:
Used for OX mapping.
|
MetadataClass |
getMapKeyClass()
INTERNAL:
Return the map key class on this element collection accessor.
|
java.lang.String |
getMapKeyClassName()
INTERNAL:
Used for OX mapping.
|
MetadataClass |
getMapKeyClassWithGenerics()
INTERNAL:
Future: this method is where we would provide a more explicit reference
class to support an auto-apply jpa converter.
|
ColumnMetadata |
getMapKeyColumn()
INTERNAL:
Used for OX mapping.
|
java.lang.String |
getMapKeyConvert()
INTERNAL:
|
java.util.List<ConvertMetadata> |
getMapKeyConverts()
INTERNAL:
Used for OX mapping.
|
EnumeratedMetadata |
getMapKeyEnumerated()
INTERNAL:
Used for OX mapping.
|
ForeignKeyMetadata |
getMapKeyForeignKey()
INTERNAL:
Used for OX mapping.
|
java.util.List<JoinColumnMetadata> |
getMapKeyJoinColumns()
INTERNAL:
Used for OX mapping.
|
TemporalMetadata |
getMapKeyTemporal()
INTERNAL:
Used for OX mapping.
|
OrderByMetadata |
getOrderBy()
INTERNAL:
Used for OX mapping.
|
OrderColumnMetadata |
getOrderColumn()
INTERNAL:
Used for OX mapping.
|
MetadataClass |
getReferenceClass()
INTERNAL:
If a targetEntity is specified in metadata, it will be set as the
reference class, otherwise we will look to extract one from generics.
|
MetadataDescriptor |
getReferenceDescriptor()
INTERNAL:
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
|
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.
|
boolean |
hasLob(boolean isForMapKey)
INTERNAL:
Return true if this accessor has lob metadata.
|
boolean |
hasMapKey()
INTERNAL:
|
boolean |
hasTemporal(boolean isForMapKey)
INTERNAL:
Return true if this accessor has temporal metadata.
|
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
boolean |
isDeleteAll()
INTERNAL:
Used by our XML writing facility.
|
boolean |
isDirectEmbeddableCollection()
INTERNAL:
Return true if this element collection contains embeddable objects.
|
void |
process()
INTERNAL:
Process the element collection metadata.
|
void |
setAssociationOverrides(java.util.List<AssociationOverrideMetadata> associationOverrides)
INTERNAL:
Used for OX mapping.
|
void |
setAttributeOverrides(java.util.List<AttributeOverrideMetadata> attributeOverrides)
INTERNAL:
Used for OX mapping.
|
void |
setColumn(ColumnMetadata column)
INTERNAL:
Used for OX mapping.
|
void |
setCompositeMember(java.lang.String compositeMember)
INTERNAL:
Used for OX mapping.
|
void |
setDeleteAll(java.lang.Boolean deleteAll)
INTERNAL:
Used for OX mapping.
|
void |
setMapKey(MapKeyMetadata mapKey)
INTERNAL:
Used for OX mapping.
|
void |
setMapKeyAssociationOverrides(java.util.List<AssociationOverrideMetadata> mapKeyAssociationOverrides)
INTERNAL:
Used for OX mapping.
|
void |
setMapKeyAttributeOverrides(java.util.List<AttributeOverrideMetadata> mapKeyAttributeOverrides)
INTERNAL:
Used for OX mapping.
|
void |
setMapKeyClass(MetadataClass mapKeyClass)
INTERNAL:
|
void |
setMapKeyClassName(java.lang.String mapKeyClassName)
INTERNAL:
Used for OX mapping.
|
void |
setMapKeyColumn(ColumnMetadata mapKeyColumn)
INTERNAL:
Used for OX mapping.
|
void |
setMapKeyConverts(java.util.List<ConvertMetadata> mapKeyConverts)
INTERNAL:
Used for OX mapping.
|
void |
setMapKeyEnumerated(EnumeratedMetadata mapKeyEnumerated)
INTERNAL:
Used for OX mapping.
|
void |
setMapKeyForeignKey(ForeignKeyMetadata mapKeyForeignKey)
INTERNAL:
Used for OX mapping.
|
void |
setMapKeyJoinColumns(java.util.List<JoinColumnMetadata> mapKeyJoinColumns)
INTERNAL:
Used for OX mapping.
|
void |
setMapKeyTemporal(TemporalMetadata mapKeyTemporal)
INTERNAL:
Used for OX mapping.
|
void |
setOrderBy(OrderByMetadata orderBy)
INTERNAL:
Used for OX mapping.
|
void |
setOrderColumn(OrderColumnMetadata orderColumn)
INTERNAL:
Used for OX mapping.
|
void |
setTargetClassName(java.lang.String targetClassName)
INTERNAL:
Used for OX mapping.
|
void |
setTemporal(TemporalMetadata metadata,
boolean isForMapKey)
INTERNAL: Set the temporal metadata for this accessor.
|
getBatchFetch, getCascadeOnDelete, getCollectionTable, getDefaultFetchType, getJoinFetch, getNonCacheable, getPrivateOwned, isCascadeOnDelete, isDirectCollection, isNonCacheable, setBatchFetch, setCascadeOnDelete, setCollectionTable, setJoinFetch, setNonCacheable
getConvert, getConverts, getEnumerated, getFetch, getLob, getLob, getOptional, getTemporal, isOptional, setConverts, setEnumerated, setFetch, setLob, setOptional, setTemporal
derivesId, getAttributeName, getAttributeType, getClassAccessor, getField, getGetMethodName, getMapKeyReferenceClass, getMapKeyReferenceClassName, getMapKeyReferenceClassWithGenerics, getMapping, getOwningDescriptor, getOwningDescriptors, getRawClass, getRawClassWithGenerics, getReferenceAccessors, getReferenceClassFromGeneric, getReferenceClassName, getReferenceClassWithGenerics, getSetMethodName, hasAttributeType, initXMLMappingAccessor, isAnnotationPresent, isBasic, isBasicCollection, isBasicMap, isCollectionAccessor, isDerivedIdClass, isEmbedded, isEmbeddedId, isId, isManyToMany, isManyToOne, isMapAccessor, isMappedKeyMapAccessor, isMultitenantId, isOneToMany, isOneToOne, isProcessed, isRelationship, isSerialized, isTransient, isVariableOneToOne, setAttributeType, setClassAccessor, setField, toString, usesFieldAccess, usesPropertyAccess, usesVirtualAccess
getAccess, 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, setValuePartitioning
getAccessibleObjectName, getAnnotation, getEntityMappings, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getProject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, setAccessibleObject, setEntityMappings, setProject, shouldOverride
public ElementCollectionAccessor()
public ElementCollectionAccessor(MetadataAnnotation elementCollection, MetadataAccessibleObject accessibleObject, ClassAccessor classAccessor)
public void addMapKeyConvert(ConvertMetadata convert)
public boolean equals(java.lang.Object objectToCompare)
equals
in class DirectCollectionAccessor
public java.util.List<AssociationOverrideMetadata> getAssociationOverrides()
public java.util.List<AttributeOverrideMetadata> getAttributeOverrides()
public ColumnMetadata getColumn()
public java.lang.String getCompositeMember()
public java.lang.Boolean getDeleteAll()
public EmbeddableAccessor getEmbeddableAccessor()
public EnumeratedMetadata getEnumerated(boolean isForMapKey)
getEnumerated
in class DirectAccessor
DirectAccessor
,
ElementCollectionAccessor
,
CollectionAccessor
public MapKeyMetadata getMapKey()
getMapKey
in interface MappedKeyMapAccessor
getMapKey
in class MappingAccessor
CollectionAccessor
,
ElementCollectionAccessor
public MetadataClass getMapKeyClass()
getMapKeyClass
in interface MappedKeyMapAccessor
public MetadataClass getMapKeyClassWithGenerics()
getMapKeyClassWithGenerics
in interface MappedKeyMapAccessor
public java.util.List<AssociationOverrideMetadata> getMapKeyAssociationOverrides()
getMapKeyAssociationOverrides
in interface MappedKeyMapAccessor
public java.util.List<AttributeOverrideMetadata> getMapKeyAttributeOverrides()
getMapKeyAttributeOverrides
in interface MappedKeyMapAccessor
public java.lang.String getMapKeyClassName()
public ColumnMetadata getMapKeyColumn()
getMapKeyColumn
in interface MappedKeyMapAccessor
public java.lang.String getMapKeyConvert()
getMapKeyConvert
in interface MappedKeyMapAccessor
public java.util.List<ConvertMetadata> getMapKeyConverts()
getMapKeyConverts
in interface MappedKeyMapAccessor
public EnumeratedMetadata getMapKeyEnumerated()
public ForeignKeyMetadata getMapKeyForeignKey()
getMapKeyForeignKey
in interface MappedKeyMapAccessor
public java.util.List<JoinColumnMetadata> getMapKeyJoinColumns()
getMapKeyJoinColumns
in interface MappedKeyMapAccessor
public TemporalMetadata getMapKeyTemporal()
public OrderByMetadata getOrderBy()
public OrderColumnMetadata getOrderColumn()
public MetadataClass getReferenceClass()
MappedSuperclass descriptors return Void when their parameterized generic reference class is null
getReferenceClass
in class MappingAccessor
public MetadataDescriptor getReferenceDescriptor()
getReferenceDescriptor
in class DirectCollectionAccessor
public TemporalMetadata getTemporal(boolean isForMapKey)
getTemporal
in class DirectAccessor
DirectAccessor
,
CollectionAccessor
public boolean hasEnumerated(boolean isForMapKey)
hasEnumerated
in class DirectAccessor
DirectAccessor
,
ElementCollectionAccessor
,
CollectionAccessor
public boolean hasLob(boolean isForMapKey)
hasLob
in class DirectAccessor
DirectAccessor
,
ElementCollectionAccessor
,
CollectionAccessor
public boolean hasMapKey()
hasMapKey
in class MappingAccessor
CollectionAccessor
,
ElementCollectionAccessor
,
BasicMapAccessor
public boolean hasTemporal(boolean isForMapKey)
hasTemporal
in class DirectAccessor
DirectAccessor
,
ElementCollectionAccessor
,
CollectionAccessor
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
initXMLObject
in class DirectCollectionAccessor
public boolean isDeleteAll()
public boolean isDirectEmbeddableCollection()
isDirectEmbeddableCollection
in class MappingAccessor
public void process()
process
in class MetadataAccessor
public void setAssociationOverrides(java.util.List<AssociationOverrideMetadata> associationOverrides)
public void setAttributeOverrides(java.util.List<AttributeOverrideMetadata> attributeOverrides)
public void setColumn(ColumnMetadata column)
public void setCompositeMember(java.lang.String compositeMember)
public void setDeleteAll(java.lang.Boolean deleteAll)
public void setMapKey(MapKeyMetadata mapKey)
public void setMapKeyAssociationOverrides(java.util.List<AssociationOverrideMetadata> mapKeyAssociationOverrides)
public void setMapKeyAttributeOverrides(java.util.List<AttributeOverrideMetadata> mapKeyAttributeOverrides)
public void setMapKeyClass(MetadataClass mapKeyClass)
setMapKeyClass
in interface MappedKeyMapAccessor
public void setMapKeyClassName(java.lang.String mapKeyClassName)
public void setMapKeyColumn(ColumnMetadata mapKeyColumn)
public void setMapKeyConverts(java.util.List<ConvertMetadata> mapKeyConverts)
public void setMapKeyEnumerated(EnumeratedMetadata mapKeyEnumerated)
public void setMapKeyForeignKey(ForeignKeyMetadata mapKeyForeignKey)
public void setMapKeyJoinColumns(java.util.List<JoinColumnMetadata> mapKeyJoinColumns)
public void setMapKeyTemporal(TemporalMetadata mapKeyTemporal)
public void setTemporal(TemporalMetadata metadata, boolean isForMapKey)
MappingAccessor
setTemporal
in class DirectAccessor
DirectAccessor
,
CollectionAccessor
public void setOrderBy(OrderByMetadata orderBy)
public void setOrderColumn(OrderColumnMetadata orderColumn)
public void setTargetClassName(java.lang.String targetClassName)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference