EclipseLink 2.5.0, build 'v20130425-368d603' API Reference

org.eclipse.persistence.jpa.jpql.tools.spi.java
Class JavaMappedSuperclass

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.tools.spi.java.JavaManagedType
      extended by org.eclipse.persistence.jpa.jpql.tools.spi.java.JavaMappedSuperclass
All Implemented Interfaces:
java.lang.Comparable<IManagedType>, IManagedType, IMappedSuperclass

public class JavaMappedSuperclass
extends JavaManagedType
implements IMappedSuperclass

The concrete implementation of IMappedSuperclass that is wrapping the runtime representation of a JPA mapped superclass.

Version:
2.4
Author:
Pascal Filion
Since:
2.3

Constructor Summary
JavaMappedSuperclass(IManagedTypeProvider provider, JavaType type, IMappingBuilder<java.lang.reflect.Member> mappingBuilder)
          Creates a new JavaMappedSuperclass.
 
Method Summary
 void accept(IManagedTypeVisitor visitor)
          Visits this managed type with the given visitor.
 java.lang.String toString()
          
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.spi.java.JavaManagedType
buildMapping, compareTo, getAccessType, getMappingNamed, getProvider, getType, initializeMappings, initializeMappings, isPersistentAttribute, isProperty, mappings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.persistence.jpa.jpql.tools.spi.IManagedType
getMappingNamed, getProvider, getType, mappings
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

JavaMappedSuperclass

public JavaMappedSuperclass(IManagedTypeProvider provider,
                            JavaType type,
                            IMappingBuilder<java.lang.reflect.Member> mappingBuilder)
Creates a new JavaMappedSuperclass.

Parameters:
provider - The provider of JPA managed types
type - The IType wrapping the Java type
mappingBuilder - The builder that is responsible to create the persistence.jpa.jpql.spi.IMapping IMapping wrapping a persistent attribute or property
Method Detail

accept

public void accept(IManagedTypeVisitor visitor)
Visits this managed type with the given visitor.

Specified by:
accept in interface IManagedType
Parameters:
visitor - The visitor to visit this managed type object

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

EclipseLink 2.5.0, build 'v20130425-368d603' API Reference