Update Relationship.java

Added parameters in support of serialization.