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

Public Member Functions

 Activity (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
virtual void pushBackParameter (const std::string title, const std::string &value)=0
 
virtual void pushBackParameter (const std::string title, const LONG64 &value)=0
 
virtual void pushBackParameter (const std::string title, AbstractObject *resqmlObject)=0
 
virtual unsigned int getParameterCount () const =0
 
virtual unsigned int getParameterCount (const std::string &paramTitle) const =0
 
virtual const std::string & getParameterTitle (const unsigned int &index) const =0
 
virtual std::vector< unsigned int > getParameterIndexOfTitle (const std::string &paramTitle) const =0
 
virtual bool isAFloatingPointQuantityParameter (const std::string &paramTitle) const =0
 
virtual bool isAFloatingPointQuantityParameter (const unsigned int &index) const =0
 
virtual std::vector< double > getFloatingPointQuantityParameterValue (const std::string &paramTitle) const =0
 
virtual double getFloatingPointQuantityParameterValue (const unsigned int &index) const =0
 
virtual bool isAnIntegerQuantityParameter (const std::string &paramTitle) const =0
 
virtual bool isAnIntegerQuantityParameter (const unsigned int &index) const =0
 
virtual std::vector< LONG64 > getIntegerQuantityParameterValue (const std::string &paramTitle) const =0
 
virtual LONG64 getIntegerQuantityParameterValue (const unsigned int &index) const =0
 
virtual bool isAStringParameter (const std::string &paramTitle) const =0
 
virtual bool isAStringParameter (const unsigned int &index) const =0
 
virtual std::vector< std::string > getStringParameterValue (const std::string &paramTitle) const =0
 
virtual const std::string & getStringParameterValue (const unsigned int &index) const =0
 
virtual bool isAResqmlObjectParameter (const std::string &paramTitle) const =0
 
virtual bool isAResqmlObjectParameter (const unsigned int &index) const =0
 
virtual std::vector< AbstractObject * > getResqmlObjectParameterValue (const std::string &paramTitle) const =0
 
virtual AbstractObjectgetResqmlObjectParameterValue (const unsigned int &index) const =0
 
virtual void setActivityTemplate (class ActivityTemplate *activityTemplate)=0
 
virtual gsoap_resqml2_0_1::eml20__DataObjectReference * getActivityTemplateDor () const =0
 
class ActivityTemplategetActivityTemplate () const
 
std::vector< AbstractObject * > getResqmlObjectSet () 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 = "Activity"
 

Protected Member Functions

 Activity (gsoap_resqml2_0_1::_resqml2__Activity *fromGsoap)
 
std::vector< epc::RelationshipgetAllEpcRelationships () const
 
- 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 ()
 
virtual void importRelationshipSetFromEpc (common::EpcDocument *epcDoc)=0
 
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 ()
 

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::Activity::Activity ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject)
inline

Only to be used in partial transfer context

Member Function Documentation

ActivityTemplate * Activity::getActivityTemplate ( ) const

Get the activity template of the activity

virtual gsoap_resqml2_0_1::eml20__DataObjectReference* resqml2::Activity::getActivityTemplateDor ( ) const
pure virtual

Get the activity template dor of the activity

Implemented in resqml2_0_1::Activity.

vector< Relationship > Activity::getAllEpcRelationships ( ) const
protectedvirtual

Return all relationships (backward and forward ones) of the instance using EPC format.

Implements common::AbstractObject.

virtual unsigned int resqml2::Activity::getParameterCount ( ) const
pure virtual

Get the count of all the parameters

Implemented in resqml2_0_1::Activity.

virtual unsigned int resqml2::Activity::getParameterCount ( const std::string &  paramTitle) const
pure virtual

Get the count of all the parameters which have got the same title.

Implemented in resqml2_0_1::Activity.

std::vector< common::AbstractObject * > Activity::getResqmlObjectSet ( ) const

Get all objects which are either input or output of this acitivty

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

Get the XML tag for the XML serialization of this instance

Implements common::AbstractObject.

virtual void resqml2::Activity::pushBackParameter ( const std::string  title,
const std::string &  value 
)
pure virtual

Push back a string parameter in the instance. This parameter must exist in the associated activity template.

Implemented in resqml2_0_1::Activity.

virtual void resqml2::Activity::pushBackParameter ( const std::string  title,
const LONG64 &  value 
)
pure virtual

Push back an integer parameter in the instance. This parameter must exist in the associated activity template.

Implemented in resqml2_0_1::Activity.

virtual void resqml2::Activity::pushBackParameter ( const std::string  title,
AbstractObject resqmlObject 
)
pure virtual

Push back a resqml object parameter in the instance. This parameter must exist in the associated activity template.

Implemented in resqml2_0_1::Activity.

virtual void resqml2::Activity::setActivityTemplate ( class ActivityTemplate activityTemplate)
pure virtual

Set the activity template of the activity

Implemented in resqml2_0_1::Activity.


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