4 #include "Resource.hpp"
13 namespace persistence {
26 virtual std::shared_ptr<Item>
getItem() = 0;
28 virtual jnipp::LocalRef<jnipp::com::github::anno4j::model::Body> getBody() = 0;
30 virtual void setBody(
const jnipp::LocalRef<jnipp::com::github::anno4j::model::Body> &body) = 0;
32 virtual std::list< jnipp::LocalRef<jnipp::com::github::anno4j::model::Target> > getTargets() = 0;
34 virtual void setTargets(std::list< jnipp::LocalRef<jnipp::com::github::anno4j::model::Target> > targets) = 0;
36 virtual void addTarget(
const jnipp::LocalRef<jnipp::com::github::anno4j::model::Target> &target) = 0;
38 virtual std::list< std::shared_ptr<Resource> > getInputs() = 0;
40 virtual void setInputs(std::list< std::shared_ptr<Resource> > inputs) = 0;
42 virtual void addInput(std::shared_ptr<Resource> input) = 0;
44 virtual std::string getSerializedAt() = 0;
46 virtual jnipp::LocalRef<jnipp::com::github::anno4j::model::Agent> getSerializedBy() = 0;
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
Definition: http_client.cpp:23
virtual std::shared_ptr< Item > getItem()=0
Return the parent content item.