code: @Trivial
      private String getString(boolean isOctet, Object ldapValue) {
          if (isOctet) {
              return LdapHelper.getOctetString((byte[]) ldapValue);
          } else {
              return ldapValue.toString();
          }
      }
docs: Convert the value into an appropriate string value.
  
  @param isOctet
  @param ldapValue
  @return