LibreOffice Module ucb (master)  1
cmis_url.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 #ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_URL_HXX
10 #define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_URL_HXX
11 
12 #include <rtl/ustring.hxx>
13 
14 namespace cmis
15 {
16  class URL
17  {
18  private:
19  OUString m_sBindingUrl;
20  OUString m_sRepositoryId;
21  OUString m_sPath;
22  OUString m_sId;
23  OUString m_sUser;
24  OUString m_sPass;
25 
26  public:
27  explicit URL( OUString const & urlStr );
28 
29  const OUString& getObjectPath() const { return m_sPath; }
30  const OUString& getObjectId() const { return m_sId; }
31  const OUString& getBindingUrl() const { return m_sBindingUrl; }
32  const OUString& getRepositoryId() const { return m_sRepositoryId; }
33  const OUString& getUsername() const { return m_sUser; }
34  const OUString& getPassword() const { return m_sPass; }
35  void setObjectPath( const OUString& sPath );
36  void setObjectId( const OUString& sId );
37  void setUsername( const OUString& sUser );
38 
39  OUString asString( );
40  };
41 }
42 
43 #endif
44 
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const OUString & getRepositoryId() const
Definition: cmis_url.hxx:32
URL(OUString const &urlStr)
Definition: cmis_url.cxx:21
OUString m_sBindingUrl
Definition: cmis_url.hxx:19
const OUString & getPassword() const
Definition: cmis_url.hxx:34
OUString m_sUser
Definition: cmis_url.hxx:23
const OUString & getBindingUrl() const
Definition: cmis_url.hxx:31
void setUsername(const OUString &sUser)
Definition: cmis_url.cxx:53
OUString m_sRepositoryId
Definition: cmis_url.hxx:20
OUString asString()
Definition: cmis_url.cxx:58
OUString m_sPass
Definition: cmis_url.hxx:24
const OUString & getObjectPath() const
Definition: cmis_url.hxx:29
void setObjectId(const OUString &sId)
Definition: cmis_url.cxx:48
const OUString & getUsername() const
Definition: cmis_url.hxx:33
OUString m_sPath
Definition: cmis_url.hxx:21
void setObjectPath(const OUString &sPath)
Definition: cmis_url.cxx:43
OUString m_sId
Definition: cmis_url.hxx:22
const OUString & getObjectId() const
Definition: cmis_url.hxx:30