Package com.semagia.atomico.server.dm.impl

Examples of com.semagia.atomico.server.dm.impl.CollectionInfo


        final String linkAdr = "http://www.semagia.com/link";
        final URI link = URI.create(linkAdr);
        final String id = "http://www.semagia.com/test";
        final String title = "title";
        final long updated = now();
        final ICollectionInfo collInfo = new CollectionInfo(id, title, updated, "collId");
        feed.addEntry(collInfo, link);
        assertEquals(1, feed.getEntries().size());
        final ICollectionEntry entry = feed.getEntries().iterator().next();
        assertNotNull(entry);
        assertEquals(id, entry.getId());
View Full Code Here


            // noop.
        }
        final String id = "http://www.semagia.com/test";
        final String title = "title";
        final long updated = now();
        final ICollectionInfo collInfo = new CollectionInfo(id, title, updated, "collId");
        try {
            feed.addEntry(collInfo, null);
            fail("feed.addEntry(info, null) is illegal");
        }
        catch (IllegalArgumentException ex) {
View Full Code Here

TOP

Related Classes of com.semagia.atomico.server.dm.impl.CollectionInfo

Copyright © 2018 www.massapicom. 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.