java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.multitenant.MultitenantMetadata

public class MultitenantMetadata extends ORMetadata
Object to hold onto multi-tenant metadata. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - any metadata mapped from XML to this class must be initialized in the initXMLObject 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:
EclipseLink 2.3
  • Constructor Details

    • MultitenantMetadata

      public MultitenantMetadata()
      INTERNAL: Used for XML loading.
    • MultitenantMetadata

      public MultitenantMetadata(MetadataAnnotation multitenant, MetadataAccessor accessor)
      INTERNAL: Used for annotation loading.
  • Method Details