contact.setValue("cvector", new char[]{'a', 'b', 'c'});
contact.setValue("bvector", new byte[]{0, (byte)0xAB, 0x12});
contact.setValue("svector", new String[]{"a", "b", "c"});
contact.setValue("vector", new Object[]{"a", "b", "c"});
contact.setValue("function", new PCodeFunction(new char[]{0, 1, 2}, new Object[]{"abc"}));
contact.setValue("macro", new PCodeMacro(new char[]{3, 4, 5}, new Object[]{"cde"}, null));
PrivilegeSet privilegeSet = Repository.getMetadata().createPrivilegeSet();
privilegeSet.add(Repository.getMetadata().getPrimitivePrivilege("updateContact"));
privilegeSet.add(Repository.getMetadata().getPrimitivePrivilege("WorkflowManage"));