lock = ocm.lock("/test", true, false);
assertTrue("the object is not locked", ocm.isLocked("/test"));
lockable = (Lockable) ocm.getObject("/test");
assertNotNull("Attribute lockowner is null", lockable.getLockOwner());
lockable.setA1("new a1 Value");
ocm.update(lockable);
ocm.save();
ocm.unlock("/test", lock.getLockToken());
// --------------------------------------------------------------------------------