1 karl 1.3 //%2003////////////////////////////////////////////////////////////////////////
|
2 chip 1.1 //
|
3 karl 1.3 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development
4 // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
5 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
6 // IBM Corp.; EMC Corporation, The Open Group.
|
7 chip 1.1 //
8 // Permission is hereby granted, free of charge, to any person obtaining a copy
9 // of this software and associated documentation files (the "Software"), to
10 // deal in the Software without restriction, including without limitation the
11 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12 // sell copies of the Software, and to permit persons to whom the Software is
13 // furnished to do so, subject to the following conditions:
|
14 karl 1.3 //
|
15 chip 1.1 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
16 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
17 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
18 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
19 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 //
24 //==============================================================================
25 //
26 // Author: Chip Vincent (cvincent@us.ibm.com)
27 //
28 // Modified By:
29 //
30 //%/////////////////////////////////////////////////////////////////////////////
31
32 #ifndef Pegasus_ProviderName_h
33 #define Pegasus_ProviderName_h
34
35 #include <Pegasus/Common/Config.h>
36 chip 1.1 #include <Pegasus/Common/String.h>
|
37 schuur 1.5 #include <Pegasus/Common/CIMName.h>
|
38 chip 1.1
39 #include <Pegasus/Server/Linkage.h>
40
41 PEGASUS_NAMESPACE_BEGIN
42
43 class PEGASUS_SERVER_LINKAGE ProviderName
44 {
45 public:
46 ProviderName(void);
47 //ProviderName(const String & s);
48 /*
49 physicalName - the fully qualified name to the physical component that is responsible for providing
50 for the object named in objectName.
51
52 logicalName - the logical name associated with the physical component. It is possible for one physical
53 component to have one or more logical components.
54
55 objectName - the relative or fully qualified CIM object name of interest.
56 */
57 ProviderName(
58 const String & objectName,
|
59 chip 1.2 const String & logicalName,
60 const String & physicalName,
61 const String & interfaceName,
|
62 schuur 1.5 const Uint32 capabilities,
63 const CIMName & method=CIMName());
|
64 chip 1.1
65 ~ProviderName(void);
66
|
67 schuur 1.4 String toString(void) const;
|
68 chip 1.1
69 String getObjectName(void) const;
70 void setObjectName(const String & objectName);
71
72 String getLogicalName(void) const;
73 void setLogicalName(const String & logicalName);
74
75 String getPhysicalName(void) const;
76 void setPhysicalName(const String & physicalName);
77
78 String getInterfaceName(void) const;
79 void setInterfaceName(const String & interfaceName);
80
81 Uint32 getCapabilitiesMask(void) const;
82 void setCapabilitiesMask(const Uint32 capabilities);
83
|
84 schuur 1.5 CIMName getMethodName(void) const;
85 void setMethodName(const CIMName & method);
86
|
87 chip 1.1 private:
88 String _physicalName;
89 String _interfaceName;
90
91 String _logicalName;
92 String _objectName;
93
94 Uint32 _capabilities;
|
95 schuur 1.5
96 CIMName _method;
|
97 chip 1.1
98 };
99
100 PEGASUS_NAMESPACE_END
101
102 #endif
|