public Object getBindingForVar(final CycVariable var) {
    for (final Binding binding : getBindings()) {
      if (binding.getVariable().equals(var)) {
        return binding.getValue();
      }
    }
    return null;
  }