Class Tag

java.lang.Object
io.goobi.viewer.model.viewer.Tag
All Implemented Interfaces:
Serializable, Comparable<Tag>

public class Tag extends Object implements Comparable<Tag>, Serializable
Tag in a tag cloud.
See Also:
  • Constructor Details

  • Method Details

    • compareTo

      public int compareTo(Tag otherTag)
      Specified by:
      compareTo in interface Comparable<Tag>
    • getCss

      public String getCss()
      Getter and Setter **************************************
      Returns:
      a String object.
    • setCss

      public void setCss(String css)

      Setter for the field css.

      Parameters:
      css - a String object.
    • setSize

      public void setSize(long size)

      Setter for the field size.

      Parameters:
      size - the size to set
    • getSize

      public long getSize()

      Getter for the field size.

      Returns:
      the size
    • setName

      public void setName(String name)

      Setter for the field name.

      Parameters:
      name - the name to set
    • getName

      public String getName()

      Getter for the field name.

      Returns:
      the name
    • getEscapedName

      public String getEscapedName()

      getEscapedName.

      Returns:
      a String object.
    • getField

      public String getField()

      Getter for the field field.

      Returns:
      the field
    • setField

      public void setField(String field)

      Setter for the field field.

      Parameters:
      field - the field to set