/// <summary> /// Clones the membership /// </summary> /// <returns>A clone of the membership</returns> public Object Clone() { Membership m; m = new Membership(); m.setMembers((ArrayList)members.Clone()); return(m); }
/// <summary> /// Sets the membership to the specified membership /// </summary> /// <param name="m">New membership</param> public void set(Membership m) { clear(); if(m != null) { add( m.getMembers() ); } }