version 1.2, 2003/10/16 23:07:55
|
version 1.12, 2006/11/14 18:34:56
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// 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. |
|
// 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) |
|
// |
|
// Modified By: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_ProviderName_h | #ifndef Pegasus_ProviderName_h |
|
|
| |
#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(); |
//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()); |
~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 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() const; |
String getInterfaceName(void) const; |
String getLocation() const; |
void setInterfaceName(const String & interfaceName); |
void setLocation(const String&); |
|
Uint32 getCapabilitiesMask() const; |
Uint32 getCapabilitiesMask(void) const; |
CIMName getMethodName() const; |
void setCapabilitiesMask(const Uint32 capabilities); |
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; |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |