version 1.5, 2004/02/26 11:28:45
|
version 1.11, 2006/01/30 16:18:01
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L. P., IBM Corp., 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.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec 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/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, |
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); |
String getLocation(void) const; |
|
void setLocation(const String &); |
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; |
String _location; |
|
|
Uint32 _capabilities; | Uint32 _capabilities; |
| |
CIMName _method; | CIMName _method; |