Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.jpql.spi
Class JpaMappedSuperclass

java.lang.Object
  extended by org.eclipse.jpt.jpa.core.jpql.spi.JpaManagedType
      extended by org.eclipse.jpt.jpa.core.jpql.spi.JpaMappedSuperclass

public class JpaMappedSuperclass
extends JpaManagedType

The concrete implementation of IMappedSuperclass that is wrapping the design-time representation of a JPA mapped superclass. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
3.0

Constructor Summary
JpaMappedSuperclass(JpaManagedTypeProvider provider, MappedSuperclass mappedSuperclass,  mappingBuilder)
          Creates a new JpaMappedSuperclass.
 
Method Summary
 void accept(IManagedTypeVisitor visitor)
          
 MappedSuperclass getManagedType()
          Returns the encapsulated model object.
 String toString()
          
 
Methods inherited from class org.eclipse.jpt.jpa.core.jpql.spi.JpaManagedType
buildMapping, buildMappings, compareTo, getMappingBuilder, getMappingNamed, getProvider, getType, initializeMappings, mappings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JpaMappedSuperclass

public JpaMappedSuperclass(JpaManagedTypeProvider provider,
                           MappedSuperclass mappedSuperclass,
                            mappingBuilder)
Creates a new JpaMappedSuperclass.

Parameters:
provider - The provider of JPA managed types
mappedSuperclass - The design-time model object wrapped by this class
mappingBuilder - The builder that is responsible to create the IMapping wrapping a persistent attribute or property
Method Detail

accept

public void accept(IManagedTypeVisitor visitor)


getManagedType

public MappedSuperclass getManagedType()
Returns the encapsulated model object.

Overrides:
getManagedType in class JpaManagedType
Returns:
The managed type wrapped by this external form

toString

public String toString()

Overrides:
toString in class Object

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.