org.eclipse.jpt.core.jpa2.resource.java
Interface JavaResourcePersistentType2_0

All Superinterfaces:
JavaResourceNode, JavaResourcePersistentMember, JavaResourcePersistentType, Model

public interface JavaResourcePersistentType2_0
extends JavaResourcePersistentType

JPA 2.0 Java source code or binary persistent type.

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:
2.3
Version:
2.3

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode
JavaResourceNode.Root
 
Field Summary
static java.lang.String METAMODEL_GENERATED_ANNOTATION_VALUE
          The value used to tag a generated type:
 
Fields inherited from interface org.eclipse.jpt.core.resource.java.JavaResourcePersistentType
ABSTRACT_PROPERTY, ACCESS_PROPERTY, DECLARING_TYPE_NAME_PROPERTY, FIELDS_COLLECTION, METHODS_COLLECTION, NAME_PROPERTY, QUALIFIED_NAME_PROPERTY, SUPERCLASS_QUALIFIED_NAME_PROPERTY, TYPES_COLLECTION
 
Fields inherited from interface org.eclipse.jpt.core.resource.java.JavaResourcePersistentMember
ANNOTATIONS_COLLECTION, PERSISTABLE_PROPERTY
 
Method Summary
 GeneratedAnnotation getGeneratedAnnotation()
          Return the javax.annotation.Generated annotation.
 boolean isGeneratedMetamodelTopLevelType()
          Return whether the type is a generated metamodel top-level type.
 boolean isGeneratedMetamodelTopLevelType(org.eclipse.jdt.core.IPackageFragmentRoot sourceFolder)
          Return whether the type is a metamodel top-level type generated in the specified source folder.
 boolean isMetamodel()
          Return whether the type is a metamodel type.
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourcePersistentType
allTypes, fields, getAccess, getDeclaringTypeName, getName, getQualifiedName, getSuperclassQualifiedName, hasAnyAnnotatedAttributes, isAbstract, isMapped, methods, persistableAttributes, persistableAttributes, persistableFields, persistableFieldsWithSpecifiedFieldAccess, persistableProperties, persistablePropertiesWithSpecifiedPropertyAccess, persistableTypes, types
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourcePersistentMember
addAnnotation, addAnnotation, annotations, annotations, annotationsSize, getAnnotation, getNameTextRange, getNonNullAnnotation, isAnnotated, isFor, isPersistable, moveAnnotation, removeAnnotation, removeAnnotation, resolveTypes, setPrimaryAnnotation
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 

Field Detail

METAMODEL_GENERATED_ANNOTATION_VALUE

static final java.lang.String METAMODEL_GENERATED_ANNOTATION_VALUE
The value used to tag a generated type:
 @javax.annotation.Generated(value="Dali", date="2009-11-23T13:56:06.171-0500")
 

See Also:
Constant Field Values
Method Detail

getGeneratedAnnotation

GeneratedAnnotation getGeneratedAnnotation()
Return the javax.annotation.Generated annotation.


isGeneratedMetamodelTopLevelType

boolean isGeneratedMetamodelTopLevelType(org.eclipse.jdt.core.IPackageFragmentRoot sourceFolder)
Return whether the type is a metamodel top-level type generated in the specified source folder.


isGeneratedMetamodelTopLevelType

boolean isGeneratedMetamodelTopLevelType()
Return whether the type is a generated metamodel top-level type. The type is generated and either it or one of its nested types is a metamodel type.


isMetamodel

boolean isMetamodel()
Return whether the type is a metamodel type.