version 1.1, 2003/10/08 16:30:46
|
version 1.4.6.2, 2004/03/03 12:33:57
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2003//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000 - 2003 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// The Open Group, Tivoli Systems |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
|
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
|
// IBM Corp.; EMC Corporation, The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
// 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/CIMObjectPath.h> |
| |
#include <Pegasus/Server/Linkage.h> |
#include <Pegasus/ProviderManager2/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
class PEGASUS_SERVER_LINKAGE ProviderName |
class PEGASUS_PPM_LINKAGE ProviderName |
{ | { |
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 = String::EMPTY, |
const String & physicalName, |
const String & physicalName = String::EMPTY, |
const String & interfaceName, |
const String & interfaceName = String::EMPTY, |
const Uint32 capabilities, |
const Uint32 capabilities = 0); |
const CIMName & method=CIMName()); |
|
|
~ProviderName(void); |
|
| |
//String toString(void) const; |
ProviderName( |
|
const CIMNamespaceName & nameSpace, |
|
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; |
|
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; |
|
|
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |