Package org.drools.guvnor.server.jaxrs.providers.atom

Examples of org.drools.guvnor.server.jaxrs.providers.atom.Person


        Entry e = new Entry();
        e.setTitle(p.getTitle());
        e.setSummary(p.getDescription());
        e.setPublished(new Date(p.getLastModified().getTimeInMillis()));
        e.setBase(baseUri);
        e.getAuthors().add(new Person(p.getLastContributor()));

        e.setId(baseUri);

        Iterator<AssetItem> i = p.getAssets();
        while (i.hasNext()) {
View Full Code Here


        Entry e = new Entry();
        e.setTitle(a.getTitle());
        e.setSummary(a.getDescription());
        e.setPublished(new Date(a.getLastModified().getTimeInMillis()));
        e.setBase(baseUri);
        e.getAuthors().add(new Person(a.getLastContributor()));

        e.setId(baseUri);
        try {
            AtomAssetMetadata atomAssetMetadata  = e.getAnyOtherJAXBObject(AtomAssetMetadata.class);
            if (atomAssetMetadata == null) {
View Full Code Here

TOP

Related Classes of org.drools.guvnor.server.jaxrs.providers.atom.Person

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.