Class MultitenantIdAccessor


  • public class MultitenantIdAccessor
    extends IdAccessor
    A multitenant id accessor. This is a special type of mapping accessor in that it is not mapped in the object and this mapping accessor is not mapped through annotations and/or XML. They are created on the fly when tenant discrimator columns are found that specify primaryKey=true. Key notes: - methods should be preserved in alphabetical order.
    Since:
    EclipseLink 2.4
    Author:
    Guy Pelletier
    • Field Detail

      • m_tenantDiscriminatorField

        protected org.eclipse.persistence.internal.helper.DatabaseField m_tenantDiscriminatorField
      • m_contextProperty

        protected java.lang.String m_contextProperty
    • Constructor Detail

      • MultitenantIdAccessor

        public MultitenantIdAccessor​(java.lang.String contextProperty,
                                     org.eclipse.persistence.internal.helper.DatabaseField tenantDiscriminatorField,
                                     MetadataAccessibleObject accessibleObject,
                                     ClassAccessor classAccessor)
        INTERNAL: