Dali Provisional API
Release 3.2

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

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

public class JpaEmbeddable
extends JpaManagedType

The concrete implementation of IEmbeddable that is wrapping the design-time representation of a JPA embeddable. 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
JpaEmbeddable(JpaManagedTypeProvider provider, Embeddable embeddable,  mappingBuilder)
          Creates a new JpaEmbeddable.
 
Method Summary
 void accept(IManagedTypeVisitor visitor)
          
 Embeddable 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

JpaEmbeddable

public JpaEmbeddable(JpaManagedTypeProvider provider,
                     Embeddable embeddable,
                      mappingBuilder)
Creates a new JpaEmbeddable.

Parameters:
provider - The provider of JPA managed types
embeddable - 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 Embeddable 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.