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
Modifier and TypeFieldDescriptionprotected Boolean
protected String
protected String
protected Boolean
protected Integer
protected TimeOfDayMetadata
protected String
protected Boolean
protected Integer
protected String
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project
-
Constructor Summary
ConstructorDescriptionINTERNAL: Used for XML loading.CacheMetadata
(MetadataAnnotation cache, MetadataAccessor accessor) INTERNAL: Used for annotation loading. -
Method Summary
Modifier and TypeMethodDescriptionboolean
INTERNAL: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.int
hashCode()
void
process
(MetadataDescriptor descriptor, MetadataClass javaClass) INTERNAL:void
setAlwaysRefresh
(Boolean alwaysRefresh) INTERNAL: Used for OX mappingvoid
setCoordinationType
(String coordinationType) INTERNAL: Used for OX mapping.void
setDatabaseChangeNotificationType
(String databaseChangeNotificationType) INTERNAL: Used for OX mapping.void
setDisableHits
(Boolean disableHits) INTERNAL: Used for OX mapping.void
INTERNAL: Used for OX mapping.void
setExpiryTimeOfDay
(TimeOfDayMetadata expiryTimeOfDay) INTERNAL: Used for OX mapping.void
setIsolation
(String isolation) void
setRefreshOnlyIfNewer
(Boolean refreshOnlyIfNewer) INTERNAL: Used for OX mapping.void
INTERNAL: Used for OX mapping.void
INTERNAL: 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:
equals
in 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.
-