Package org.alfresco.repo.tagging
Class TagDetailsImpl
- java.lang.Object
-
- org.alfresco.repo.tagging.TagDetailsImpl
-
- All Implemented Interfaces:
java.lang.Comparable<TagDetails>,TagDetails
public class TagDetailsImpl extends java.lang.Object implements TagDetails
Contains the details of a tag within a specific tag scope.- Author:
- Roy Wetherall
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TagDetails o)booleanequals(java.lang.Object obj)intgetCount()Get the tag countjava.lang.StringgetName()Get the name of the taginthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:TagDetailsGet the name of the tag- Specified by:
getNamein interfaceTagDetails- Returns:
- String tag name
- See Also:
TagDetails.getName()
-
getCount
public int getCount()
Description copied from interface:TagDetailsGet the tag count- Specified by:
getCountin interfaceTagDetails- Returns:
- int tag count
- See Also:
TagDetails.getCount()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
compareTo
public int compareTo(TagDetails o)
- Specified by:
compareToin interfacejava.lang.Comparable<TagDetails>- See Also:
Comparable.compareTo(java.lang.Object)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-