|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bmc.cmdb.api.CMDBXMLImportItem
public class CMDBXMLImportItem
The CMDBXMLImportItem
class describes the Object to be imported
in the XML format for the given instance.
The two types of objects that can be imported are type Class
and type Attribute.
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
Creates the Object with imported definition. |
static int |
CMDB_DEF_IMPORT_OPT_OVERWRITE
Overwrites the Object with imported definition. |
static int |
CMDB_ITEM_TYPE_ATTRIBUTE
Denotes that this import item object is of type attribute. |
static int |
CMDB_ITEM_TYPE_CLASS
Denotes that this import item object is of type class. |
Constructor Summary | |
---|---|
CMDBXMLImportItem()
Default Constructor that creates an empty CMDBXMLImportItem object. |
|
CMDBXMLImportItem(CMDBItemTypeAttribute aAttributeItem)
Constructor initializing the data members for the import type "Attribute". |
|
CMDBXMLImportItem(CMDBItemTypeClass aClassItem)
Constructor initializing the data members for the import type "Class". |
Method Summary | |
---|---|
CMDBItemTypeAttribute |
getAttributeItem()
Returns Attribute item for the given CMDBXMLImportItem object. |
CMDBItemTypeClass |
getClassItem()
Returns Class item for the given CMDBXMLImportItem object. |
int |
getItemType()
Returns Item type for the given CMDBXMLImportItem object. |
void |
setAttributeItem(CMDBItemTypeAttribute aAttributeItem)
Sets Attribute item for the given CMDBXMLImportItem object. |
void |
setClassItem(CMDBItemTypeClass aClassItem)
Sets class item for the given CMDBXMLImportItem object. |
void |
setItemType(int aItemType)
Sets Item type for the given CMDBXMLImportItem 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
public static final int CMDB_DEF_IMPORT_OPT_CREATE
public static final int CMDB_DEF_IMPORT_OPT_OVERWRITE
public static final int CMDB_DATA_IMPORT_OPT_ERROR_FOR_DUP
public static final int CMDB_DATA_IMPORT_OPT_NEWID_FOR_DUP
public static final int CMDB_DATA_IMPORT_OPT_MERGE_FOR_DUP
public static final int CMDB_DATA_IMPORT_OPT_NEWID_FOR_ALL
Constructor Detail |
---|
public CMDBXMLImportItem()
public CMDBXMLImportItem(CMDBItemTypeClass aClassItem)
aClassItem
- class data for the given CMDBXMLImportItem objectpublic CMDBXMLImportItem(CMDBItemTypeAttribute aAttributeItem)
aAttributeItem
- attribute data for the given CMDBXMLImportItem objectMethod Detail |
---|
public void setItemType(int aItemType)
aItemType
- sets item type for the given CMDBXMLImportItem objectpublic void setClassItem(CMDBItemTypeClass aClassItem)
aClassItem
- sets class item for the given CMDBXMLImportItem objectpublic void setAttributeItem(CMDBItemTypeAttribute aAttributeItem)
aAttributeItem
- sets attribute item for the given CMDBXMLImportItem 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 |