Module org.eclipse.persistence.jpa
Class CacheMetadata
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.cache.CacheMetadata
Object to hold onto cache metadata.
Key notes:
- any metadata mapped from XML to this class must be compared in the
equals method.
- when loading from annotations, the constructor accepts the metadata
accessor this metadata was loaded from. Used it to look up any
'companion' annotation needed for processing.
- methods should be preserved in alphabetical order.
- Since:
- TopLink 11g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Stringprotected Stringprotected Booleanprotected Integerprotected TimeOfDayMetadataprotected Stringprotected Booleanprotected Integerprotected StringFields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project -
Constructor Summary
ConstructorsConstructorDescriptionINTERNAL: Used for XML loading.CacheMetadata(MetadataAnnotation cache, MetadataAccessor accessor) INTERNAL: Used for annotation loading. -
Method Summary
Modifier and TypeMethodDescriptionbooleanINTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.getSize()INTERNAL: Used for OX mapping.getType()INTERNAL: Used for OX mapping.inthashCode()voidprocess(MetadataDescriptor descriptor, MetadataClass javaClass) INTERNAL:voidsetAlwaysRefresh(Boolean alwaysRefresh) INTERNAL: Used for OX mappingvoidsetCoordinationType(String coordinationType) INTERNAL: Used for OX mapping.voidsetDatabaseChangeNotificationType(String databaseChangeNotificationType) INTERNAL: Used for OX mapping.voidsetDisableHits(Boolean disableHits) INTERNAL: Used for OX mapping.voidINTERNAL: Used for OX mapping.voidsetExpiryTimeOfDay(TimeOfDayMetadata expiryTimeOfDay) INTERNAL: Used for OX mapping.voidsetIsolation(String isolation) voidsetRefreshOnlyIfNewer(Boolean refreshOnlyIfNewer) INTERNAL: Used for OX mapping.voidINTERNAL: Used for OX mapping.voidINTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
getAccessibleObject, getAccessibleObjectName, getAnnotation, getBoxedType, getDatabaseTypeEnum, getEntityMappings, getFullyQualifiedClassName, getIdentifier, getJavaClass, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getName, getPrimitiveClassForName, getProject, getText, getXMLElement, hasIdentifier, hasText, initXMLClassName, initXMLObject, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Field Details
-
m_alwaysRefresh
-
m_disableHits
-
m_isolation
-
m_refreshOnlyIfNewer
-
m_coordinationType
-
m_databaseChangeNotificationType
-
m_type
-
m_expiry
-
m_size
-
m_expiryTimeOfDay
-
-
Constructor Details
-
CacheMetadata
public CacheMetadata()INTERNAL: Used for XML loading. -
CacheMetadata
INTERNAL: Used for annotation loading.
-
-
Method Details
-
equals
INTERNAL:- Specified by:
equalsin classORMetadata
-
hashCode
public int hashCode() -
getAlwaysRefresh
INTERNAL: Used for OX mapping. -
getCoordinationType
INTERNAL: Used for OX mapping. -
getDisableHits
INTERNAL: Used for OX mapping. -
getExpiry
INTERNAL: Used for OX mapping. -
getExpiryTimeOfDay
INTERNAL: Used for OX mapping. -
getRefreshOnlyIfNewer
INTERNAL: Used for OX mapping. -
getIsolation
-
getSize
INTERNAL: Used for OX mapping. -
getType
INTERNAL: Used for OX mapping. -
process
INTERNAL: -
setAlwaysRefresh
INTERNAL: Used for OX mapping -
setCoordinationType
INTERNAL: Used for OX mapping. -
getDatabaseChangeNotificationType
INTERNAL: Used for OX mapping. -
setDatabaseChangeNotificationType
INTERNAL: Used for OX mapping. -
setDisableHits
INTERNAL: Used for OX mapping. -
setExpiry
INTERNAL: Used for OX mapping. -
setExpiryTimeOfDay
INTERNAL: Used for OX mapping. -
setRefreshOnlyIfNewer
INTERNAL: Used for OX mapping. -
setIsolation
-
setSize
INTERNAL: Used for OX mapping. -
setType
INTERNAL: Used for OX mapping.
-