|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jpt.jpa.core.jpql.spi.JpaManagedType
public abstract class JpaManagedType
The abstract definition of IManagedType defined for wrapping the design-time mapped class
object.
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.
| Constructor Summary | |
|---|---|
protected |
JpaManagedType(JpaManagedTypeProvider provider,
TypeMapping managedType,
Creates a new JDeveloperManagedType. |
| Method Summary | |
|---|---|
protected IMapping |
buildMapping(AttributeMapping mapping)
Creates the external form that needs to wrap the given AttributeMapping. |
protected Map<String,IMapping> |
buildMappings()
Creates an external form for each AttributeMapping and stores them by using their
mapping name. |
int |
compareTo(IManagedType managedType)
|
TypeMapping |
getManagedType()
Returns the encapsulated model object. |
protected |
getMappingBuilder()
Returns the builder that is responsible to create the IMapping wrapping a persistent
attribute or property. |
IMapping |
getMappingNamed(String name)
|
JpaManagedTypeProvider |
getProvider()
|
IType |
getType()
|
protected void |
initializeMappings()
Initializes this managed type. |
Iterable<IMapping> |
mappings()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected JpaManagedType(JpaManagedTypeProvider provider,
TypeMapping managedType,
mappingBuilder)
JDeveloperManagedType.
managedType - The provider of JPA managed typesmappedClass - The design-time model object wrapped by this classmappingBuilder - The builder that is responsible to create the IMapping wrapping
a persistent attribute or property| Method Detail |
|---|
protected IMapping buildMapping(AttributeMapping mapping)
AttributeMapping. By default,
the call is delegated to IMappingBuilder.
mapping - The mapping to wrap with a IMapping
IMappingprotected Map<String,IMapping> buildMappings()
AttributeMapping and stores them by using their
mapping name.
public int compareTo(IManagedType managedType)
public TypeMapping getManagedType()
protectedgetMappingBuilder()
IMapping wrapping a persistent
attribute or property.
IMappingBuilderpublic IMapping getMappingNamed(String name)
public JpaManagedTypeProvider getProvider()
public IType getType()
protected void initializeMappings()
public Iterable<IMapping> mappings()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||