com.bmc.cmdb.api
Class CMDBClassNameKey

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

public class CMDBClassNameKey
extends java.lang.Object

The CMDBClassNameKey class defines a CMDBClass key, which contains a class name and a namespace. Once the CMDBClassNameKey is defined, it is used when creating a class in the BMC Atrium CMDB.


Constructor Summary
CMDBClassNameKey()
          Default constructor that intializes the className and ClassNamespace variables.
CMDBClassNameKey(java.lang.String aClassName, java.lang.String aClassNamespace)
          Creates a CMDBClassNameKey with the provided name and namespace.
 
Method Summary
 java.lang.String getClassName()
          Gets the name of the BMC Atrium CMDB class.
 java.lang.String getClassNamespace()
          Gets the namespace of the BMC Atrium CMDB class.
 void setClassName(java.lang.String aClassName)
          Sets the name of the BMC Atrium CMDB class.
 void setClassNamespace(java.lang.String aClassNamespace)
          Sets the namespace of the BMC Atrium CMDB class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMDBClassNameKey

public CMDBClassNameKey()
Default constructor that intializes the className and ClassNamespace variables.


CMDBClassNameKey

public CMDBClassNameKey(java.lang.String aClassName,
                        java.lang.String aClassNamespace)
Creates a CMDBClassNameKey with the provided name and namespace.

Parameters:
aClassName - holds the name of the class
aClassNameSpace - holds the namespace of the class
Method Detail

getClassName

public java.lang.String getClassName()
Gets the name of the BMC Atrium CMDB class.

Returns:
returns the name of the BMC Atrium CMDB class

getClassNamespace

public java.lang.String getClassNamespace()
Gets the namespace of the BMC Atrium CMDB class.

Returns:
returns the namespace of the BMC Atrium CMDB class

setClassName

public void setClassName(java.lang.String aClassName)
Sets the name of the BMC Atrium CMDB class.

Parameters:
aClassName - holds the name of the class
Throws:
java.lang.IllegalArgumentException - if the class name is null or longer than the AR_MAX_NAME_SIZE value

setClassNamespace

public void setClassNamespace(java.lang.String aClassNamespace)
Sets the namespace of the BMC Atrium CMDB class.

Parameters:
aClassNameSpace - holds the namespace of the class
Throws:
java.lang.IllegalArgumentException - if the class namespace is null or longer than the AR_MAX_NAME_SIZE value


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