Class VocabularyTermWithStats
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTermWithStats
-
- All Implemented Interfaces:
java.io.Serializable
public class VocabularyTermWithStats extends java.lang.Object implements java.io.SerializableVocabulary term and its usage statistics.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VocabularyTermWithStats()VocabularyTermWithStats(VocabularyTerm term)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VocabularyTermgetTerm()intgetTotalUsageCounter()how many times was this term used in general for all kinds of entitieslonggetUsageCounter(EntityKind entityKind)voidregisterUsage(EntityKind entityKind, long used)
-
-
-
Constructor Detail
-
VocabularyTermWithStats
public VocabularyTermWithStats()
-
VocabularyTermWithStats
public VocabularyTermWithStats(VocabularyTerm term)
-
-
Method Detail
-
getTerm
public VocabularyTerm getTerm()
-
registerUsage
public void registerUsage(EntityKind entityKind, long used)
-
getUsageCounter
public long getUsageCounter(EntityKind entityKind)
-
getTotalUsageCounter
public int getTotalUsageCounter()
how many times was this term used in general for all kinds of entities
-
-