Class ManyToOneMapping

java.lang.Object
org.eclipse.persistence.core.mappings.CoreMapping<AttributeAccessor,org.eclipse.persistence.internal.sessions.AbstractSession,org.eclipse.persistence.internal.queries.ContainerPolicy,ClassDescriptor,org.eclipse.persistence.internal.helper.DatabaseField>
All Implemented Interfaces:
Serializable, Cloneable, MapComponentMapping, MapKeyMapping, RelationalMapping

public class ManyToOneMapping extends OneToOneMapping

Purpose: Define the relationship to be a ManyToOne. This is mainly functionally the same as OneToOneMapping.

See Also:
Author:
James Sutherland
  • Constructor Details

    • ManyToOneMapping

      public ManyToOneMapping()
      PUBLIC: Default constructor.
  • Method Details

    • isManyToOneMapping

      public boolean isManyToOneMapping()
      INTERNAL: Related mapping should implement this method to return true.
      Overrides:
      isManyToOneMapping in class DatabaseMapping