version 1.5, 2004/02/26 11:28:45
|
version 1.6, 2004/03/02 09:38:36
|
|
|
// | // |
// Author: Chip Vincent (cvincent@us.ibm.com) | // Author: Chip Vincent (cvincent@us.ibm.com) |
// | // |
// Modified By: |
// Modified By: Adrian Schuur (schuur@de.ibm.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/CIMName.h> | #include <Pegasus/Common/CIMName.h> |
|
#include <Pegasus/Common/CIMObjectPath.h> |
| |
#include <Pegasus/Server/Linkage.h> | #include <Pegasus/Server/Linkage.h> |
| |
|
|
{ | { |
public: | public: |
ProviderName(void); | ProviderName(void); |
//ProviderName(const String & s); |
|
/* |
|
physicalName - the fully qualified name to the physical component that is responsible for providing |
|
for the object named in objectName. |
|
| |
logicalName - the logical name associated with the physical component. It is possible for one physical |
|
component to have one or more logical components. |
|
|
|
objectName - the relative or fully qualified CIM object name of interest. |
|
*/ |
|
ProviderName( | ProviderName( |
const String & objectName, |
|
const String & logicalName, | const String & logicalName, |
const String & physicalName, | const String & physicalName, |
const String & interfaceName, | const String & interfaceName, |
const Uint32 capabilities, | const Uint32 capabilities, |
const CIMName & method=CIMName()); | const CIMName & method=CIMName()); |
| |
~ProviderName(void); |
ProviderName( |
|
const CIMNamespaceName & nameSpace, |
String toString(void) const; |
const CIMName & className, |
|
const Uint32 capabilities, |
|
const CIMName & method=CIMName()); |
| |
String getObjectName(void) const; |
ProviderName( |
void setObjectName(const String & objectName); |
const CIMObjectPath & path, |
|
const Uint32 capabilities, |
|
const CIMName & method=CIMName()); |
| |
String getLogicalName(void) const; |
~ProviderName(void); |
void setLogicalName(const String & logicalName); |
|
| |
String getPhysicalName(void) const; |
String getLogicalName() const; |
|
String getPhysicalName() const; |
void setPhysicalName(const String & physicalName); | void setPhysicalName(const String & physicalName); |
|
|
String getInterfaceName(void) const; | String getInterfaceName(void) const; |
void setInterfaceName(const String & interfaceName); |
|
|
|
Uint32 getCapabilitiesMask(void) const; | Uint32 getCapabilitiesMask(void) const; |
void setCapabilitiesMask(const Uint32 capabilities); |
|
|
|
CIMName getMethodName(void) const; | CIMName getMethodName(void) const; |
void setMethodName(const CIMName & method); |
CIMNamespaceName getNameSpace() const; |
|
CIMName getClassName() const; |
| |
private: | private: |
|
CIMNamespaceName _nameSpace; |
|
CIMName _className; |
String _physicalName; | String _physicalName; |
String _interfaceName; | String _interfaceName; |
|
|
String _logicalName; | String _logicalName; |
String _objectName; |
|
|
|
Uint32 _capabilities; | Uint32 _capabilities; |
| |
CIMName _method; | CIMName _method; |