Add a mbo, defaulting the attributes shown below.
Attribute Name | Attribute Value
|
---|
UserID | If owner is MaxUser, equals the owner's UserID.
|
- Specified by:
add
in interface MboRemote
- Overrides:
add
in class Mbo
- Throws:
MXException
java.rmi.RemoteException
-
setValue
public void setValue(java.lang.String attributeName,
java.lang.String val,
long accessModifier)
throws MXException,
java.rmi.RemoteException
Set value for the specified attribute.
- Specified by:
setValue
in interface MboRemote
- Overrides:
setValue
in class Mbo
- Parameters:
attributeName
- The attribute name within the current object.
val
- The string value to set to the attribute.
accessModifier
- The bitwise flags such as NOACCESSCHECK,
NOVALIDATION_AND_NOACTION, and DELAYVALIDATION.
- Throws:
MXException
- "Attribute {0} does not exist" exception will
be thrown if the attribute does not exist
in the object.
"Field is read only" exception will be thrown
if the attribute is READONLY and the
accessModifier does not specify NOACCESSCHECK.
"Invalid Data Type" exception will be thrown
for datatype mismatch. For example,
setting a string value of characters to an
attribute which has datatype of YORN.
java.rmi.RemoteException
- See Also:
Mbo.setValue(String, String, long)
,
HiddenValueSet.setValue(java.lang.String, java.lang.String, long)