m.setImHandleAttr1(new IMHandle(IMHandle.Scheme.xmpp, "handle"));
m.setImHandleAttr2(new IMHandle(new URL("http://aim.com"), "network"));
m.setLinkAttr(new Link("link"));
m.setPhoneNumberAttr(new PhoneNumber("000-0000-0000"));
m.setPostalAddressAttr(new PostalAddress("address"));
m.setRatingAttr(new Rating(70));
m.setShortBlobAttr(new ShortBlob("hello".getBytes()));
m.setTextAttr(new Text("hello"));
m.setEncryptedTextAttr(new Text("hello"));
m.setUser1(new User("user@test.com", "authDomain"));
m.setUser2(new User("user@test.com", "authDomain", "userId"));