/** * Immutable constructor. * * @param exchange exchange symbol for the company or mutual fund. * @param fullName full name for the company or mutual fund. * @param symbol stock symbol for the company or mutual fund. */ public Symbol(String exchange, String fullName, String symbol) { super(); setExchange(exchange); setFullName(fullName); setSymbol(symbol); setImmutable(true); }
/** * Immutable constructor. * * @param exchange exchange symbol for the company or mutual fund. * @param fullName full name for the company or mutual fund. * @param symbol stock symbol for the company or mutual fund. */ public Symbol(String exchange, String fullName, String symbol) { super(); setExchange(exchange); setFullName(fullName); setSymbol(symbol); setImmutable(true); }