Package org.cipango.kaleo.presence.pidf

Examples of org.cipango.kaleo.presence.pidf.PresenceDocument.copy()


    assertEquals("tuple2",
        doc.getPresence().getTupleArray(0).getId());
   
    String etag = state2.getETag();
    assertEquals(state2, presentity.getState(etag));
    doc2 = (PresenceDocument) doc2.copy();
    doc2.getPresence().getTupleArray(0).getStatus().setBasic(Basic.OPEN);
    presentity.modifyState(state2, PresenceEventPackage.PIDF, doc2, 30);
    doc = (PresenceDocument) presentity.getState().getContent();
    assertEquals(Basic.OPEN,
        doc.getPresence().getTupleArray(0).getStatus().getBasic());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
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.