protected abstract String getName(String entityClassCanonicalName); }
protected abstract String getName(String entityClassCanonicalName); }
@Override protected final String getName(String entityClassCanonicalName) { return delegateTableNameConverter.getName(transform(entityClassCanonicalName)); }
@Override protected final String getName(String entityClassCanonicalName) { return delegateTableNameConverter.getName(transform(entityClassCanonicalName)); }
/** * Gets the name of the table either from the {@link Table Table annotation} if present or from the * {@link TableNameConverter delegate}. * * @param entityClass the entity from which to extract the table name * @return the table name for the given entity * @throws IllegalStateException if the {@link Table Table annotation} value is invalid ({@code null} or * empty {@link String}) */ public String getName(Class<? extends RawEntity<?>> entityClass) { if (entityClass.isAnnotationPresent(TABLE_ANNOTATION)) { return postProcessingTableNameConverter.getName(validate(entityClass.getAnnotation(TABLE_ANNOTATION).value())); } else { return delegateTableNameConverter.getName(entityClass); } }
/** * Gets the name of the table either from the {@link Table Table annotation} if present or from the * {@link TableNameConverter delegate}. * * @param entityClass the entity from which to extract the table name * @return the table name for the given entity * @throws IllegalStateException if the {@link Table Table annotation} value is invalid ({@code null} or * empty {@link String}) */ public String getName(Class<? extends RawEntity<?>> entityClass) { if (entityClass.isAnnotationPresent(TABLE_ANNOTATION)) { return postProcessingTableNameConverter.getName(validate(entityClass.getAnnotation(TABLE_ANNOTATION).value())); } else { return delegateTableNameConverter.getName(entityClass); } }