public final class Context
extends java.lang.Object
Constructor and Description |
---|
Context(javax.annotation.processing.ProcessingEnvironment pe) |
Modifier and Type | Method and Description |
---|---|
void |
addAccessTypeInformation(java.lang.String fqcn,
AccessTypeInformation info) |
boolean |
addGeneratedAnnotation() |
boolean |
addGeneratedDate() |
void |
addMetaEmbeddable(java.lang.String fqcn,
MetaEntity metaEntity) |
void |
addMetaEntity(java.lang.String fqcn,
MetaEntity metaEntity) |
boolean |
containsMetaEmbeddable(java.lang.String fqcn) |
boolean |
containsMetaEntity(java.lang.String fqcn) |
boolean |
doLazyXmlParsing() |
AccessTypeInformation |
getAccessTypeInfo(java.lang.String fqcn) |
javax.lang.model.util.Elements |
getElementUtils() |
MetaEntity |
getMetaEmbeddable(java.lang.String fqcn) |
java.util.Collection<MetaEntity> |
getMetaEmbeddables() |
java.util.Collection<MetaEntity> |
getMetaEntities() |
MetaEntity |
getMetaEntity(java.lang.String fqcn) |
java.util.List<java.lang.String> |
getOrmXmlFiles() |
AccessType |
getPersistenceUnitDefaultAccessType() |
java.lang.String |
getPersistenceXmlLocation() |
javax.annotation.processing.ProcessingEnvironment |
getProcessingEnvironment() |
javax.lang.model.element.TypeElement |
getTypeElementForFullyQualifiedName(java.lang.String fqcn) |
javax.lang.model.util.Types |
getTypeUtils() |
boolean |
isAddSuppressWarningsAnnotation() |
boolean |
isFullyXmlConfigured() |
void |
logMessage(javax.tools.Diagnostic.Kind type,
java.lang.String message) |
void |
mappingDocumentFullyXmlConfigured(boolean fullyXmlConfigured) |
void |
setAddGeneratedAnnotation(boolean addGeneratedAnnotation) |
void |
setAddGenerationDate(boolean addGenerationDate) |
void |
setAddSuppressWarningsAnnotation(boolean addSuppressWarningsAnnotation) |
void |
setPersistenceUnitDefaultAccessType(AccessType persistenceUnitDefaultAccessType) |
java.lang.String |
toString() |
public javax.annotation.processing.ProcessingEnvironment getProcessingEnvironment()
public boolean addGeneratedAnnotation()
public void setAddGeneratedAnnotation(boolean addGeneratedAnnotation)
public boolean addGeneratedDate()
public void setAddGenerationDate(boolean addGenerationDate)
public boolean isAddSuppressWarningsAnnotation()
public void setAddSuppressWarningsAnnotation(boolean addSuppressWarningsAnnotation)
public javax.lang.model.util.Elements getElementUtils()
public javax.lang.model.util.Types getTypeUtils()
public java.lang.String getPersistenceXmlLocation()
public java.util.List<java.lang.String> getOrmXmlFiles()
public boolean containsMetaEntity(java.lang.String fqcn)
public MetaEntity getMetaEntity(java.lang.String fqcn)
public java.util.Collection<MetaEntity> getMetaEntities()
public void addMetaEntity(java.lang.String fqcn, MetaEntity metaEntity)
public boolean containsMetaEmbeddable(java.lang.String fqcn)
public MetaEntity getMetaEmbeddable(java.lang.String fqcn)
public void addMetaEmbeddable(java.lang.String fqcn, MetaEntity metaEntity)
public java.util.Collection<MetaEntity> getMetaEmbeddables()
public void addAccessTypeInformation(java.lang.String fqcn, AccessTypeInformation info)
public AccessTypeInformation getAccessTypeInfo(java.lang.String fqcn)
public javax.lang.model.element.TypeElement getTypeElementForFullyQualifiedName(java.lang.String fqcn)
public void logMessage(javax.tools.Diagnostic.Kind type, java.lang.String message)
public boolean isFullyXmlConfigured()
public void mappingDocumentFullyXmlConfigured(boolean fullyXmlConfigured)
public AccessType getPersistenceUnitDefaultAccessType()
public void setPersistenceUnitDefaultAccessType(AccessType persistenceUnitDefaultAccessType)
public boolean doLazyXmlParsing()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.