Class VocabularyTermWithStats

  • All Implemented Interfaces:
    java.io.Serializable

    public class VocabularyTermWithStats
    extends java.lang.Object
    implements java.io.Serializable
    Vocabulary term and its usage statistics.
    See Also:
    Serialized Form
    • Constructor Detail

      • VocabularyTermWithStats

        public VocabularyTermWithStats()
      • VocabularyTermWithStats

        public VocabularyTermWithStats​(VocabularyTerm term)
    • Method Detail

      • 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