|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bmc.cmdb.api.CMDBXMLExportItem
public class CMDBXMLExportItem
The CMDBXMLExportItem
class describes the Object to be exported
in the XML format for the given instance.
The two types of objects that can be exported are type Class
and type Attribute.
Field Summary | |
---|---|
static int |
CMDB_ITEM_TYPE_ATTRIBUTE
Denotes that this export item object is of type attribute. |
static int |
CMDB_ITEM_TYPE_CLASS
Denotes that this export item object is of type class. |
Constructor Summary | |
---|---|
CMDBXMLExportItem()
Default Constructor that creates an empty CMDBXMLExportItem object. |
|
CMDBXMLExportItem(CMDBItemTypeAttribute aAttributeItem)
Constructor initializing the data members for the export type "Attribute". |
|
CMDBXMLExportItem(CMDBItemTypeClass aClassItem)
Constructor initializing the data members for the export type "Class". |
Method Summary | |
---|---|
CMDBItemTypeAttribute |
getAttributeItem()
Returns Attribute item for given CMDBXMLExportItem object. |
CMDBItemTypeClass |
getClassItem()
Returns Class item for given CMDBXMLExportItem object. |
int |
getItemType()
Returns Item type for given CMDBXMLExportItem object. |
void |
setAttributeItem(CMDBItemTypeAttribute aAttributeItem)
Sets Attribute item for given CMDBXMLExportItem object. |
void |
setClassItem(CMDBItemTypeClass aClassItem)
Sets class item for given CMDBXMLExportItem object. |
void |
setItemType(int aItemType)
Sets Item type for given CMDBXMLExportItem object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CMDB_ITEM_TYPE_CLASS
public static final int CMDB_ITEM_TYPE_ATTRIBUTE
Constructor Detail |
---|
public CMDBXMLExportItem()
public CMDBXMLExportItem(CMDBItemTypeClass aClassItem)
aClassItem
- class data for the given CMDBXMLExportItem objectpublic CMDBXMLExportItem(CMDBItemTypeAttribute aAttributeItem)
aAttributeItem
- attribute data for the given CMDBXMLExportItem objectMethod Detail |
---|
public void setItemType(int aItemType)
aItemType
- sets item type for the given CMDBXMLExportItem objectpublic void setClassItem(CMDBItemTypeClass aClassItem)
aClassItem
- sets class item for the given CMDBXMLExportItem objectpublic void setAttributeItem(CMDBItemTypeAttribute aAttributeItem)
aAttributeItem
- sets attribute item for the given CMDBXMLExportItem objectpublic int getItemType()
public CMDBItemTypeClass getClassItem()
public CMDBItemTypeAttribute getAttributeItem()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |