com.remedy.cmdb.api
Class CMDBXMLImportItem

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

public class CMDBXMLImportItem
extends java.lang.Object

Author:
mmehta

Field Summary
static int CMDB_DATA_IMPORT_OPT_ERROR_FOR_DUP
          Returns Error in case of Duplicate instance
static int CMDB_DATA_IMPORT_OPT_MERGE_FOR_DUP
          Overrides the data for Duplicate instance
static int CMDB_DATA_IMPORT_OPT_NEWID_FOR_ALL
          Creates NewId for all instances
static int CMDB_DATA_IMPORT_OPT_NEWID_FOR_DUP
          Creates NewId for the Duplicate instance
static int CMDB_DEF_IMPORT_OPT_CREATE
          Create the Object with imported definition
static int CMDB_DEF_IMPORT_OPT_OVERWRITE
          Overwrite the Object with imported definition
static int CMDB_ITEM_TYPE_ATTRIBUTE
          Import item which is to be exported is Attribute
static int CMDB_ITEM_TYPE_CLASS
          Import item which is to be exported is class
 
Constructor Summary
CMDBXMLImportItem()
          Default Constructor
CMDBXMLImportItem(CMDBItemTypeAttribute aAttributeItem)
          Constructor setting the data members
CMDBXMLImportItem(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
Import 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
Import item which is to be exported is Attribute

See Also:
Constant Field Values

CMDB_DEF_IMPORT_OPT_CREATE

public static final int CMDB_DEF_IMPORT_OPT_CREATE
Create the Object with imported definition

See Also:
Constant Field Values

CMDB_DEF_IMPORT_OPT_OVERWRITE

public static final int CMDB_DEF_IMPORT_OPT_OVERWRITE
Overwrite the Object with imported definition

See Also:
Constant Field Values

CMDB_DATA_IMPORT_OPT_ERROR_FOR_DUP

public static final int CMDB_DATA_IMPORT_OPT_ERROR_FOR_DUP
Returns Error in case of Duplicate instance

See Also:
Constant Field Values

CMDB_DATA_IMPORT_OPT_NEWID_FOR_DUP

public static final int CMDB_DATA_IMPORT_OPT_NEWID_FOR_DUP
Creates NewId for the Duplicate instance

See Also:
Constant Field Values

CMDB_DATA_IMPORT_OPT_MERGE_FOR_DUP

public static final int CMDB_DATA_IMPORT_OPT_MERGE_FOR_DUP
Overrides the data for Duplicate instance

See Also:
Constant Field Values

CMDB_DATA_IMPORT_OPT_NEWID_FOR_ALL

public static final int CMDB_DATA_IMPORT_OPT_NEWID_FOR_ALL
Creates NewId for all instances

See Also:
Constant Field Values
Constructor Detail

CMDBXMLImportItem

public CMDBXMLImportItem()
Default Constructor


CMDBXMLImportItem

public CMDBXMLImportItem(CMDBItemTypeClass aClassItem)
Constructor setting the data members

Parameters:
aClassItem - class data

CMDBXMLImportItem

public CMDBXMLImportItem(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