package com.crowdmap.java.sdk.model.form;

import com.crowdmap.java.sdk.annotations.Form;
import com.crowdmap.java.sdk.annotations.FormField;
import com.crowdmap.java.sdk.util.ValidateUtil;

import java.util.List;

/**
 * Tag form
 */
public class TagForm extends Form {

    @FormField(name="tag")
    private String tags;

    /**
     * Set a single tag for submission
     *
     * @param tag
     */
    public void setTags(String tag) {
        this.tags = ValidateUtil.empty(tag) ? tag : tags +","+tag;
    }

    /**
     * Set mutliple tags for submission
     *
     * @param tags
     */
    public void setTags(List<String> tags) {
        for(String tag : tags) {
            setTags(tag);
        }
    }

    /**
     * Get the set tag
     *
     * @return The tag set.
     */
    public String getTags() {
        return tags;
    }

    @Override
    public String toString() {
        return "TagForm{" +
                "tags='" + tags + '\'' +
                '}';
    }
}

@@ -284,17 +284,19 @@
 eld(name
-=
+ = 
 %22tag%22)%0A 
@@ -358,32 +358,33 @@
 g for submission
+.
 %0A     *%0A     * @
@@ -388,24 +388,48 @@
 * @param tag
+ The tag to be submitted
 %0A     */%0A   
@@ -525,12 +525,15 @@
 gs +
+ 
 %22,%22
-+
+ + 
 tag;
@@ -565,10 +565,10 @@
 t mu
-t
 l
+t
 iple
@@ -587,24 +587,25 @@
 bmission
+.
 %0A     *%0A
      * @
@@ -588,32 +588,39 @@
 mission.%0A     *%0A
+     *%0A
      * @param ta
@@ -621,16 +621,41 @@
 ram tags
+ The tags to be submitted
 %0A     */
@@ -711,16 +711,17 @@
      for
+ 
 (String 

Add more documentation