MICO Platform
 All Classes Namespaces Functions Variables Friends
Public Member Functions | List of all members
mico::persistence::model::PartAnno4cpp Class Reference
Inheritance diagram for mico::persistence::model::PartAnno4cpp:
mico::persistence::model::Part mico::persistence::model::ResourceAnno4cpp mico::persistence::model::Resource

Public Member Functions

 PartAnno4cpp (jnipp::Ref< jnipp::eu::mico::platform::anno4j::model::PartMMM > partMMM, std::shared_ptr< Item > item, PersistenceService &persistenceService)
 
std::shared_ptr< ItemgetItem ()
 Return the parent content item. More...
 
jnipp::LocalRef
< jnipp::com::github::anno4j::model::Body > 
getBody ()
 
void setBody (const jnipp::LocalRef< jnipp::com::github::anno4j::model::Body > &body)
 
std::list< jnipp::LocalRef
< jnipp::com::github::anno4j::model::Target > > 
getTargets ()
 
void setTargets (std::list< jnipp::LocalRef< jnipp::com::github::anno4j::model::Target > > targets)
 
void addTarget (const jnipp::LocalRef< jnipp::com::github::anno4j::model::Target > &target)
 
std::list< std::shared_ptr
< Resource > > 
getInputs ()
 
void setInputs (std::list< std::shared_ptr< Resource > > inputs)
 
void addInput (std::shared_ptr< Resource > input)
 
std::string getSerializedAt ()
 
jnipp::LocalRef
< jnipp::com::github::anno4j::model::Agent > 
getSerializedBy ()
 
- Public Member Functions inherited from mico::persistence::model::ResourceAnno4cpp
virtual
mico::persistence::model::URI 
getURI ()
 Return the identifier (a unique URI) for this item. More...
 
virtual jnipp::Ref
< jnipp::eu::mico::platform::anno4j::model::ResourceMMM > 
getRDFObject ()
 
virtual std::string getSyntacticalType ()
 the mime type, e.g. More...
 
virtual void setSyntacticalType (std::string syntacticalType)
 
virtual std::string getSemanticType ()
 
virtual void setSemanticType (std::string semanticType)
 
virtual std::shared_ptr< AssetgetAsset ()
 
virtual std::shared_ptr< AssetgetAssetWithLocation (mico::persistence::model::URI)
 
virtual bool hasAsset ()
 
virtual
mico::persistence::PersistenceService
getPersistenceService ()
 

Additional Inherited Members

- Protected Member Functions inherited from mico::persistence::model::ResourceAnno4cpp
 ResourceAnno4cpp (jnipp::Ref< jnipp::eu::mico::platform::anno4j::model::ResourceMMM > resourceMMM, PersistenceService &persistenceService)
 
- Protected Attributes inherited from mico::persistence::model::ResourceAnno4cpp
PersistenceServicem_persistenceService
 
std::string m_jnippErrorMessage
 

Member Function Documentation

std::shared_ptr<Item> mico::persistence::model::PartAnno4cpp::getItem ( )
inlinevirtual

Return the parent content item.

Returns

Implements mico::persistence::model::Part.


The documentation for this class was generated from the following files: