Method to update the relation for the first object to relate to the second object. This removes any previous relation from this object and replaces it with the new relation.
@param sm1 Object 1 provider
@param sm2 Object 2 provider
@return Whether the relation was replaced
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.