Java BigDecimal getUserLink(BigDecimal id, String name)

Here you can find the source of getUserLink(BigDecimal id, String name)

Description

Gets the user link.

License

LGPL

Parameter

Parameter Description
id the id
name the name

Return

the user link

Declaration

public static String getUserLink(BigDecimal id, String name) 

Method Source Code

//package com.java2s;
/**//from w  ww.  j a va2 s.co  m
 * Highlights words in a string. Words matching ignores case. The actual
 * higlighting method is specified with the start and end higlight tags.
 * Those might be beginning and ending HTML bold tags, or anything else.
 * <p>
 * 
 * This method is under the Jive Open Source Software License and was
 * written by Mark Imbriaco.
 *
 * @param string
 *            the String to highlight words in.
 * @return a new String with the specified words highlighted.
 */

import java.math.BigDecimal;

public class Main {
    /**
     * Gets the user link.
     *
     * @param id
     *            the id
     * @param name
     *            the name
     * @return the user link
     */
    public static String getUserLink(BigDecimal id, String name) {
        return "<a href='person.jsp?uid=" + id.toString() + "'>" + name + "</a>";
    }
}

Related

  1. getSignedBalance(BigDecimal balance)
  2. getTensVal(BigDecimal val)
  3. getTotalSum(List subTotals)
  4. getUnscaledBytes(BigDecimal bd)
  5. getUpdateAccountsQuery(BigDecimal[] result, int id)
  6. getValue(BigDecimal value, Class clazz)
  7. getValue(String key, Map valuesMap)
  8. getWithoutTrailingZeroes(@Nullable final BigDecimal aValue)
  9. hash(BigDecimal bd)