1 #ifndef PARTANNO4CPP_HPP
2 #define PARTANNO4CPP_HPP 1
5 #include "AssetAnno4cpp.hpp"
6 #include "ResourceAnno4cpp.hpp"
10 namespace persistence {
17 std::shared_ptr<Item> m_item;
18 jnipp::GlobalRef<jnipp::eu::mico::platform::anno4j::model::PartMMM> m_partMMM;
21 PartAnno4cpp(jnipp::Ref<jnipp::eu::mico::platform::anno4j::model::PartMMM> partMMM,
24 m_persistenceService(persistenceService),
33 jnipp::LocalRef<jnipp::com::github::anno4j::model::Body> getBody();
35 void setBody(
const jnipp::LocalRef<jnipp::com::github::anno4j::model::Body> &body);
37 std::list< jnipp::LocalRef<jnipp::com::github::anno4j::model::Target> > getTargets();
39 void setTargets(std::list< jnipp::LocalRef<jnipp::com::github::anno4j::model::Target> > targets);
41 void addTarget(
const jnipp::LocalRef<jnipp::com::github::anno4j::model::Target> &target);
43 std::list< std::shared_ptr<Resource> > getInputs();
45 void setInputs(std::list<std::shared_ptr<Resource> > inputs);
47 void addInput(std::shared_ptr<Resource> input);
49 std::string getSerializedAt();
51 jnipp::LocalRef<jnipp::com::github::anno4j::model::Agent> getSerializedBy();
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
Definition: http_client.cpp:23
Definition: PartAnno4cpp.hpp:12
Main service for accessing the MICO persistence API.
Definition: PersistenceService.hpp:51
Definition: ResourceAnno4cpp.hpp:15
std::shared_ptr< Item > getItem()
Return the parent content item.
Definition: PartAnno4cpp.hpp:29