com.tivoli.twg.dmi
Class DMIComponent

java.lang.Object
  extended bycom.tivoli.twg.dmi.DMIComponent

public class DMIComponent
extends java.lang.Object

This class represents a DMI Component.


Constructor Summary
protected DMIComponent()
           
  DMIComponent(int CompID, java.lang.String Name, java.lang.String Pragma, java.lang.String Description)
          Construct a DMI Component.
 
Method Summary
 java.lang.String GetDescription()
          Accessor for retrieving the Component Description, if present, that was assigned by the component vendor when building this component.
 int GetID()
          Accessor for retrieving the Component ID of this Component.
 java.lang.String GetName()
          Accessor for retrieving the Name assigned to this component by the component vendor.
 java.lang.String GetPragma()
          Accessor for retrieving the Component Pragma, if present, that was assigned by the component vendor when building this component.
 java.lang.String toString()
          Dubug method for dumping the contents of the component class as a diaplayable string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DMIComponent

protected DMIComponent()

DMIComponent

public DMIComponent(int CompID,
                    java.lang.String Name,
                    java.lang.String Pragma,
                    java.lang.String Description)
Construct a DMI Component.

Method Detail

GetID

public int GetID()
Accessor for retrieving the Component ID of this Component.

Returns:
int - Component ID assigned to this component by the DMI Service Provider.

GetName

public java.lang.String GetName()
Accessor for retrieving the Name assigned to this component by the component vendor.

Returns:
String - Component Name.

GetPragma

public java.lang.String GetPragma()
Accessor for retrieving the Component Pragma, if present, that was assigned by the component vendor when building this component.

Returns:
- The Pragma string if present, otherwise a null.

GetDescription

public java.lang.String GetDescription()
Accessor for retrieving the Component Description, if present, that was assigned by the component vendor when building this component.

Returns:
- The Description string if present, otherwise a null.

toString

public java.lang.String toString()
Dubug method for dumping the contents of the component class as a diaplayable string.

Returns:
String - Displayable (debug form) component information.