--- /dev/null
+package com.liferay.contacts.util;
+
+
+public class ProxyListCompletion {
+
+ String value = "";
+ String display = "";
+ String type = "";
+ String orgId = "";
+ String roleId = "";
+ String listId ="";
+
+ public ProxyListCompletion(String value, String display, String type, String orgId, String roleId, String listId) {
+ setValue(value);
+ setDisplay(display);
+ setType(type);
+ setOrgId(orgId);
+ setRoleId(roleId);
+ setListId(listId);
+ }
+
+ public String getXML() {
+ String result = "<completion>";
+ result += "<value><![CDATA["+ getValue() +"]]></value>";
+ result += "<display><![CDATA["+ getDisplay() +"]]></display>";
+ result += "<type>"+ getType() +"</type>";
+ result += "<orgId>"+ getOrgId() +"</orgId>";
+ result += "<roleId>"+ getRoleId() +"</roleId>";
+ result += "<listId>"+ getListId() +"</listId>";
+ result += "</completion>";
+ return result;
+ }
+
+ /**
+ * @return the value
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * @param value the value to set
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * @return the display
+ */
+ public String getDisplay() {
+ return display;
+ }
+
+ /**
+ * @param display the display to set
+ */
+ public void setDisplay(String display) {
+ this.display = display;
+ }
+
+ /**
+ * @return the type
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * @param type the type to set
+ */
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ /**
+ * @return the orgId
+ */
+ public String getOrgId() {
+ return orgId;
+ }
+
+ /**
+ * @param orgId the orgId to set
+ */
+ public void setOrgId(String orgId) {
+ this.orgId = orgId;
+ }
+
+ /**
+ * @return the roleId
+ */
+ public String getRoleId() {
+ return roleId;
+ }
+
+ /**
+ * @param roleId the roleId to set
+ */
+ public void setRoleId(String roleId) {
+ this.roleId = roleId;
+ }
+
+ /**
+ * @return the listId
+ */
+ public String getListId() {
+ return listId;
+ }
+
+ /**
+ * @param listId the listId to set
+ */
+ public void setListId(String listId) {
+ this.listId = listId;
+ }
+}