Method for assigning relationship modified
Setters/Getters added