Relationship type checking method.
newline
Adding newForeignForeignCollection to simplify relationship codde.
document