My Project
Public Member Functions | List of all members
epc::Relationship Class Reference

#include <Relationship.h>

Public Member Functions

 Relationship (const bool &internalTarget=true)
 The id uniquely identify the relationship in the context of the rel file. For epc, it also indicates the uuid of the destiantion object.
 
 Relationship (const std::string &rsTarget, const std::string &rsType, const std::string &rsId, const bool &internalTarget=true)
 
std::string toString () const
 
bool isInternalTarget () const
 
const std::string & getTarget () const
 
const std::string & getType () const
 
const std::string & getId () const
 
void setIsExternalTarget ()
 
void setIsInternalTarget ()
 
void setTarget (const std::string &rsTarget)
 
void setType (const std::string &rsType)
 
void setDestinationObjectType ()
 
void setSourceObjectType ()
 
void setDestinationMediaType ()
 
void setSourceMediaType ()
 
void setChunkedPartType ()
 
void setExternalPartProxyToMlType ()
 
void setMlToExternalPartProxyType ()
 
void setExternalResourceType ()
 
void setId (const std::string &rsId)
 

Detailed Description

This class intends to represent a relationship entry of a rel file of a package part.

Member Function Documentation

void Relationship::setId ( const std::string &  rsId)

Set an arbitrary id to the relationship

void Relationship::setType ( const std::string &  rsType)

Set an arbitrary type to the relationship

string Relationship::toString ( ) const

Serialize the core property into an XML element embeded into a string.


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