com.bmc.cmdb.api
Class CMDBXMLExportItem

java.lang.Object
  extended by com.bmc.cmdb.api.CMDBXMLExportItem

public class CMDBXMLExportItem
extends java.lang.Object

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

CMDB_ITEM_TYPE_CLASS

public static final int CMDB_ITEM_TYPE_CLASS
Denotes that this export item object is of type class.

See Also:
Constant Field Values

CMDB_ITEM_TYPE_ATTRIBUTE

public static final int CMDB_ITEM_TYPE_ATTRIBUTE
Denotes that this export item object is of type attribute.

See Also:
Constant Field Values
Constructor Detail

CMDBXMLExportItem

public CMDBXMLExportItem()
Default Constructor that creates an empty CMDBXMLExportItem object.


CMDBXMLExportItem

public CMDBXMLExportItem(CMDBItemTypeClass aClassItem)
Constructor initializing the data members for the export type "Class".

Parameters:
aClassItem - class data for the given CMDBXMLExportItem object

CMDBXMLExportItem

public CMDBXMLExportItem(CMDBItemTypeAttribute aAttributeItem)
Constructor initializing the data members for the export type "Attribute".

Parameters:
aAttributeItem - attribute data for the given CMDBXMLExportItem object
Method Detail

setItemType

public void setItemType(int aItemType)
Sets Item type for given CMDBXMLExportItem object.

Parameters:
aItemType - sets item type for the given CMDBXMLExportItem object

setClassItem

public void setClassItem(CMDBItemTypeClass aClassItem)
Sets class item for given CMDBXMLExportItem object.

Parameters:
aClassItem - sets class item for the given CMDBXMLExportItem object

setAttributeItem

public void setAttributeItem(CMDBItemTypeAttribute aAttributeItem)
Sets Attribute item for given CMDBXMLExportItem object.

Parameters:
aAttributeItem - sets attribute item for the given CMDBXMLExportItem object

getItemType

public int getItemType()
Returns Item type for given CMDBXMLExportItem object.

Returns:
itemType for the given CMDBXMLExportItem object

getClassItem

public CMDBItemTypeClass getClassItem()
Returns Class item for given CMDBXMLExportItem object.

Returns:
CMDBItemTypeClass object for the given CMDBXMLExportItem object

getAttributeItem

public CMDBItemTypeAttribute getAttributeItem()
Returns Attribute item for given CMDBXMLExportItem object.

Returns:
CMDBItemTypeAttribute object for the given CMDBXMLExportItem object


(c) Copyright 2004-2007 BMC Software, Inc.