Search in sources :

Example 1 with ToStringBuilder

use of org.apache.cayenne.util.ToStringBuilder in project cayenne by apache.

the class DbJoin method toString.

@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("source", getSourceName());
    builder.append("target", getTargetName());
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.cayenne.util.ToStringBuilder)

Example 2 with ToStringBuilder

use of org.apache.cayenne.util.ToStringBuilder in project cayenne by apache.

the class ColumnDescriptor method toString.

/**
 * @since 1.2
 */
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this);
    builder.append("namePrefix", namePrefix);
    builder.append("name", getName());
    builder.append("dataRowKey", getDataRowKey());
    builder.append("tableName", getTableName());
    builder.append("procedureName", getProcedureName());
    builder.append("javaClass", getJavaClass());
    builder.append("jdbcType", getJdbcType());
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.cayenne.util.ToStringBuilder)

Aggregations

ToStringBuilder (org.apache.cayenne.util.ToStringBuilder)2