| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bmc.cmdb.api.CMDBUIComponentInfo
public class CMDBUIComponentInfo
The CMDBUIComponentInfo class allows you to work with a 
 CMDBUIComponentInfo object that stores the user interface
 components that are associated with a class. The user interface components 
 are displayed with the class in a graphical display, such as the CI Viewer. 
 
 After you create the association, you can perform queries against it.
| Field Summary | |
|---|---|
static int | 
CMDB_COMPONENT_TYPE_ICON
Specifies that the user interface component type is Icon.  | 
static int | 
CMDB_COMPONENT_TYPE_LINE
Specifies that the user interface component type is Line.  | 
static int | 
CMDB_COMPONENT_TYPE_LOCALIZED_LABEL
Specifies that the user interface component type is Label.  | 
static int | 
CMDB_COMPONENT_TYPE_NONE
Specifies that the user interface component type is none.  | 
static int | 
CMDB_COMPONENT_TYPE_TOOLTIP
Specifies that the user interface component type is Tooltip.  | 
| Constructor Summary | |
|---|---|
CMDBUIComponentInfo()
Creates an empty CMDBUIComponentInfo object.  | 
|
CMDBUIComponentInfo(java.lang.String aClassId,
                    java.lang.String aLocale,
                    int aComponentType,
                    java.lang.String aTag1,
                    java.lang.String aTag2,
                    java.lang.String aTag3,
                    java.lang.String aTag4,
                    java.lang.String aTag5,
                    java.lang.String aEncodedQual)
Creates a CMDBGUIComponentInfo object using the specified class ID, locale, information tag, and encoded qualifier.  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
getClassId()
Gets the class ID for the UI component.  | 
 int | 
getComponentType()
Gets the component type for the UI component.  | 
 java.lang.String | 
getEncodedQual()
Gets the encoded qualifier string for the UI component.  | 
 java.lang.String | 
getLocale()
Gets the locale for the UI component.  | 
 java.lang.String | 
getTag1()
Gets the Tag1 for the UI component, which is the name of the application that owns the UI component.  | 
 java.lang.String | 
getTag2()
Gets the Tag2 for the UI component, which is an integer from 1 to 5 to indicate the size of the UI component, with a smaller number meaning a smaller size.  | 
 java.lang.String | 
getTag3()
Gets the Tag3 for the UI component, which is an integer to specify the format of the file attachment in ComponentAttachment.  | 
 java.lang.String | 
getTag4()
Gets the Tag4 for the UI component, which is an integer to specify the precedence value of the UI component.  | 
 java.lang.String | 
getTag5()
Gets the Tag5 for the UI component.  | 
 void | 
setClassId(java.lang.String aClassId)
Sets the class ID for the UI component.  | 
 void | 
setComponentType(int aComponentType)
Sets the component type for the UI component.  | 
 void | 
setEncodedQual(java.lang.String aEncodedQual)
Sets the encoded qualfier string for the UI component.  | 
 void | 
setLocale(java.lang.String aLocale)
Sets the locale for the UI component.  | 
 void | 
setTag1(java.lang.String aTag1)
Sets the Tag1 string for the UI component.  | 
 void | 
setTag2(java.lang.String aTag2)
Sets the Tag2 string for the UI component.  | 
 void | 
setTag3(java.lang.String aTag3)
Sets the Tag3 string for the UI component.  | 
 void | 
setTag4(java.lang.String aTag4)
Sets the Tag4 string for the UI component.  | 
 void | 
setTag5(java.lang.String aTag5)
Sets the Tag5 string for the UI component.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int CMDB_COMPONENT_TYPE_NONE
public static final int CMDB_COMPONENT_TYPE_ICON
public static final int CMDB_COMPONENT_TYPE_LOCALIZED_LABEL
public static final int CMDB_COMPONENT_TYPE_TOOLTIP
public static final int CMDB_COMPONENT_TYPE_LINE
| Constructor Detail | 
|---|
public CMDBUIComponentInfo()
public CMDBUIComponentInfo(java.lang.String aClassId,
                           java.lang.String aLocale,
                           int aComponentType,
                           java.lang.String aTag1,
                           java.lang.String aTag2,
                           java.lang.String aTag3,
                           java.lang.String aTag4,
                           java.lang.String aTag5,
                           java.lang.String aEncodedQual)
aClassId - the class id for the UI componentaLocale - the name of the locale specific to the component. 
 If no locale is specified, the default locale is used.aTag1 - name of the application that owns the UI component. 
 It should be a name other than BMC_CMDB, which is used for UI components
 supplied by BMC Atrium CMDB.aTag2 - an integer from 1 to 5 to indicate
 the size of an icon, with a smaller number meaning a smaller size. 
 For a standard 32-by-32-pixel icon, specify 3. This is the default for the
 icons shipped with the BMC Atrium CMDB. In this release, Tag2 is stored but not used.aTag3 - an integer to specify the format of the file attachment
 in ComponentAttachment. Options are: 1 (JPEG), 2 (BMP), 3 (GIF),
 4 (TIFF), or 5 (PNG). In this release, Tag3 is stored but not used.aTag4 - an integer to specify the precedence value of
 the UI component. For example, when more than one icon?s ComponentLocale and
 ComponentQual match an instance to be represented in the CI
 Relationship Viewer, the icon with the highest precedence value is
 displayed. The icons shipped with the BMC Atrium CMDB all have a
 precedence value of 10.aTag5 - the tag5 information tag for the UI componentaEncodedQual - qualification that specifies which instances of the class
 are represented by this component. If no qualification is specified,
 this component represents all instances of the class, 
 subject to the values of Locale and Tag4.
 Qualifications use dollar signs to enclose attribute names. 
 For example, the qualification $Name$ LIKE ?Computer%? matches 
 instances where the value of the Name attribute begins with ?Computer?.
 If it is an enumeration, then you must enter the numeric value.
 For example, the qualification $ThermalState$=4 given for a computer 
 system class matches instances where the Thermal State is ?Critical?.| Method Detail | 
|---|
public java.lang.String getClassId()
public java.lang.String getLocale()
public int getComponentType()
public java.lang.String getTag1()
public java.lang.String getTag2()
public java.lang.String getTag3()
public java.lang.String getTag4()
public java.lang.String getTag5()
public java.lang.String getEncodedQual()
public void setClassId(java.lang.String aClassId)
aClassId - class ID of the UI componentpublic void setLocale(java.lang.String aLocale)
aLocale - locale for the UI componentpublic void setComponentType(int aComponentType)
aComponentType - component type for the UI componentpublic void setTag1(java.lang.String aTag1)
aTag1 - name of the application that owns the UI component. 
 It should be a name other than BMC_CMDB, which is used for UI components
 supplied by BMC Atrium CMDB.public void setTag2(java.lang.String aTag2)
aTag2 - an integer from 1 to 5 to indicate the size of the UI component,
 with a smaller number meaning a smaller size.public void setTag3(java.lang.String aTag3)
aTag3 - an integer to specify the format of the file attachment
 in ComponentAttachment. 
 Options are: 1 (JPEG), 2 (BMP), 3 (GIF), 4 (TIFF), or 5 (PNG).public void setTag4(java.lang.String aTag4)
aTag4 - an integer to specify the precedence value of the UI component.
 For example, When more than one icon?s ComponentLocale and ComponentQual
 match an instance to be represented in the CI Relationship Viewer,
 the icon with the highest precedence value is displayed.
 The icons shipped with the BMC Atrium CMDB have a precedence value of 10.public void setTag5(java.lang.String aTag5)
aTag5 - public void setEncodedQual(java.lang.String aEncodedQual)
aEncodedQual - qualification that specifies which instances of the class
 are represented by this component. If no qualification is specified,
 this component represents all instances of the class, 
 subject to the values of Locale and Tag4.
 Qualifications use dollar signs to enclose attribute names. 
 For example, the qualification $Name$ LIKE ?Computer%? matches 
 instances where the value of the Name attribute begins with ?Computer?.
 If it is an enumeration, then you must enter the numeric value.
 For example, the qualification $ThermalState$=4 given for a computer 
 system class matches instances where the Thermal State is ?Critical?.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||