com.remedy.cmdb.api
Class CMDBXMLExportItem

java.lang.Object
  extended bycom.remedy.cmdb.api.CMDBXMLExportItem

public class CMDBXMLExportItem
extends java.lang.Object

Author:
mmehta

Field Summary
static int CMDB_ITEM_TYPE_ATTRIBUTE
          Export item which is to be exported is Attribute
static int CMDB_ITEM_TYPE_CLASS
          Export item which is to be exported is class
 
Constructor Summary
CMDBXMLExportItem()
          Default Constructor
CMDBXMLExportItem(CMDBItemTypeAttribute aAttributeItem)
          Constructor setting the data members
CMDBXMLExportItem(CMDBItemTypeClass aClassItem)
          Constructor setting the data members
 
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)
          set Attribute item for given CMDBXMLExportItem object
 void setClassItem(CMDBItemTypeClass aClassItem)
          set class item for given CMDBXMLExportItem object
 void setItemType(int aItemType)
          set 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
Export item which is to be exported is class

See Also:
Constant Field Values

CMDB_ITEM_TYPE_ATTRIBUTE

public static final int CMDB_ITEM_TYPE_ATTRIBUTE
Export item which is to be exported is Attribute

See Also:
Constant Field Values
Constructor Detail

CMDBXMLExportItem

public CMDBXMLExportItem()
Default Constructor


CMDBXMLExportItem

public CMDBXMLExportItem(CMDBItemTypeClass aClassItem)
Constructor setting the data members

Parameters:
aClassItem - class data

CMDBXMLExportItem

public CMDBXMLExportItem(CMDBItemTypeAttribute aAttributeItem)
Constructor setting the data members

Parameters:
aAttributeItem - attribute data
Method Detail

setItemType

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

Parameters:
aItemType - sets item type

setClassItem

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

Parameters:
aClassItem - sets class item

setAttributeItem

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

Parameters:
aAttributeItem - sets attribute item

getItemType

public int getItemType()
returns Item type for given CMDBXMLExportItem object

Returns:
item type

getClassItem

public CMDBItemTypeClass getClassItem()
returns Class item for given CMDBXMLExportItem object

Returns:
class item

getAttributeItem

public CMDBItemTypeAttribute getAttributeItem()
returns Attribute item for given CMDBXMLExportItem object

Returns:
attribute item