use of org.dbflute.properties.DfDocumentProperties in project dbflute-core by dbflute.
the class Table method getCommentForSchemaHtmlPre.
public String getCommentForSchemaHtmlPre() {
final DfDocumentProperties prop = getProperties().getDocumentProperties();
final String comment = prop.resolvePreTextForSchemaHtml(getComment());
return comment != null ? comment : "";
}
use of org.dbflute.properties.DfDocumentProperties in project dbflute-core by dbflute.
the class Table method getCommentForDBMeta.
public String getCommentForDBMeta() {
final DfDocumentProperties prop = getProperties().getDocumentProperties();
final String comment = prop.resolveTextForDBMeta(getComment());
return comment != null ? comment : "";
}
use of org.dbflute.properties.DfDocumentProperties in project dbflute-core by dbflute.
the class Table method getAlias.
/**
* Get the alias of the table.
* @return The table alias as String. (NotNull, EmptyAllowed: when no alias)
*/
public String getAlias() {
final DfDocumentProperties prop = getProperties().getDocumentProperties();
final String comment = _plainComment;
if (comment != null) {
final String alias = prop.extractAliasFromDbComment(comment);
if (alias != null) {
return alias;
}
}
return "";
}
use of org.dbflute.properties.DfDocumentProperties in project dbflute-core by dbflute.
the class Table method getComment.
public String getComment() {
final DfDocumentProperties prop = getProperties().getDocumentProperties();
final String comment = prop.extractCommentFromDbComment(_plainComment);
return comment != null ? comment : "";
}
use of org.dbflute.properties.DfDocumentProperties in project dbflute-core by dbflute.
the class Column method getCommentForJavaDoc.
public String getCommentForJavaDoc() {
final DfDocumentProperties prop = getProperties().getDocumentProperties();
final String comment = prop.resolveTextForJavaDoc(getComment(), " ");
return comment != null ? comment : "";
}
Aggregations