Package org.cedj.geekseek.web.rest.core.ResourceMetadata

Examples of org.cedj.geekseek.web.rest.core.ResourceMetadata.NamedRelation


    public ResourceMetadata getResourceMetadata() {
        return new ResourceMetadata(User.class)
            .incoming(new Relation("presented_by"))
            .incoming(new Relation("tracked_by"))
            .incoming(new Relation("attended_by"))
            .outgoing(new NamedRelation("attachments", "attached_to"))
            .outgoing(new NamedRelation("sessions", "presented_by"));
    }
View Full Code Here


    }

    @Override
    public ResourceMetadata getResourceMetadata() {
        return new ResourceMetadata(SourceObject.class)
            .outgoing(new NamedRelation("connections", "connected_to"))
            .outgoing(new NamedRelation("notdeployed", "no_matching_relation"));
    }
View Full Code Here

    @Override
    public ResourceMetadata getResourceMetadata() {
        return new ResourceMetadata(Session.class)
            .incoming(new Relation("presented_by"))
            .outgoing(new NamedRelation("attachments", "attached_to"))
            .outgoing(new NamedRelation("speakers", "presented_by"))
            .outgoing(new NamedRelation("attendees", "attended_by"))
            .outgoing(new NamedRelation("locations", "located_in"));
    }
View Full Code Here

    }

    @Override
    public ResourceMetadata getResourceMetadata() {
        return new ResourceMetadata(Conference.class)
            .outgoing(new NamedRelation("attachments", "attached_to"))
            .outgoing(new NamedRelation("trackers", "tracked_by"))
            .outgoing(new NamedRelation("attendees", "attended_by"))
            .outgoing(new NamedRelation("locations", "located_at"));
    }
View Full Code Here

TOP

Related Classes of org.cedj.geekseek.web.rest.core.ResourceMetadata.NamedRelation

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.