Package org.hibernate.processor.model
Interface Metamodel
- All Superinterfaces:
ImportContext
- All Known Implementing Classes:
AnnotationMeta
,AnnotationMetaEntity
,AnnotationMetaPackage
,NonManagedMetamodel
,XmlMetaEntity
-
Method Summary
Modifier and TypeMethodDescription@Nullable Element
importType
(String fqcn) Add fqcn to the import list.boolean
Is this an implementation of a repository interface?boolean
Can this be injected into things?boolean
Is it a Jakarta Data style metamodel interface?boolean
javadoc()
scope()
What is its CDI scope for injection?staticImport
(String fqcn, String member)
-
Method Details
-
getSimpleName
String getSimpleName() -
getQualifiedName
String getQualifiedName() -
getSuperTypeElement
@Nullable Element getSuperTypeElement() -
getPackageName
String getPackageName() -
getMembers
List<MetaAttribute> getMembers() -
generateImports
String generateImports()- Specified by:
generateImports
in interfaceImportContext
-
importType
Description copied from interface:ImportContext
Add fqcn to the import list. Returns fqcn as needed in source code. Attempts to handle fqcn with array and generics references.e.g.
java.util.Collection<org.marvel.Hulk>
importsjava.util.Collection
and returnsCollection
org.marvel.Hulk[]
importsorg.marvel.Hulk
and returnsHulk
- Specified by:
importType
in interfaceImportContext
- Parameters:
fqcn
- Fully qualified class name of the type to import.- Returns:
- import string
-
staticImport
- Specified by:
staticImport
in interfaceImportContext
-
getElement
Element getElement() -
isMetaComplete
boolean isMetaComplete() -
getContext
Context getContext() -
isImplementation
boolean isImplementation()Is this an implementation of a repository interface? -
isInjectable
boolean isInjectable()Can this be injected into things? -
scope
String scope()What is its CDI scope for injection? -
isJakartaDataStyle
boolean isJakartaDataStyle()Is it a Jakarta Data style metamodel interface? -
inheritedAnnotations
List<AnnotationMirror> inheritedAnnotations() -
javadoc
String javadoc()
-