public HostProfile(HostProfile newHost) { lastUpdateTime = newHost.lastUpdateTime; uId = newHost.uId; name = newHost.name; profile = new Profile(newHost.profile); feedback = new Feedback(newHost.feedback); messages = new Messages(newHost.messages); }
// Constructor public HostProfile() { lastUpdateTime = 0; uId = 0; name = ""; profile = new Profile(); feedback = new Feedback(); messages = new Messages(); }
public Feedback(Feedback newFeedback) { if (null != newFeedback) { // recommendations_Result = new Recommendations_result(newFeedback.recommendations_Result); recommendations_Result = newFeedback.recommendations_Result; } else { recommendations_Result = null; } }