Dali Provisional API
Release 3.2

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

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

public static final class MetamodelSynchronizer.MetamodelTools
extends Object


Nested Class Summary
static class MetamodelSynchronizer.MetamodelTools.IsGeneratedMetamodelTopLevelType
           
 
Constructor Summary
MetamodelSynchronizer.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

MetamodelSynchronizer.MetamodelTools

public MetamodelSynchronizer.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.