1 #ifndef RESOURCEANNO4CPP_HPP
2 #define RESOURCEANNO4CPP_HPP 1
4 #include "Resource.hpp"
6 #include "PersistenceService.hpp"
12 namespace persistence {
18 jnipp::WeakRef<jnipp::eu::mico::platform::anno4j::model::ResourceMMM> m_resourceMMM;
19 std::shared_ptr<Asset> createAsset(std::string location =
"");
23 std::string m_jnippErrorMessage;
25 ResourceAnno4cpp(jnipp::Ref<jnipp::eu::mico::platform::anno4j::model::ResourceMMM> resourceMMM,
31 virtual jnipp::Ref<jnipp::eu::mico::platform::anno4j::model::ResourceMMM> getRDFObject();
35 virtual void setSyntacticalType(std::string syntacticalType);
37 virtual std::string getSemanticType();
39 virtual void setSemanticType(std::string semanticType);
42 virtual std::shared_ptr<Asset> getAsset();
46 virtual bool hasAsset();
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::string getSyntacticalType()
the mime type, e.g.
Definition: ResourceAnno4cpp.cpp:62
virtual mico::persistence::model::URI getURI()
Return the identifier (a unique URI) for this item.
Definition: ResourceAnno4cpp.cpp:46
Main service for accessing the MICO persistence API.
Definition: PersistenceService.hpp:51
Definition: ResourceAnno4cpp.hpp:15
Super type of items and parts.
Definition: Resource.hpp:18
A URI.
Definition: Uri.hpp:22