Class Catalog

    • Method Detail

      • getTo

        public final Jid getTo()
        Gets the 'to' attribute.
        Returns:
        The 'to' attribute.
      • getFrom

        public final Jid getFrom()
        Gets the 'from' attribute.
        Returns:
        The 'from' attribute.
      • getName

        public final String getName()
        Gets the catalog name.
        Returns:
        The catalog name.
      • getDescription

        public final String getDescription()
        Gets the description.
        Returns:
        The description.
      • getId

        public final String getId()
        Identifier for current revision, commonly a hash.
        Returns:
        The id.
      • isRestrictive

        public final boolean isRestrictive()
        If catalog is restrictive, the client SHOULD restrict the user to choosing one of the items from the catalog and use the label of that item (or no label if the selected item is empty).
        Returns:
        True, if restrictive.
      • getSize

        public final Integer getSize()
        Gets the number of items.
        Returns:
        The number of items.
      • getItems

        public final List<Catalog.Item> getItems()
        Gets the catalog items.
        Returns:
        The catalog items.