|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bmc.cmdb.api.CMDBInstanceBase
com.bmc.cmdb.api.CMDBRelationBase
public class CMDBRelationBase
The CMDBRelationBase
class describes an CMDBRelation instance.
It is a subclass of CMDBInstanceBase.
Field Summary |
---|
Constructor Summary | |
---|---|
CMDBRelationBase(CMDBClassNameKey aClassKey,
java.lang.String role1Name,
java.lang.String instance1Id,
java.lang.String class1Id,
java.lang.String role2Name,
java.lang.String instance2Id,
java.lang.String class2Id)
Deprecated. as of CMDB 2.0 |
|
CMDBRelationBase(CMDBClassNameKey aClassKey,
java.lang.String role1Name,
java.lang.String instance1Id,
java.lang.String class1Id,
java.lang.String role2Name,
java.lang.String instance2Id,
java.lang.String class2Id,
java.util.Map anAttrValuesMap)
Deprecated. as of CMDB 2.0 |
Method Summary | |
---|---|
java.lang.String[] |
getInstanceRoles()
Deprecated. as of CMDB 2.0 |
CMDBClassNameKey |
getRole1ClassName()
Deprecated. as of CMDB 2.0 |
CMDBClassNameKey |
getRole2ClassName()
Deprecated. as of CMDB 2.0 |
java.lang.String |
getRoleClassId(java.lang.String roleName)
Deprecated. as of CMDB 2.0 |
java.lang.String |
getRoleInstanceId(java.lang.String roleName)
Deprecated. as of CMDB 2.0 |
Methods inherited from class com.bmc.cmdb.api.CMDBInstanceBase |
---|
create, create, delete, delete, find, find, find, find, findBlobByKey, findBlobByKey, findByKey, findByKey, findObjects, findObjects, findObjects, findObjects, findObjects, findObjects, getAttributeValueByName, getAttributeValues, getClassKey, getGetMask, getId, setAttributeValues, update, update |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMDBRelationBase(CMDBClassNameKey aClassKey, java.lang.String role1Name, java.lang.String instance1Id, java.lang.String class1Id, java.lang.String role2Name, java.lang.String instance2Id, java.lang.String class2Id)
aClassKey
- the key of the CMDBRelationship that the instance
belongs torole1Name
- the name of role1instance1Id
- the ID of role1 instanceclass1Id
- the ID of role1 classrole2Name
- the name of role2instance2Id
- the ID of role2 instanceclass2Id
- the ID of role2 class
java.lang.IllegalArgumentException
- if the length of any relationship ID
is longer than
Constants.AR_MAX_NAME_SIZE
public CMDBRelationBase(CMDBClassNameKey aClassKey, java.lang.String role1Name, java.lang.String instance1Id, java.lang.String class1Id, java.lang.String role2Name, java.lang.String instance2Id, java.lang.String class2Id, java.util.Map anAttrValuesMap)
aClassKey
- class key of the releationship classrole1Name
- the name of role1instance1Id
- the ID of role1 instanceclass1Id
- the ID of role1 classrole2Name
- the name of role2instance2Id
- the ID of role2 instanceclass2Id
- the ID of role2 classanAttrValuesMap
- attribute values for the instance. The
attribute values are organized into a map that uses the
attribute name as its map key and CMDBAttributeValue as its mapped value.
java.lang.IllegalArgumentException
- if the length of any relationship
ID is longer than
Constants.AR_MAX_NAME_SIZE
Method Detail |
---|
public java.lang.String getRoleInstanceId(java.lang.String roleName)
roleName
- the name of the role
public java.lang.String getRoleClassId(java.lang.String roleName)
roleName
- the name of the role
public CMDBClassNameKey getRole1ClassName()
public CMDBClassNameKey getRole2ClassName()
public java.lang.String[] getInstanceRoles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |