code: @Override
      public XBELTerm convert(Term source) {
          if (source == null) return null;
  
          XBELTerm xt = new XBELTerm();
  
          FunctionEnum functionEnum = source.getFunctionEnum();
          Function func = Function.fromValue(functionEnum.getDisplayValue());
          xt.setFunction(func);
  
          List<BELObject> functionArgs = source.getFunctionArguments();
          List<JAXBElement> prmtrms = xt.getParameterOrTerm();
  
          final ParameterConverter pConverter = new ParameterConverter();
          for (final BELObject bo : functionArgs) {
              if (bo instanceof Parameter) {
                  // Defer to ParameterConverter
                  prmtrms.add(pConverter.convert((Parameter) bo));
              } else if (bo instanceof Term) {
                  prmtrms.add(convert((Term) bo));
              }
          }
  
          return xt;
      }
docs: {@inheritDoc}