10 namespace persistence {
11 class PersistenceService;
18 class Resource:
public std::enable_shared_from_this<Resource>
29 virtual jnipp::Ref<jnipp::eu::mico::platform::anno4j::model::ResourceMMM> getRDFObject() = 0;
36 virtual void setSyntacticalType(std::string syntacticalType) = 0;
38 virtual std::string getSemanticType() = 0;
40 virtual void setSemanticType(std::string semanticType) = 0;
42 virtual std::shared_ptr<mico::persistence::model::Asset> getAsset() = 0;
46 virtual bool hasAsset() = 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 mico::persistence::model::URI getURI()=0
Return the identifier (a unique URI) for this item.
Main service for accessing the MICO persistence API.
Definition: PersistenceService.hpp:51
Super type of items and parts.
Definition: Resource.hpp:18
virtual std::string getSyntacticalType()=0
the mime type, e.g.
A URI.
Definition: Uri.hpp:22