package emoji4j;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Emoji
 * @author Krishna Chaitanya Thota
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class Emoji {

	private String emoji;

	private List<String> aliases;

	private String hexHtml;

	private String decimalHtml;

	public String getEmoji() {
		return emoji;
	}

	public void setEmoji(String emoji) {
		int htmlcode = Character.codePointAt(emoji, 0);
		setDecimalHtml("&#" + htmlcode + ";");
		setHexHtml("&#x" + Integer.toHexString(htmlcode) + ";");
		this.emoji = emoji;
	}

	public List<String> getAliases() {
		return aliases;
	}

	public void setAliases(List<String> aliases) {
		this.aliases = aliases;
	}

	public String getHexHtml() {
		return hexHtml;
	}

	public void setHexHtml(String hexHtml) {
		this.hexHtml = hexHtml;
	}

	public String getDecimalHtml() {
		return decimalHtml;
	}

	public void setDecimalHtml(String decimalHtml) {
		this.decimalHtml = decimalHtml;
	}
	
}

@@ -325,24 +325,59 @@
 decimalHtml;
+%0A%09%0A%09private List%3CString%3E emoticons;
 %0A%0A%09public St
@@ -1034,13 +1034,163 @@
 Html;%0A%09%7D
+%0A%0A%09public List%3CString%3E getEmoticons() %7B%0A%09%09return emoticons;%0A%09%7D%0A%0A%09public void setEmoticons(List%3CString%3E emoticons) %7B%0A%09%09this.emoticons = emoticons;%0A%09%7D%0A%09
 %0A%09%0A%7D%0A

add emoticons to emoji