Module org.eclipse.persistence.core
Class NamespaceResolvableProject
- java.lang.Object
-
- org.eclipse.persistence.core.sessions.CoreProject<ClassDescriptor,Login,DatabaseSession>
-
- org.eclipse.persistence.sessions.Project
-
- org.eclipse.persistence.internal.sessions.factories.NamespaceResolvableProject
-
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
EISObjectPersistenceXMLProject,ObjectPersistenceRuntimeXMLProject,OXMObjectPersistenceRuntimeXMLProject
public abstract class NamespaceResolvableProject extends Project
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringECLIPSELINK_NAMESPACEstatic StringECLIPSELINK_PREFIXprotected QNamefieldQnameprotected NamespaceResolverWithPrefixesnsstatic StringOPM_NAMESPACEstatic StringOPM_PREFIXstatic StringTOPLINK_NAMESPACEstatic StringTOPLINK_PREFIX-
Fields inherited from class org.eclipse.persistence.sessions.Project
aliasDescriptors, allowExtendedCacheLogging, allowExtendedThreadLogging, allowExtendedThreadLoggingThreadDump, allowNativeSQLQueries, allowQueryResultsCacheValidation, allowSQLDeferral, allowTablePerMultitenantDDLGeneration, attributeGroups, classNamesForWeaving, datasourceLogin, defaultCacheIsolation, defaultIdentityMapClass, defaultIdentityMapSize, defaultIdValidation, defaultQueryResultsCachePolicy, defaultReadOnlyClasses, defaultTemporalMutable, descriptors, descriptorsLock, hasGenericHistorySupport, hasIsolatedClasses, hasMappingsPostCalculateChangesOnDeleted, hasNonIsolatedUOWClasses, hasProxyIndirection, jpaQueries, jpaTablePerTenantQueries, jpqlParseCache, mappedSuperclassDescriptors, metamodelIdClassMap, multitenantPolicy, name, namingIntoIndexed, orderedDescriptors, partitioningPolicies, queries, queryCacheForceDeferredLocks, sqlResultSetMappings, structConverters, vpdIdentifier, vpdLastIdentifierClassName
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNamespaceResolvableProject()protectedNamespaceResolvableProject(NamespaceResolverWithPrefixes ns)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidbuildDescriptors()protected voidbuildNamespaceResolver()NamespaceResolverWithPrefixesgetNamespaceResolver()StringgetPrimaryNamespace()StringgetPrimaryNamespacePrefix()StringgetPrimaryNamespaceXPath()StringgetSecondaryNamespace()StringgetSecondaryNamespacePrefix()StringgetSecondaryNamespaceXPath()StringresolvePrimaryNamespace()StringresolveSecondaryNamespace()protected voidsetNamespaceResolverOnDescriptors()-
Methods inherited from class org.eclipse.persistence.sessions.Project
addAlias, addDefaultReadOnlyClass, addDescriptor, addDescriptor, addDescriptors, addDescriptors, addJPAQuery, addJPATablePerTenantQuery, addMappedSuperclass, addMetamodelIdClassMapEntry, addPartitioningPolicy, addSQLResultSetMapping, allowExtendedCacheLogging, allowExtendedThreadLogging, allowExtendedThreadLoggingThreadDump, allowNativeSQLQueries, allowSQLDeferral, allowTablePerMultitenantDDLGeneration, applyLogin, assumeExistenceForDoesExist, checkCacheForDoesExist, checkDatabaseForDoesExist, clone, conformAllDescriptors, convertClassNamesToClasses, createDatabaseSession, createServerSession, createServerSession, createServerSession, createServerSession, getAliasDescriptors, getAttributeGroups, getClassDescriptor, getClassNamesForWeaving, getDatasourceLogin, getDefaultCacheIsolation, getDefaultIdentityMapClass, getDefaultIdentityMapSize, getDefaultIdValidation, getDefaultQueryResultsCachePolicy, getDefaultReadOnlyClasses, getDefaultTemporalMutable, getDescriptor, getDescriptorForAlias, getDescriptors, getJPAQueries, getJPATablePerTenantQueries, getJPQLParseCache, getJPQLParseCacheMaxSize, getLogin, getMappedSuperclass, getMappedSuperclassDescriptors, getMetamodelIdClassMap, getMultitenantPolicy, getName, getOrderedDescriptors, getPartitioningPolicies, getPartitioningPolicy, getQueries, getSQLResultSetMapping, getStructConverters, getVPDIdentifier, getVPDLastIdentifierClassName, hasGenericHistorySupport, hasIsolatedCacheClassWithoutUOWIsolation, hasIsolatedClasses, hasMappedSuperclass, hasMappedSuperclasses, hasMappingsPostCalculateChangesOnDeleted, hasNonIsolatedUOWClasses, hasProxyIndirection, hasSQLResultSetMapping, hasVPDIdentifier, isAllowQueryResultsCacheValidation, isQueryCacheForceDeferredLocks, namingIntoIndexed, setAliasDescriptors, setAllowExtendedCacheLogging, setAllowExtendedThreadLogging, setAllowExtendedThreadLoggingThreadDump, setAllowNativeSQLQueries, setAllowQueryResultsCacheValidation, setAllowSQLDeferral, setAllowTablePerMultitenantDDLGeneration, setClassNamesForWeaving, setDatasourceLogin, setDefaultCacheIsolation, setDefaultIdentityMapClass, setDefaultIdentityMapSize, setDefaultIdValidation, setDefaultQueryResultsCachePolicy, setDefaultReadOnlyClasses, setDefaultTemporalMutable, setDeferModificationsUntilCommit, setDescriptors, setHasGenericHistorySupport, setHasIsolatedClasses, setHasMappingsPostCalculateChangesOnDeleted, setHasNonIsolatedUOWClasses, setHasProxyIndirection, setJPQLParseCache, setJPQLParseCacheMaxSize, setLogin, setLogin, setMultitenantPolicy, setName, setNamingIntoIndexed, setOrderedDescriptors, setPartitioningPolicies, setQueries, setQueryCacheForceDeferredLocks, setStructConverters, setVPDIdentifier, setVPDLastIdentifierClassName, toString, useCacheIdentityMap, useCacheIdentityMap, useFullIdentityMap, useFullIdentityMap, useNoIdentityMap, useSoftCacheWeakIdentityMap, useSoftCacheWeakIdentityMap, usesOptimisticLocking, usesSequencing, useWeakIdentityMap, useWeakIdentityMap
-
-
-
-
Field Detail
-
ECLIPSELINK_PREFIX
public static final String ECLIPSELINK_PREFIX
- See Also:
- Constant Field Values
-
ECLIPSELINK_NAMESPACE
public static final String ECLIPSELINK_NAMESPACE
- See Also:
- Constant Field Values
-
TOPLINK_PREFIX
public static final String TOPLINK_PREFIX
- See Also:
- Constant Field Values
-
TOPLINK_NAMESPACE
public static final String TOPLINK_NAMESPACE
- See Also:
- Constant Field Values
-
OPM_PREFIX
public static final String OPM_PREFIX
- See Also:
- Constant Field Values
-
OPM_NAMESPACE
public static final String OPM_NAMESPACE
- See Also:
- Constant Field Values
-
ns
protected NamespaceResolverWithPrefixes ns
-
fieldQname
protected QName fieldQname
-
-
Constructor Detail
-
NamespaceResolvableProject
protected NamespaceResolvableProject()
-
NamespaceResolvableProject
protected NamespaceResolvableProject(NamespaceResolverWithPrefixes ns)
-
-
Method Detail
-
getNamespaceResolver
public NamespaceResolverWithPrefixes getNamespaceResolver()
-
buildNamespaceResolver
protected void buildNamespaceResolver()
-
getPrimaryNamespacePrefix
public String getPrimaryNamespacePrefix()
-
getPrimaryNamespace
public String getPrimaryNamespace()
-
getPrimaryNamespaceXPath
public String getPrimaryNamespaceXPath()
-
resolvePrimaryNamespace
public String resolvePrimaryNamespace()
-
getSecondaryNamespacePrefix
public String getSecondaryNamespacePrefix()
-
getSecondaryNamespace
public String getSecondaryNamespace()
-
getSecondaryNamespaceXPath
public String getSecondaryNamespaceXPath()
-
resolveSecondaryNamespace
public String resolveSecondaryNamespace()
-
buildDescriptors
protected abstract void buildDescriptors()
-
setNamespaceResolverOnDescriptors
protected void setNamespaceResolverOnDescriptors()
-
-