My Project
Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
resqml2::ActivityTemplate Class Referenceabstract
Inheritance diagram for resqml2::ActivityTemplate:
common::AbstractObject resqml2_0_1::ActivityTemplate

Public Member Functions

 ActivityTemplate (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
virtual void pushBackParameter (const std::string title, const bool &isInput, const bool isOutput, const unsigned int &minOccurs, const int &maxOccurs)=0
 
virtual void pushBackParameter (const std::string title, const bool &isInput, const bool isOutput, const unsigned int &minOccurs, const int &maxOccurs, const std::string &resqmlObjectContentType)=0
 
virtual bool isAnExistingParameter (const std::string &paramTitle) const =0
 
virtual const unsigned int getParameterCount () const =0
 
virtual const std::string & getParameterTitle (const unsigned int &index) const =0
 
virtual const bool & getParameterIsInput (const unsigned int &index) const =0
 
virtual const bool & getParameterIsInput (const std::string &paramTitle) const =0
 
virtual const bool & getParameterIsOutput (const unsigned int &index) const =0
 
virtual const bool & getParameterIsOutput (const std::string &paramTitle) const =0
 
virtual const LONG64 getParameterMinOccurences (const unsigned int &index) const =0
 
virtual const LONG64 getParameterMinOccurences (const std::string &paramTitle) const =0
 
virtual const LONG64 getParameterMaxOccurences (const unsigned int &index) const =0
 
virtual const LONG64 getParameterMaxOccurences (const std::string &paramTitle) const =0
 
const std::vector< Activity * > & getActivityInstanceSet () const
 
std::string getXmlTag () const
 
- Public Member Functions inherited from common::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setMetadata (const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void serializeIntoStream (std::ostream *stream)
 
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * getGsoapProxy () const
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml20__DataObjectReference * newResqmlReference () const
 
gsoap_eml2_1::eml21__DataObjectReference * newEmlReference () const
 
gsoap_resqml2_0_1::resqml2__ContactElementReference * newResqmlContactElementReference () const
 
common::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getResqmlVersion () const
 
virtual std::string getContentType () const
 
virtual std::string getPartNameInEpcDocument () const
 
std::string serializeIntoString ()
 
void addAlias (const std::string &authority, const std::string &title)
 
unsigned int getAliasCount () const
 
std::string getAliasAuthorityAtIndex (const unsigned int &index) const
 
std::string getAliasTitleAtIndex (const unsigned int &index) const
 
const std::vector< resqml2::Activity * > & getActivitySet () const
 
unsigned int getActivityCount () const
 
resqml2::ActivitygetActivity (const unsigned int &index) const
 
void pushBackExtraMetadata (const std::string &key, const std::string &value)
 
std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::vector< std::string > getExtraMetadata (const std::string &key) const
 
unsigned int getExtraMetadataCount () const
 
std::string getExtraMetadataKeyAtIndex (const unsigned int &index) const
 
std::string getExtraMetadataStringValueAtIndex (const unsigned int &index) const
 

Static Public Attributes

static const char * XML_TAG = "ActivityTemplate"
 

Protected Member Functions

 ActivityTemplate (gsoap_resqml2_0_1::_resqml2__ActivityTemplate *fromGsoap)
 
- Protected Member Functions inherited from common::AbstractObject
 AbstractObject ()
 Indicate whether methods update the XML (gSoap) or only the C++ classes of the API.
 
 AbstractObject (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 AbstractObject (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *proxy)
 
 AbstractObject (gsoap_eml2_1::eml21__AbstractObject *proxy)
 
void initMandatoryMetadata ()
 
void setMetadata (const std::string &guid, const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void cannotBePartial () const
 
void changeToPartialObject ()
 

Friends

void resqml2_0_1::Activity::setActivityTemplate (resqml2::ActivityTemplate *activityTemplate)
 

Additional Inherited Members

- Protected Types inherited from common::AbstractObject
enum  EmlVersion { TWO_DOT_ZERO = 0, TWO_DOT_ONE = 1 }
 
- Static Protected Member Functions inherited from common::AbstractObject
static void addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject)
 
- Protected Attributes inherited from common::AbstractObject
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * gsoapProxy2_0_1
 
gsoap_eml2_1::eml21__AbstractObject * gsoapProxy2_1
 
common::EpcDocumentepcDocument
 
std::vector< resqml2::Activity * > activitySet
 
bool updateXml
 

Constructor & Destructor Documentation

resqml2::ActivityTemplate::ActivityTemplate ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject)
inline

Only to be used in partial transfer context

Member Function Documentation

std::string resqml2::ActivityTemplate::getXmlTag ( ) const
inlinevirtual

Get the XML tag for the XML serialization of this instance

Implements common::AbstractObject.

Reimplemented in resqml2_0_1::ActivityTemplate.

virtual bool resqml2::ActivityTemplate::isAnExistingParameter ( const std::string &  paramTitle) const
pure virtual

Check if the instance contains a parameter with a particular title

Parameters
paramTitleThe title of the parameter we are looking for into the instance

Implemented in resqml2_0_1::ActivityTemplate.

virtual void resqml2::ActivityTemplate::pushBackParameter ( const std::string  title,
const bool &  isInput,
const bool  isOutput,
const unsigned int &  minOccurs,
const int &  maxOccurs 
)
pure virtual

Push back a parameter in the activity template instance. This parameter has an unconstrained type.

Implemented in resqml2_0_1::ActivityTemplate.

virtual void resqml2::ActivityTemplate::pushBackParameter ( const std::string  title,
const bool &  isInput,
const bool  isOutput,
const unsigned int &  minOccurs,
const int &  maxOccurs,
const std::string &  resqmlObjectContentType 
)
pure virtual

Push back a parameter in the activity template instance. This parameter must be of a data object kind.

Parameters
resqmlObjectContentTypeIf empty, there is no constraint on the content type of this parameter.

Implemented in resqml2_0_1::ActivityTemplate.


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