public class JPAMetadataProcessor extends Object implements MetadataProcessor<javax.persistence.EntityManager>
Modifier and Type | Field and Description |
---|---|
static String |
ENTITYCLASS |
static String |
KEY_ASSOSIATED_WITH_FOREIGN_TABLE |
Constructor and Description |
---|
JPAMetadataProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
process(MetadataFactory mf,
javax.persistence.EntityManager entityManager) |
@ExtensionMetadataProperty(applicable=Column.class, datatype=java.lang.String.class, display="Foriegn Table Name", description="Applicable on Forign Key columns") public static final String KEY_ASSOSIATED_WITH_FOREIGN_TABLE
@ExtensionMetadataProperty(applicable=Table.class, datatype=java.lang.String.class, display="Entity Class", description="Java Entity Class that represents this table", required=true) public static final String ENTITYCLASS
public void process(MetadataFactory mf, javax.persistence.EntityManager entityManager) throws TranslatorException
process
in interface MetadataProcessor<javax.persistence.EntityManager>
TranslatorException
Copyright © 2017 JBoss by Red Hat. All rights reserved.