Claims
- 1. A method of generating display names for management definition data elements, said method comprising:
receiving an element identifier; retrieving a non-instance name from a management data definition in response to determining that an element corresponding to the element identifier is a non-instance element; retrieving an instance name from the management data definition in response to determining that the element corresponding to the element identifier is an instance element; and displaying the retrieved name on a display device.
- 2. The method as described in claim 1 wherein the management data definition includes a common information model managed object format file.
- 3. The method as described in claim 1 further comprising:
locating a qualifier corresponding to the retrieved name; reading a qualifier value corresponding to the qualifier; and replacing the retrieved name with the qualifier value prior to the displaying.
- 4. The method as described in claim 1 further comprising:
searching a translation file for a translated string that corresponds to the retrieved name; and replacing the retrieved name with the translated string prior to the displaying.
- 5. The method as described in claim 1 further comprising:
receiving an element request from a calling routine, the element request including the element identifier; and returning the retrieved name to the calling routine.
- 6. The method as described in claim 1 wherein retrieving the instance name further comprises:
identifying a plurality of properties corresponding to the element identifier; retrieving a plurality of values, wherein each of the values corresponds with one of the properties; and writing each of the properties followed by the value corresponding to the property to the retrieved name.
- 7. The method as described in claim 1 wherein retrieving the instance name further comprises:
identifying a property corresponding to the element identifier; retrieving a property name corresponding to the property; and writing the property name to the retrieved name.
- 8. An information handling system comprising:
one or more processors; a memory accessible by the processors; a nonvolatile storage area accessible by the processors; and a display name tool for generating display names from a management definition file stored on the nonvolatile storage device, the display name tool including:
input logic for receiving an element identifier; retrieval logic for retrieving a non-instance name from a management data definition in response to determining that an element corresponding to the element identifier is a non-instance element; retrieval logic for retrieving an instance name from the management data definition in response to determining that the element corresponding to the element identifier is an instance element; and display logic for displaying the retrieved name on a display device.
- 9. The information handling system as described in claim 8 wherein the management data definition includes a common information model managed object format file.
- 10. The information handling system as described in claim 8 further comprising:
retrieval logic for locating a qualifier corresponding to the retrieved name; input logic for reading a qualifier value corresponding to the qualifier; and output logic for replacing the retrieved name with the qualifier value prior to displaying the retrieved name.
- 11. The information handling system as described in claim 8 further comprising:
retrieval logic for searching a translation file for a translated string that corresponds to the retrieved name; and output logic for replacing the retrieved name with the translated string prior to displaying the retrieved name.
- 12. The information handling system as described in claim 8 further comprising:
input logic for receiving an element request from a calling routine, the element request including the element identifier; and response logic for returning the retrieved name to the calling routine.
- 13. The information handling system as described in claim 8 wherein the retrieval logic for retrieving the instance name further comprises:
identification logic for identifying a plurality of properties corresponding to the element identifier; retrieval logic for retrieving a plurality of values, wherein each of the values corresponds with one of the properties; and output logic for writing each of the properties followed by the value corresponding to the property to the retrieved name.
- 14. The information handling system as described in claim 8 wherein the retrieval logic for retrieving the instance name further comprises:
identification logic for identifying a property corresponding to the element identifier; retrieval logic for retrieving a property name corresponding to the property; and output logic for writing the property name to the retrieved name.
- 15. A computer program product stored on a computer operable medium for generating display names for management definition data elements, said computer program product comprising:
means for receiving an element identifier; means for retrieving a non-instance name from a management data definition in response to determining that an element corresponding to the element identifier is a non-instance element; means for retrieving an instance name from the management data definition in response to determining that the element corresponding to the element identifier is an instance element; and means for displaying the retrieved name on a display device.
- 16. The computer program product as described in claim 15 wherein the management data definition includes a common information model managed object format file.
- 17. The computer program product as described in claim 15 further comprising:
means for locating a qualifier corresponding to the retrieved name; means for reading a qualifier value corresponding to the qualifier; and means for replacing the retrieved name with the qualifier value prior to the displaying.
- 18. The computer program product as described in claim 15 further comprising:
means for searching a translation file for a translated string that corresponds to the retrieved name; and means for replacing the retrieved name with the translated string prior to the displaying.
- 19. The computer program product as described in claim 15 further comprising:
means for receiving an element request from a calling routine, the element request including the element identifier; and means for returning the retrieved name to the calling routine.
- 20. The computer program product as described in claim 15 wherein the means for retrieving the instance name further comprises:
means for identifying a plurality of properties corresponding to the element identifier; means for retrieving a plurality of values, wherein each of the values corresponds with one of the properties; and means for writing each of the properties followed by the value corresponding to the property to the retrieved name.
- 21. The computer program product as described in claim 15 wherein the means for retrieving the instance name further comprises:
means for identifying a property corresponding to the element identifier; means for retrieving a property name corresponding to the property; and means for writing the property name to the retrieved name.
- 22. A method of generating display names for management definition data elements, said method comprising:
receiving an element identifier; retrieving a non-instance name from a management data definition in response to determining that an element corresponding to the element identifier is a non-instance element, wherein the management data definition includes a common information model managed object format file; retrieving an instance name from a management data definition in response to determining that an element corresponding to the element identifier is an instance element; locating a qualifier corresponding to the retrieved name; reading a qualifier value corresponding to the qualifier; replacing the retrieved name with the qualifier value; and displaying the retrieved name on a display device.
- 23. A method of generating display names for management definition data elements, said method comprising:
receiving an element identifier; retrieving an instance name from a management data definition in response to determining that an element corresponding to the element identifier is an instance element, the retrieving an instance name further including:
identifying a plurality of properties corresponding to the element identifier; retrieving a plurality of values, wherein each of the values corresponds with one of the properties; and writing each of the properties followed by the value corresponding to the property to the retrieved name; and displaying the retrieved name on a display device.
- 24. An information handling system comprising:
one or more processors; a memory accessible by the processors; a nonvolatile storage area accessible by the processors; and a display name tool for generating display names from a management definition file stored on the nonvolatile storage device, the display name tool including:
input logic for receiving an element identifier; retrieval logic for retrieving a non-instance name from a management data definition in response to determining that an element corresponding to the element identifier is a non-instance element, wherein the management data definition includes a common information model managed object format file; retrieval logic for retrieving an instance name from the management data definition in response to determining that an element corresponding to the element identifier is an instance element; display logic for displaying the retrieved name on a display device; retrieval logic for searching a translation file for a translated string that corresponds to the retrieved name; and output logic for replacing the retrieved name with the translated string prior to displaying the retrieved name.
- 25. A computer program product stored on a computer operable medium for generating display names for management definition data elements, said computer program product comprising:
means for receiving an element identifier; means for retrieving a non-instance name from a management data definition in response to determining that an element corresponding to the element identifier is a non-instance element, wherein the management data definition includes a common information model managed object format file; means for retrieving an instance name from the management data definition in response to determining that the element corresponding to the element identifier is an instance element; means for displaying the retrieved name on a display device; means for locating a qualifier corresponding to the retrieved name; means for reading a qualifier value corresponding to the qualifier; and means for replacing the retrieved name with the qualifier value prior to the displaying.
RELATED APPLICATIONS
[0001] This application is related to the following co-pending U.S. patent applications filed on the same day as the present application: “System and Method for Converting Management Models to Specific Console Interfaces,” by Barker, Diller, Gay, Hedstrom, Persche, Salahshoor, Sweitzer, and Thorpe Ser. No. ______ (Docket No. RSW920010048US1); “System and Method for Mapping Management Objects to Console Neutral User Interface,” by Barker, Diller, Gay, Hedstrom, Persche, Salahshoor, and Thorpe Ser. No. ______ (Docket No. RSW920010049US1); “System and Method for Managing Translatable Strings Displayed on Console Interfaces,” by Barker, Diller, Hedstrom, Persche, Salahshoor, and Thorpe Ser. No. ______ (Docket No. RSW920010050US1); and “System and Method for Packaging and Installing Management Models with Specific Console Interfaces,” by Barker, Diller, Hedstrom, Persche, Salahshoor, and Thorpe Ser. No. ______ (Docket No. RSW920010187US1). The present application and each of the related applications have been assigned to the IBM Corporation.