setAttributeValue (String, Object)
public void setAttributeValue (String attributeName, Object value) throws InvalidParameterException
This method sets the value of the specified attribute.
note
The attribute must not be a reference. Use thesetReferences
method to set references.Parameters
attributeName | the name of the attribute of the business object or notification the value of which is set |
value | the value of the attribute to set as Object. The type of the object corresponds to the type of the attribute. See Appendix A that provides the mapping between attribute types and Java types. |
Throws
InvalidParameterException | if the specified attribute name does not exist in the business object or notification |