OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Project Class Reference

#include "Project.h"

Public Member Functions

 Project ()
 
 Project (const bsoncxx::v_noabi::document::view &_view)
 
 Project (const bsoncxx::v_noabi::document::view &_view, mongocxx::client &_userClient)
 
 Project (const Project &)=default
 
 Project (Project &&)=default
 
 ~Project ()
 
Projectoperator= (const Project &)=default
 
Projectoperator= (Project &&)=default
 
void setId (const bsoncxx::oid &_id)
 
const bsoncxx::oid & getId (void) const
 
void setName (const std::string &_name)
 
const std::string & getName (void) const
 
void setType (const std::string &_type)
 
const std::string & getType (void) const
 
void setRoleName (const std::string &_roleName)
 
const std::string & getRoleName (void) const
 
void setCollectionName (const std::string &_collectionName)
 
const std::string & getCollectionName (void) const
 
void setCreatedOn (bsoncxx::types::b_date _msSinceEpoch)
 
bsoncxx::types::b_date getCreatedOn (void) const
 
void setUser (const User &_user)
 
const UsergetUser (void) const
 
void addGroup (const Group &_group)
 
void setGroups (const std::vector< Group > &_groups)
 
const std::vector< Group > & getGroups (void) const
 
void setVersion (int _version)
 
int getVersion (void) const
 
void setLastAccessedOn (bsoncxx::types::b_date _msSinceEpoch)
 
bsoncxx::types::b_date getLastAccessedOn (void) const
 

Constructor & Destructor Documentation

◆ Project() [1/5]

Project::Project ( )

◆ Project() [2/5]

Project::Project ( const bsoncxx::v_noabi::document::view & _view)

◆ Project() [3/5]

Project::Project ( const bsoncxx::v_noabi::document::view & _view,
mongocxx::client & _userClient )

◆ Project() [4/5]

Project::Project ( const Project & )
default

◆ Project() [5/5]

Project::Project ( Project && )
default

◆ ~Project()

Project::~Project ( )
inline

Member Function Documentation

◆ addGroup()

void Project::addGroup ( const Group & _group)

◆ getCollectionName()

const std::string & Project::getCollectionName ( void ) const
inline

◆ getCreatedOn()

bsoncxx::types::b_date Project::getCreatedOn ( void ) const
inline

◆ getGroups()

const std::vector< Group > & Project::getGroups ( void ) const
inline

◆ getId()

const bsoncxx::oid & Project::getId ( void ) const
inline

◆ getLastAccessedOn()

bsoncxx::types::b_date Project::getLastAccessedOn ( void ) const
inline

◆ getName()

const std::string & Project::getName ( void ) const
inline

◆ getRoleName()

const std::string & Project::getRoleName ( void ) const
inline

◆ getType()

const std::string & Project::getType ( void ) const
inline

◆ getUser()

const User & Project::getUser ( void ) const
inline

◆ getVersion()

int Project::getVersion ( void ) const
inline

◆ operator=() [1/2]

Project & Project::operator= ( const Project & )
default

◆ operator=() [2/2]

Project & Project::operator= ( Project && )
default

◆ setCollectionName()

void Project::setCollectionName ( const std::string & _collectionName)
inline

◆ setCreatedOn()

void Project::setCreatedOn ( bsoncxx::types::b_date _msSinceEpoch)
inline

◆ setGroups()

void Project::setGroups ( const std::vector< Group > & _groups)
inline

◆ setId()

void Project::setId ( const bsoncxx::oid & _id)
inline

◆ setLastAccessedOn()

void Project::setLastAccessedOn ( bsoncxx::types::b_date _msSinceEpoch)
inline

◆ setName()

void Project::setName ( const std::string & _name)
inline

◆ setRoleName()

void Project::setRoleName ( const std::string & _roleName)
inline

◆ setType()

void Project::setType ( const std::string & _type)
inline

◆ setUser()

void Project::setUser ( const User & _user)
inline

◆ setVersion()

void Project::setVersion ( int _version)
inline

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