code: @SuppressWarnings("rawtypes")
  	@Override
  	public void setClass(Class cls) {
  		checkUnmodifiable();
      	if (!ZooPC.class.isAssignableFrom(cls)) {
      		throw DBLogger.newUser("Class is not persistence capabale: " + cls.getName());
      	}
  		candCls = cls;
  		Node node = pm.getSession().getPrimaryNode();
  		ZooClassProxy sch = pm.getSession().getSchemaManager().locateSchema(cls, node);
  		if (sch != null) {
  			candClsDef = sch.getSchemaDef();
  		} else {
      		if (pm.getSession().getConfig().getAutoCreateSchema()) {
      			isDummyQuery = true;
      		} else {
      			throw DBLogger.newUser("Class schema is not defined: " + cls.getName());
      		}
  		}
  	}
docs: {@inheritDoc}