public boolean setThermostatSystemMode(net.homeip.mleclerc.omnilinkbbclient.stubs.SystemMode arg0) throws java.rmi.RemoteException {
// Copy the incoming values into an Object array if needed.
Object[] inputObject = new Object[1];
inputObject[0] = arg0.getValue();
Operation op = Operation.newInstance(_qname_setThermostatSystemMode, _type_setThermostatSystemMode, _type_setThermostatSystemModeResponse);
_prepOperation(op);
op.setProperty(Operation.SOAPACTION_URI_PROPERTY, "");
Object resultObj;
try {
resultObj = op.invoke(inputObject);
} catch (JAXRPCException e) {
Throwable cause = e.getLinkedCause();
if (cause instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) cause;
}