36 #include "proxies/gsoap_resqml2_0_1H.h" 37 #include "EpcDocument.h" 44 gsoap_resqml2_0_1::eml__DataObjectReference* partialObject;
50 void setUuid(
const std::string & uuid);
55 void addOrSetExtraMetadataV2_0_1(
const std::string & key,
const std::string & value);
60 #if (defined(_WIN32) && _MSC_VER >= 1600) || defined(__APPLE__) 61 std::unordered_map< std::string, std::string > getExtraMetadataSetV2_0_1()
const;
63 std::tr1::unordered_map< std::string, std::string > getExtraMetadataSetV2_0_1()
const;
70 std::string getExtraMetadataV2_0_1(
const std::string & key);
75 unsigned int getExtraMetadataCountV2_0_1()
const;
80 std::string getExtraMetadataKeyAtIndexV2_0_1(
const unsigned int & index)
const;
85 std::string getExtraMetadataStringValueAtIndexV2_0_1(
const unsigned int & index)
const;
89 gsoap_resqml2_0_1::eml__AbstractCitedDataObject* gsoapProxy2_0_1;
91 gsoap_resqml2_1::eml__AbstractObject* gsoapProxy2_1;
94 std::vector<resqml2::Activity*> activitySet;
103 AbstractObject(gsoap_resqml2_0_1::eml__AbstractCitedDataObject* proxy =
nullptr);
107 void initMandatoryMetadata();
118 virtual std::vector<epc::Relationship> getAllEpcRelationships()
const = 0;
129 void setMetadata(
const std::string & guid,
const std::string & title,
const std::string & editor,
const time_t & creation,
const std::string & originator,
130 const std::string & description,
const time_t & lastUpdate,
const std::string & format,
const std::string & descriptiveKeywords);
140 bool isPartial()
const {
return partialObject !=
nullptr;}
142 std::string getUuid()
const;
143 std::string getTitle()
const;
144 std::string getEditor()
const;
145 time_t getCreation()
const;
146 std::string getOriginator()
const;
147 std::string getDescription()
const;
148 time_t getLastUpdate()
const;
149 std::string getFormat()
const;
150 std::string getDescriptiveKeywords()
const;
152 void setTitle(
const std::string & title);
153 void setEditor(
const std::string & editor);
154 void setCreation(
const time_t & creation);
155 void setOriginator(
const std::string & originator);
156 void setDescription(
const std::string & description);
157 void setLastUpdate(
const time_t & lastUpdate);
158 void setFormat(
const std::string & format);
159 void setDescriptiveKeywords(
const std::string & descriptiveKeywords);
165 void setMetadata(
const std::string & title,
const std::string & editor,
const time_t & creation,
const std::string & originator,
166 const std::string & description,
const time_t & lastUpdate,
const std::string & format,
const std::string & descriptiveKeywords);
172 void serializeIntoStream(std::ostream * stream);
177 gsoap_resqml2_0_1::eml__AbstractCitedDataObject*
getGsoapProxy()
const {
return gsoapProxy2_0_1;}
182 soap* getGsoapContext()
const;
187 int getGsoapType()
const;
189 gsoap_resqml2_0_1::eml__DataObjectReference* newResqmlReference()
const;
191 gsoap_resqml2_0_1::resqml2__ContactElementReference* newResqmlContactElementReference()
const;
201 virtual std::string getXmlNamespace()
const;
206 virtual std::string getXmlTag()
const = 0;
211 virtual std::string getResqmlVersion()
const;
216 std::string getContentType()
const;
221 std::string getPartNameInEpcDocument()
const;
226 std::string serializeIntoString();
231 void addAlias(
const std::string & authority,
const std::string & title);
236 unsigned int getAliasCount()
const;
241 std::string getAliasAuthorityAtIndex(
const unsigned int & index)
const;
246 std::string getAliasTitleAtIndex(
const unsigned int & index)
const;
251 const std::vector<resqml2::Activity*> & getActivitySet()
const;
256 void addOrSetExtraMetadata(
const std::string & key,
const std::string & value);
261 #if (defined(_WIN32) && _MSC_VER >= 1600) || defined(__APPLE__) 262 std::unordered_map< std::string, std::string > getExtraMetadataSet()
const;
264 std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet()
const;
271 std::string getExtraMetadata(
const std::string & key);
276 unsigned int getExtraMetadataCount()
const;
281 std::string getExtraMetadataKeyAtIndex(
const unsigned int & index)
const;
286 std::string getExtraMetadataStringValueAtIndex(
const unsigned int & index)
const;
void updateAllRelationships()
Definition: EpcDocument.cpp:1241
virtual void serialize(bool useZip64=false)
Definition: EpcDocument.cpp:551
Definition: AbstractObject.h:41
void addGsoapProxy(resqml2::AbstractObject *proxy)
Definition: EpcDocument.cpp:419
Definition: EpcDocument.h:155
Definition: Activity.h:40
bool isPartial() const
Definition: AbstractObject.h:140
common::EpcDocument * getEpcDocument() const
Definition: AbstractObject.h:196
Definition: EpcDocument.h:61
gsoap_resqml2_0_1::eml__AbstractCitedDataObject * getGsoapProxy() const
Definition: AbstractObject.h:177