|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bmc.cmdb.api.CMDBAttributeValue
public class CMDBAttributeValue
The CMDBAttributeValue
class allows you to specify a value for an attribute.
AttributeName, which is passed as a parameter for this class, holds the name of the
attribute for which you want to specify the value.
Once you specify the attribute value, you can perform queries against it and update it.
Constructor Summary | |
---|---|
CMDBAttributeValue()
Creates an empty CMDBAttributeValue object. |
|
CMDBAttributeValue(java.lang.String attributeName,
Value attributeValue)
Creates a CMDBAtributeValue object using the specified name and value. |
Method Summary | |
---|---|
java.lang.String |
getAttributeName()
Gets the name of the attribute. |
Value |
getAttributeValue()
Gets the value of the attribute. |
void |
setAttributeName(java.lang.String attributeName)
Sets the name of the attribute. |
void |
setAttributeValue(Value attributeValue)
Sets the value of the attribute. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMDBAttributeValue()
public CMDBAttributeValue(java.lang.String attributeName, Value attributeValue)
attributeName
- the name of the attributeattributeValue
- the value of the attribute
java.lang.IllegalArgumentException
- if attributeName length is longer than
Constants.AR_MAX_NAME_SIZE
Method Detail |
---|
public java.lang.String getAttributeName()
public Value getAttributeValue()
public void setAttributeName(java.lang.String attributeName)
attributeName
- the name of the attribute
java.lang.IllegalArgumentException
- if attributeName is empty or
its length is longer than
Constants.AR_MAX_NAME_SIZE
public void setAttributeValue(Value attributeValue)
attributeValue
- the value of the attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |