package beaform.entities;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
 * This class represents a tag.
 *
 * @author steven
 *
 */
@Entity
public class FormulaTag implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 8568943568088422588L;

	/**
	 * The name of this tag.
	 */
	@Id
	private String name;

	/**
	 * Default constructor for Hibernate.
	 */
	public FormulaTag() {
		// Default constructor for Hibernate.
	}

	/**
	 * Constructor.
	 * @param name The name for this tag.
	 */
	public FormulaTag(final String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(final String name) {
		this.name = name;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		return this.name;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public boolean equals(final Object obj) {
		if (this == obj) {
			return true;
		}

		if (obj != null && this.getClass() == obj.getClass()) {
			final FormulaTag testTag = (FormulaTag) obj;
			return this.name.equals(testTag.name);
		}

		return false;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public int hashCode() {
		return new HashCodeBuilder().
						append(this.name).
						toHashCode();
	}

}

@@ -298,22 +298,8 @@
  %7B%0A%0A
-%09/**%0A%09 *%0A%09 */%0A
 %09pri
@@ -368,119 +368,34 @@
 ;%0A%0A%09
-/**%0A%09 * The name of this tag.%0A%09 */%0A%09@Id%0A%09private String name;%0A%0A%09/**%0A%09 * Default constructor for Hibernate.%0A%09 */
+@Id%0A%09private String name;%0A
 %0A%09pu
@@ -462,74 +462,8 @@
 %09%7D%0A%0A
-%09/**%0A%09 * Constructor.%0A%09 * @param name The name for this tag.%0A%09 */%0A
 %09pub
@@ -526,39 +526,8 @@
 %09%7D%0A%0A
-%09/**%0A%09 * @return the name%0A%09 */%0A
 %09pub
@@ -577,50 +577,8 @@
 %09%7D%0A%0A
-%09/**%0A%09 * @param name the name to set%0A%09 */%0A
 %09pub
@@ -643,36 +643,8 @@
 %09%7D%0A%0A
-%09/**%0A%09 * %7B@inheritDoc%7D%0A%09 */%0A
 %09@Ov
@@ -706,36 +706,8 @@
 %09%7D%0A%0A
-%09/**%0A%09 * %7B@inheritDoc%7D%0A%09 */%0A
 %09@Ov
@@ -975,36 +975,8 @@
 %09%7D%0A%0A
-%09/**%0A%09 * %7B@inheritDoc%7D%0A%09 */%0A
 %09@Ov

Remove redundant comments