com.bmc.cmdb.api
Class CMDBVersionInfo

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

public class CMDBVersionInfo
extends java.lang.Object

The CMDBVersionInfo class allows you to work with an object that stores the version information for the BMC Atrium CMDB components. After you create the object, you can perform queries against it.


Method Summary
 java.lang.String getApplicationID()
          Gets the application ID for the BMC Atrium CMDB component.
 java.lang.String getApplicationName()
          Gets the application name for the BMC Atrium CMDB component.
 boolean getIsExist()
          Gets the Boolean value that indicates whether the component exists.
 int getmaintenanceVer()
          Gets the application maintenance version for the BMC Atrium CMDB component.
 int getmajorVer()
          Gets the application major version for the BMC Atrium CMDB component.
 int getminorVer()
          Gets the application minor version for the BMC Atrium CMDB component.
 int getpatchNum()
          Gets the application patch number for the BMC Atrium CMDB component.
 void setApplicationId(java.lang.String aapplicationId)
          Sets the job ApplicationID for the BMC Atrium CMDB component.
 void setApplicationName(java.lang.String aapplicationName)
          Sets the job application name for the BMC Atrium CMDB component.
 void setIsExist(boolean aisExist)
          Sets the application ID for the BMC Atrium CMDB component if it exists.
 void setmaintenanceVer(int amaintenanceVer)
          Sets the maintenance version for the BMC Atrium CMDB component.
 void setmajorVer(int amajorVer)
          Sets the major version for the BMC Atrium CMDB component.
 void setminorVer(int aminorVer)
          Sets the minor version for the BMC Atrium CMDB component.
 void setpatchNum(int apatchNum)
          Sets the patch number for the BMC Atrium CMDB component.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getApplicationID

public java.lang.String getApplicationID()
Gets the application ID for the BMC Atrium CMDB component.

Returns:
applicationId application ID for the BMC Atrium CMDB component

getApplicationName

public java.lang.String getApplicationName()
Gets the application name for the BMC Atrium CMDB component.

Returns:
applicationName application name for the BMC Atrium CMDB component

getmajorVer

public int getmajorVer()
Gets the application major version for the BMC Atrium CMDB component.

Returns:
majorVer the major version (preceding the dot) of the BMC Atrium CMDB component. For example, in version 2.1, the value 2 is the major version.

getminorVer

public int getminorVer()
Gets the application minor version for the BMC Atrium CMDB component.

Returns:
minorVer the minor version (succeeding the dot) of the BMC Atrium CMDB component. For example, in version 2.1, the value 1 is the minor version.

getmaintenanceVer

public int getmaintenanceVer()
Gets the application maintenance version for the BMC Atrium CMDB component.

Returns:
maintenanceVer

getpatchNum

public int getpatchNum()
Gets the application patch number for the BMC Atrium CMDB component.

Returns:
patchNum patch number for the BMC Atrium CMDB component

getIsExist

public boolean getIsExist()
Gets the Boolean value that indicates whether the component exists. Retuns true if yes, and false if no.

Returns:
isExist Boolean value that indicates whether the component exists

setApplicationId

public void setApplicationId(java.lang.String aapplicationId)
Sets the job ApplicationID for the BMC Atrium CMDB component.

Parameters:
aapplicationId - the application ID for the BMC Atrium CMDB component
Throws:
java.lang.IllegalArgumentException - if aClassName is empty or the length is longer than Constants.AR_MAX_NAME_SIZE

setApplicationName

public void setApplicationName(java.lang.String aapplicationName)
Sets the job application name for the BMC Atrium CMDB component.

Parameters:
aapplicationName - the application name for the BMC Atrium CMDB component
Throws:
java.lang.IllegalArgumentException - if aClassName is empty or the length is longer than Constants.AR_MAX_NAME_SIZE

setmajorVer

public void setmajorVer(int amajorVer)
Sets the major version for the BMC Atrium CMDB component.

Parameters:
amajorVer - the major version (preceding the dot) of the BMC Atrium CMDB component. For example, in version 2.1, the value 2 is the major version.

setminorVer

public void setminorVer(int aminorVer)
Sets the minor version for the BMC Atrium CMDB component.

Parameters:
aminorVer - the minor version (succeeding the dot) of the BMC Atrium CMDB component. For example, in version 2.1, the value 1 is the minor version.

setmaintenanceVer

public void setmaintenanceVer(int amaintenanceVer)
Sets the maintenance version for the BMC Atrium CMDB component.

Parameters:
amaintenanceVer - maintenance version for the BMC Atrium CMDB component

setpatchNum

public void setpatchNum(int apatchNum)
Sets the patch number for the BMC Atrium CMDB component.

Parameters:
apatchNum - patch number for the BMC Atrium CMDB component

setIsExist

public void setIsExist(boolean aisExist)
Sets the application ID for the BMC Atrium CMDB component if it exists. The parameter is set to true if yes, and false if no.

Parameters:
aisExist - Boolean value that indicates whether the object exists


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