19 #ifndef RELATIONSHIP_H
20 #define RELATIONSHIP_H
63 Relationship(
const std::string & rsTarget,
const std::string & rsType,
const std::string & rsId,
const bool & internalTarget =
true);
124 void setSourceObjectType() {type =
"http://schemas.energistics.org/package/2012/relationships/sourceObject";}
128 void setSourceMediaType() {type =
"http://schemas.energistics.org/package/2012/relationships/sourceMedia";}
130 void setChunkedPartType() {type =
"http://schemas.energistics.org/package/2012/relationships/chunkedPart";}
143 void setId(
const std::string & rsId);
Definition: Relationship.h:28
void setIsExternalTarget()
void setId(const std::string &rsId)
void setType(const std::string &rsType)
Relationship(const bool &internalTarget=true)
Relationship(const std::string &rsTarget, const std::string &rsType, const std::string &rsId, const bool &internalTarget=true)
void setDestinationMediaType()
Definition: Relationship.h:126
void setSourceObjectType()
Definition: Relationship.h:124
bool isInternalTarget() const
void setExternalPartProxyToMlType()
Definition: Relationship.h:132
void setTarget(const std::string &rsTarget)
const std::string & getTarget() const
void setChunkedPartType()
Definition: Relationship.h:130
void setDestinationObjectType()
Definition: Relationship.h:122
void setMlToExternalPartProxyType()
Definition: Relationship.h:134
std::string toString() const
void setExternalResourceType()
Definition: Relationship.h:136
const std::string & getId() const
void setIsInternalTarget()
void setSourceMediaType()
Definition: Relationship.h:128
const std::string & getType() const
The epc namespace.
Definition: ContentType.h:25
bool operator==(const Relationship &r1, const Relationship &r2)