private static void printJDORelationshipHelper(int indent, JDORelationship jdoRelationship)
{
if (jdoRelationship == null)
return;
JDORelationship mappedBy = jdoRelationship.getMappedBy();
JDORelationship inverse = jdoRelationship.getInverseRelationship();
println(indent+1, "declaringField = " + jdoRelationship.getDeclaringField().getName()); //NOI18N
println(indent+1, "bounds = " + jdoRelationship.getLowerBound() + " / " + jdoRelationship.getUpperBound()); //NOI18N
println(indent+1, "mappedBy = " + ((mappedBy==null) ? "null" : //NOI18N
mappedBy.getDeclaringField().getDeclaringClass().getName() + "." + //NOI18N
mappedBy.getDeclaringField().getName()));
println(indent+1, "inverseName = " + jdoRelationship.getInverseRelationshipName());
println(indent+1, "inverse = " + ((inverse==null) ? "null" : //NOI18N
inverse.getDeclaringField().getDeclaringClass().getName() + "." + //NOI18N
inverse.getDeclaringField().getName()));
}