Package com.tagtraum.beatunes.library
Class Tag
- java.lang.Object
-
- com.tagtraum.beatunes.library.Tag
-
- All Implemented Interfaces:
Comparable<Tag>
@Entity public class Tag extends Object implements Comparable<Tag>
Tag.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Tag that)booleanequals(Object obj)intgetGroup(int numberOfGroups)longgetId()StringgetName()StringgetQuotedName()intgetStrength()TagCollectiongetTagCollection()inthashCode()voidsetName(String name)voidsetStrength(int strength)voidsetTagCollection(TagCollection tagCollection)static SortedSet<String>toSortedStringSet(Collection<Tag> tags)StringtoString()
-
-
-
Constructor Detail
-
Tag
public Tag()
-
Tag
public Tag(String name)
-
-
Method Detail
-
getGroup
public int getGroup(int numberOfGroups)
-
getId
public long getId()
-
getTagCollection
public TagCollection getTagCollection()
-
setTagCollection
public void setTagCollection(TagCollection tagCollection)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getQuotedName
public String getQuotedName()
-
getStrength
public int getStrength()
-
setStrength
public void setStrength(int strength)
-
compareTo
public int compareTo(Tag that)
- Specified by:
compareToin interfaceComparable<Tag>
-
toSortedStringSet
public static SortedSet<String> toSortedStringSet(Collection<Tag> tags)
-
-