version 1.2, 2001/07/06 19:33:36
|
version 1.3, 2004/02/17 11:22:59
|
|
|
<html> | <html> |
<body bgcolor="#CCCCCC"> |
<head> |
|
<script> |
|
function rTrim(tempStr){ |
|
while( tempStr.lastIndexOf(' ') == tempStr.length-1 && tempStr.length > 0 ) |
|
{ |
|
tempStr = tempStr.substring(0,tempStr.length-1) |
|
} |
|
document.AssociatorNames.ObjectName.value = tempStr; |
|
} |
|
</script> |
|
</head> |
|
<body bgcolor="#cccccc"> |
<table width="100%"> | <table width="100%"> |
<tr> | <tr> |
<td width="50%" align="bottom"><h1>Associator Names CIM Operation</h1><td> |
<td width="50%" align="bottom"><h1>Associator Names CIM Operation</h1> |
|
<td> |
<td width="50%" align="right"> | <td width="50%" align="right"> |
<img border=1 src="/pegasus/icons/OpenGroupLogo.gif"> |
<img border="1" src="/pegasus/icons/OpenGroupLogo.gif"> |
</td> | </td> |
</tr> | </tr> |
</table> | </table> |
<hr> | <hr> |
<form name="ReferenceNames" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient"> |
<form name="AssociatorNames" METHOD="get" ACTION="/pegasus/cgi-bin/CGIClient"> |
<INPUT TYPE="hidden" NAME="Operation" VALUE="ReferenceNames"> |
<INPUT TYPE="hidden" NAME="Operation" VALUE="AssociatorNames"> <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988"> |
<INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988"> |
<INPUT TYPE="hidden" NAME="debug" ID="Hidden1"> |
<p> | <p> |
<a name="TOP"></a> |
<a name="TOP"></a>The <TT>associatorNames</TT> |
|
operation enumerates the names of CIM Objects (Classes or Instances) that are |
The <TT>associatorNames</TT> operation enumerates the names of |
associated to a particular source CIM Object. |
CIM Objects (Classes or Instances) that are associated to a particular |
<p><b><a href="#NameSpace">NameSpace</a></b> <INPUT TYPE="text" NAME="NameSpace" SIZE="30" VALUE="root/cimv2"> |
source CIM Object. |
String that defines the target namespace. See <a href="enumeratenamespaces.html">NameSpace |
<p><b><a href="#NameSpace">NameSpace</a></b> |
Operations</a> |
<INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2"> String that defines the target namespace. See <a href="getnamespaces.html">NameSpace |
for more information. |
Operations</a> for more information. |
<p><b><a href="#ObjectName">ObjectName</a> </b> <INPUT TYPE="text" NAME="ObjectName" SIZE="33"> |
<p><b><a href="#ObjectName">ObjectName</a> </b> <INPUT TYPE="text" NAME="ObjectName" SIZE=33> Defines |
Defines name of the Class or Instance for which Associator |
name of the Class |
names are to be retrieved. This must be a legal class in the repository |
for which instance names are to be retrieved. This must be a legal |
or a valid Instance<p><b><a href="#assocClass">AssocClass</a> </b> |
class in the repository<p><b><a href="#assocClass">AssocClass</a> </b> <input type="text" name="AssocClass" size="33"> |
<input type="text" name="AssocClass" size="33"> |
NULL or association Class that acts as filter<p><b><a href="#ResultClass">ResultClass</a></b> |
Association Class that acts as filter<p><b><a href="#ResultClass">ResultClass</a></b> |
<input type="text" name="ResultClass" size="34"> NULL or a valid CIM class name |
<input type="text" name="ResultClass" size="34" value="NULL"> |
that acts as a filter on returned set of Object Names.<p><b><a href="#Role">Role</a></b><a href="#Role"> </a> |
NULL or a valid CIM class name that acts as a filter on returned set of Object |
<input type="text" name="Role" size="34"> Null or valid CIM Property name. |
Names.<p><b><a href="#Role">Role</a></b><a href="#Role"> </a> |
Acts as filter on returned set of object names.<p><b><a href="#resultRole">ResultRole</a></b> |
<input type="text" name="Role" size="34"> |
<input type="text" name="ResultRole" size="34"> Null or |
Null or valid CIM Property name. Acts as filter on returned set of object |
Valid CIM Property name that acts as filter on returned set of names. |
names.<p><b><a href="#resultRole">ResultRole</a></b> <input type="text" name="ResultRole" size="34"> |
<p><INPUT TYPE="submit" VALUE="Submit Request"> |
Null or Valid CIM Property name that acts as filter on |
<INPUT TYPE="reset" VALUE="Reset"> |
returned set of names. |
|
<p><INPUT TYPE="submit" VALUE="Submit Request" onClick="rTrim(document.AssociatorNames.ObjectName.value);"> |
|
<INPUT TYPE="reset" VALUE="Reset Form"> |
</form> | </form> |
|
|
<hr> | <hr> |
<hr> | <hr> |
<h2>Additional Information</h2> | <h2>Additional Information</h2> |
<p>The <TT>associatorNames</TT> operation enumerates the names of |
<p>The <TT>associatorNames</TT> |
CIM Objects (Classes or Instances) that are associated to a particular |
operation enumerates the names of CIM Objects (Classes or Instances) that are |
source CIM Object. |
associated to a particular source CIM Object. |
<p><b><a name="NameSpace">NameSpace</a></b> The NameSpace parameter is a string that defines the target |
<p><b><a name="NameSpace">NameSpace</a></b> The NameSpace parameter is a string |
namespace. <br> |
that defines the target namespace. <br> |
<br> | <br> |
<b> |
<b><a name="ObjectName">ObjectName</a></b> The <TT>objectName</TT> input |
<a name="ObjectName"> |
parameter defines the target CIM Object whose referring object names are to be |
ObjectName</a></b> The <TT>objectName</TT> input parameter defines the target CIM Object whose referring object names are to be returned. It may be either a Class name or an Instance name (model path).<br> |
returned. It may be either a Class name or an Instance name (model path).<br> |
<br> | <br> |
<b><a name="assocClass">assocClass</a></b> The <TT>assocClass</TT> input parameter, if not NULL, |
<b><a name="assocClass">assocClass</a></b> The <TT>assocClass</TT> |
MUST be a valid CIM Association Class name. It acts as a filter on the |
input parameter, if not NULL, MUST be a valid CIM Association Class name. It |
returned set of names by mandating that each returned name identifies an |
acts as a filter on the returned set of names by mandating that each returned |
Object that MUST be associated to the source Object via an Instance of this |
name identifies an Object that MUST be associated to the source Object via an |
Class or one of its subclasses. |
Instance of this Class or one of its subclasses. |
<p><b><a name="resultClass">resultClass</a></b> The <TT>resultClass</TT> input parameter, if not NULL, |
<p><b><a name="resultClass">resultClass</a></b> The <TT>resultClass</TT> |
MUST be a valid CIM Class name. It acts as a filter on the returned set of |
input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a |
names by mandating that each returned name identifies an Object that MUST be |
filter on the returned set of names by mandating that each returned name |
either an Instance of this Class (or one of its subclasses) or be this Class |
identifies an Object that MUST be either an Instance of this Class (or one of |
(or one of its subclasses). |
its subclasses) or be this Class (or one of its subclasses). |
<p><b><a name="role">role</a></b> The <TT>role</TT> input parameter, if not NULL, MUST be a valid |
<p><b><a name="role">role</a></b> The <TT>role</TT> |
CIMProperty name. It acts as a filter on the returned set of names by |
input parameter, if not NULL, MUST be a valid CIMProperty name. It acts as a |
mandating that each returned name identifies an Object that MUST be |
filter on the returned set of names by mandating that each returned name |
associated to the source Object via an Association in which the source |
identifies an Object that MUST be associated to the source Object via an |
Object plays the specified role (i.e. the name of the CIMProperty in the |
Association in which the source Object plays the specified role (i.e. the name |
Association Class that refers to the source Object MUST match the value of |
of the CIMProperty in the Association Class that refers to the source Object |
this parameter). |
|
<p><b><a name="resultRole">resultRole</a></b> The <TT>resultRole</TT> input parameter, if not |
|
<TT>NULL</TT>, MUST be a valid CIMProperty name. It acts as a filter on the |
|
returned set of names by mandating that each returned name identifies an |
|
Object that MUST be associated to the source Object via an Association in |
|
which the named returned Object plays the specified role (i.e. the name of |
|
the CIMProperty in the Association Class that refers to the returned Object |
|
MUST match the value of this parameter). | MUST match the value of this parameter). |
|
<p><b><a name="resultRole">resultRole</a></b> The <TT>resultRole</TT> input |
|
parameter, if not <TT>NULL</TT>, MUST be a valid CIMProperty name. It acts as a |
|
filter on the returned set of names by mandating that each returned name |
|
identifies an Object that MUST be associated to the source Object via an |
|
Association in which the named returned Object plays the specified role (i.e. |
|
the name of the CIMProperty in the Association Class that refers to the |
|
returned Object MUST match the value of this parameter). |
<hr> | <hr> |
<h2>Return</h2> | <h2>Return</h2> |
<p> | <p> |
|
If successful, the method returns zero or more full CIM Class paths or Instance |
If successful, the method returns zero or more full CIM Class paths |
paths of Objects meeting the requested criteria. Since it is possible for CIM |
or Instance paths of Objects meeting the requested criteria. Since it is |
Objects from different hosts or namespaces to be associated, each returned path |
possible for CIM Objects from different hosts or namespaces to be |
is an absolute path that includes host and namespace information. If |
associated, each returned path is an absolute path that includes host and |
unsuccessful, one of the following status codes MUST be returned by this |
namespace information. |
method, where the first applicable error in the list (starting with the first |
|
element of the list, and working down) is the error returned. Any additional |
If unsuccessful, one of the following status codes MUST be returned by this |
method-specific interpretation of the error in is given in parentheses. |
method, where the first applicable error in the list (starting with the |
|
first element of the list, and working down) is the error returned. Any |
|
additional method-specific interpretation of the error in is given in |
|
parentheses. |
|
|
|
<UL> | <UL> |
<LI>CIM_ERR_ACCESS_DENIED |
<LI> |
<LI>CIM_ERR_NOT_SUPPORTED |
CIM_ERR_ACCESS_DENIED |
<LI>CIM_ERR_INVALID_NAMESPACE; |
<LI> |
<LI>CIM_ERR_INVALID_PARAMETER (including missing, |
CIM_ERR_NOT_SUPPORTED |
duplicate, unrecognized or otherwise incorrect parameters) |
<LI> |
<LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI> |
CIM_ERR_INVALID_NAMESPACE; |
|
<LI> |
|
CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or |
|
otherwise incorrect parameters) |
|
<LI> |
|
CIM_ERR_FAILED (some other unspecified error occurred)</LI> |
</UL> | </UL> |
<hr> | <hr> |
<h2>C++ Call</h2> | <h2>C++ Call</h2> |
|
|
const String& role = String::EMPTY, | const String& role = String::EMPTY, |
const String& resultRole = String::EMPTY) = 0; | const String& resultRole = String::EMPTY) = 0; |
<a href="#TOP">Go To Top</a> </pre> | <a href="#TOP">Go To Top</a> </pre> |
<hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration |
<hr> |
Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font> |
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"> |
|
<font size="2">Demonstration Prepared by the OpenGroup Manageability Work Group |
<p style="margin-top: 0; margin-bottom: 0"> <font size="2">See (<a href="http://www.opengroup.org/management">http://www.opengroup.org/management</a>) |
Pegasus Development Team</font> |
|
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"> |
|
<font size="2">See (<a href="http://www.opengroup.org/management">http://www.opengroup.org/management</a>) |
for more information on Pegasus</font> | for more information on Pegasus</font> |
|
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"> |
<p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED" |
<font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED" |
S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Friday, July 06, 2001 08:43:53 PM<!--webbot bot="Timestamp" i-CheckSum="55129" endspan --> |
S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan --> |
Copyright @ The Open Group 2001 </font> |
Friday, July 06, 2001 08:43:53 PM<!--webbot bot="Timestamp" i-CheckSum="55129" endspan --> |
|
Copyright @ The Open Group 2001 </font> |
<pre> </pre> | <pre> </pre> |
<pre> <script> | <pre> <script> |
document.ReferenceNames.hostaddress.value = top.hostAddress; |
document.AssociatorNames.hostaddress.value = top.hostAddress; |
document.ReferenceNames.debug = top.debug; |
document.AssociatorNames.debug.value = top.debug; |
document.ReferenceNames.NameSpace = top.namespace; |
document.AssociatorNames.NameSpace.text = top.namespace; |
window.focus(); | window.focus(); |
</script></pre> | </script></pre> |
</body> | </body> |
</html> | </html> |
|
|