public abstract class CollectionAccessor extends RelationshipAccessor implements MappedKeyMapAccessor
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.lang.String |
getDefaultFetchType()
INTERNAL:
Return the default fetch type for a collection mapping.
|
java.lang.Boolean |
getDeleteAll()
INTERNAL:
Used for OX mapping.
|
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:
|
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.
|
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.
|
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 |
hasMapKey()
INTERNAL:
|
boolean |
hasTemporal(boolean isForMapKey)
INTERNAL:
Return true if this accessor has temporal metadata.
|
void |
initXMLObject(MetadataAccessibleObject accessibleObject,
XMLEntityMappings entityMappings)
INTERNAL:
|
boolean |
isCollectionAccessor()
INTERNAL:
Return true if this accessor represents a collection accessor.
|
boolean |
isDeleteAll()
INTERNAL:
Used by our XML writing facility.
|
void |
process()
INTERNAL:
This process should do any common validation processing of collection
accessors.
|
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 |
setTemporal(TemporalMetadata metadata,
boolean isForMapKey)
INTERNAL: Set the temporal metadata for this accessor.
|
getBatchFetch, getCascade, getCascadeOnDelete, getFetch, getForeignKey, getJoinColumns, getJoinFetch, getJoinFields, getJoinTable, getMappedBy, getNonCacheable, getOrphanRemoval, getPrivateOwned, getReferenceDescriptor, getTargetEntity, getTargetEntityName, hasMappedBy, isCascadeOnDelete, isLazy, isNonCacheable, isPrivateOwned, isValueHolderInterface, setBatchFetch, setCascade, setCascadeOnDelete, setFetch, setForeignKey, setJoinColumns, setJoinFetch, setJoinFields, setJoinTable, setMappedBy, setNonCacheable, setOrphanRemoval, setPrivateOwned, setTargetEntity, setTargetEntityName
derivesId, getAttributeName, getAttributeType, getClassAccessor, getField, getGetMethodName, getLob, getMapKeyReferenceClass, getMapKeyReferenceClassName, getMapKeyReferenceClassWithGenerics, getMapping, getOwningDescriptor, getOwningDescriptors, getRawClass, getRawClassWithGenerics, getReferenceAccessors, getReferenceClassFromGeneric, getReferenceClassName, getReferenceClassWithGenerics, getSetMethodName, hasAttributeType, initXMLMappingAccessor, isAnnotationPresent, isBasic, isBasicCollection, isBasicMap, isDerivedIdClass, isDirectCollection, isDirectEmbeddableCollection, 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 void addMapKeyConvert(ConvertMetadata convert)
public boolean equals(java.lang.Object objectToCompare)
equals
in class RelationshipAccessor
public java.lang.String getDefaultFetchType()
getDefaultFetchType
in class RelationshipAccessor
public java.lang.Boolean getDeleteAll()
public EnumeratedMetadata getEnumerated(boolean isForMapKey)
getEnumerated
in class MappingAccessor
DirectAccessor
,
ElementCollectionAccessor
,
CollectionAccessor
public MapKeyMetadata getMapKey()
getMapKey
in interface MappedKeyMapAccessor
getMapKey
in class MappingAccessor
CollectionAccessor
,
ElementCollectionAccessor
public java.util.List<AssociationOverrideMetadata> getMapKeyAssociationOverrides()
getMapKeyAssociationOverrides
in interface MappedKeyMapAccessor
public java.util.List<AttributeOverrideMetadata> getMapKeyAttributeOverrides()
getMapKeyAttributeOverrides
in interface MappedKeyMapAccessor
public MetadataClass getMapKeyClass()
getMapKeyClass
in interface MappedKeyMapAccessor
public java.lang.String getMapKeyClassName()
public MetadataClass getMapKeyClassWithGenerics()
getMapKeyClassWithGenerics
in interface MappedKeyMapAccessor
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 MetadataClass getReferenceClass()
getReferenceClass
in class MappingAccessor
public TemporalMetadata getTemporal(boolean isForMapKey)
getTemporal
in class MappingAccessor
DirectAccessor
,
CollectionAccessor
public void setTemporal(TemporalMetadata metadata, boolean isForMapKey)
MappingAccessor
DirectAccessor
,
CollectionAccessor
public boolean hasEnumerated(boolean isForMapKey)
public boolean hasMapKey()
hasMapKey
in class MappingAccessor
CollectionAccessor
,
ElementCollectionAccessor
,
BasicMapAccessor
public boolean hasTemporal(boolean isForMapKey)
hasTemporal
in class MappingAccessor
DirectAccessor
,
ElementCollectionAccessor
,
CollectionAccessor
public boolean isCollectionAccessor()
isCollectionAccessor
in class MappingAccessor
public boolean isDeleteAll()
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
initXMLObject
in class RelationshipAccessor
public void process()
process
in class RelationshipAccessor
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 setOrderBy(OrderByMetadata orderBy)
public void setOrderColumn(OrderColumnMetadata orderColumn)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference