Class CandyEntry


  • public class CandyEntry
    extends Object

    This is a basic container for a vocabulary entry. It consists only of the basic attributes which is sufficient for the vocabularies providing string-type contents.

    However, it may still accomodate more complex data types using the extras member.

    Version:
    $Id$
    Author:
    Martin Senger
    • Field Detail

      • entry

        public String entry
        A unique identifier of this entry.
      • extras

        public Hashtable extras
        A container for the additional properties represented by this entry.
    • Constructor Detail

      • CandyEntry

        public CandyEntry()
        An empty constructor.
      • CandyEntry

        public CandyEntry​(String entry)
        It creates an entry instance with given name and empty value.
      • CandyEntry

        public CandyEntry​(String entry,
                          String description)
        It creates an entry instance with given name and value.
      • CandyEntry

        public CandyEntry​(String entry,
                          String description,
                          Hashtable extras)
        It creates an entry instance with given name, value and additional properties.