com.bmc.cmdb.api
Class CMDBClassQual

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

public class CMDBClassQual
extends java.lang.Object

The CMDBClassQual class allows you to define the BMC Atrium CMDB class qualifier information, used with CMDBUtil.CMDBREStartJobRun.


Field Summary
static int CMDB_QUALIFIER_TYPE_NONE
          Specifies that the qualifier type is none.
static int CMDB_QUALIFIER_TYPE_OBJECT
          Specifies that the qualifier type is object.
static int CMDB_QUALIFIER_TYPE_STRING
          Specifies that the qualifier type is string.
 
Constructor Summary
CMDBClassQual(java.lang.String aClassId, int aQualType, java.lang.String aQualStr, QualifierInfo aQualifier)
          Constructor that creates a CMDBClassQual object using the specified class ID, qualifier type, qualifier string, and qualifier information.
 
Method Summary
 java.lang.String getClassId()
          Gets the class ID.
 QualifierInfo getQualifier()
          Gets the qualifier information.
 java.lang.String getQualStr()
          Gets the qualifier string.
 int getQualType()
          Gets the qualifier type.
 void setClassId(java.lang.String aClassId)
          Sets the ID of the class.
 void setQualifier(QualifierInfo aQualifier)
          Sets the query information that is stored in the qualifier object.
 void setQualStr(java.lang.String aQualStr)
          Sets the qualifier string.
 void setQualType(int aQualType)
          Sets the qualifier type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMDB_QUALIFIER_TYPE_NONE

public static final int CMDB_QUALIFIER_TYPE_NONE
Specifies that the qualifier type is none. The CMDB_QUALIFIER_TYPE constant is passed as a parameter to the constructor of this class.

See Also:
Constant Field Values

CMDB_QUALIFIER_TYPE_STRING

public static final int CMDB_QUALIFIER_TYPE_STRING
Specifies that the qualifier type is string.

See Also:
Constant Field Values

CMDB_QUALIFIER_TYPE_OBJECT

public static final int CMDB_QUALIFIER_TYPE_OBJECT
Specifies that the qualifier type is object. The object stores the query information.

See Also:
Constant Field Values
Constructor Detail

CMDBClassQual

public CMDBClassQual(java.lang.String aClassId,
                     int aQualType,
                     java.lang.String aQualStr,
                     QualifierInfo aQualifier)
Constructor that creates a CMDBClassQual object using the specified class ID, qualifier type, qualifier string, and qualifier information.

Parameters:
aClassId - the class ID of the object
aQualType - the qualifier type of the object
aQualStr - the qualifier string of the object
aQualifier - the qualifier of the object
Method Detail

getClassId

public java.lang.String getClassId()
Gets the class ID.


getQualType

public int getQualType()
Gets the qualifier type.


getQualStr

public java.lang.String getQualStr()
Gets the qualifier string.


getQualifier

public QualifierInfo getQualifier()
Gets the qualifier information.


setClassId

public void setClassId(java.lang.String aClassId)
Sets the ID of the class.


setQualType

public void setQualType(int aQualType)
Sets the qualifier type.

Parameters:
aQualType - the qualifier type of the object

setQualStr

public void setQualStr(java.lang.String aQualStr)
Sets the qualifier string.

Parameters:
aQualStr - the qualifier string of the object
Throws:
java.lang.NullPointerException - if If a null parameter is passed

setQualifier

public void setQualifier(QualifierInfo aQualifier)
Sets the query information that is stored in the qualifier object.

Parameters:
aQualStr - the qualifier of the object
Throws:
java.lang.NullPointerException - if If a null parameter is passed


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