Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.jpa2
Class JpaMetamodelSynchronizer2_0.MetamodelTools

java.lang.Object
  extended by org.eclipse.jpt.jpa.core.jpa2.JpaMetamodelSynchronizer2_0.MetamodelTools
Enclosing interface:
JpaMetamodelSynchronizer2_0

public static final class JpaMetamodelSynchronizer2_0.MetamodelTools
extends Object


Nested Class Summary
static class JpaMetamodelSynchronizer2_0.MetamodelTools.IsGeneratedMetamodelTopLevelType
           
 
Constructor Summary
JpaMetamodelSynchronizer2_0.MetamodelTools()
           
 
Method Summary
static boolean isGenerated(JavaResourceAbstractType jrat)
          The type must be annotated with @javax.annotation.Generated with the appropriate value and date.
static boolean isGeneratedMetamodelTopLevelType(JavaResourceAbstractType jrat)
          The type must be: a top-level type annotated with @javax.annotation.Generated with the appropriate value and date either itself or one of its nested types annotated with @javax.persistence.metamodel.StaticMetamodel
static boolean isGeneratedMetamodelTopLevelType(JavaResourceAbstractType jrat, IPackageFragmentRoot sourceFolder)
          The type must be: in the specified source folder a top-level type annotated with @javax.annotation.Generated with the appropriate value and date either itself or one of its nested types annotated with @javax.persistence.metamodel.StaticMetamodel
static boolean isMetamodel(JavaResourceAbstractType jrat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaMetamodelSynchronizer2_0.MetamodelTools

public JpaMetamodelSynchronizer2_0.MetamodelTools()
Method Detail

isGeneratedMetamodelTopLevelType

public static boolean isGeneratedMetamodelTopLevelType(JavaResourceAbstractType jrat,
                                                       IPackageFragmentRoot sourceFolder)
The type must be:


isGeneratedMetamodelTopLevelType

public static boolean isGeneratedMetamodelTopLevelType(JavaResourceAbstractType jrat)
The type must be:


isGenerated

public static boolean isGenerated(JavaResourceAbstractType jrat)
The type must be annotated with @javax.annotation.Generated with the appropriate value and date.


isMetamodel

public static boolean isMetamodel(JavaResourceAbstractType jrat)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.