Class Database.Listable

java.lang.Object
edu.uky.cs.nil.tt.Database.Entry
edu.uky.cs.nil.tt.Database.Listable
All Implemented Interfaces:
Named
Direct Known Subclasses:
Database.AgentEntry, Database.WorldEntry
Enclosing class:
Database

public static class Database.Listable extends Database.Entry
A listable entry is one that can either be set as clearly publicly available (listed) or not clearly available (unlisted). Unlisted elements are still available, but their existence is not not advertised.
Author:
Stephen G. Ware
  • Constructor Details

    • Listable

      public Listable(String name)
      Constructs a listable entry with a given name.
      Parameters:
      name - system name for this entry
  • Method Details

    • getListed

      public boolean getListed()
      Returns whether this entry should advertise itself as being available (listed) or whether this entry should not advertise that is is available (unlisted).
      Returns:
      true is this entry is listed, false otherwise
    • setListed

      protected void setListed(boolean value)
      Sets whether this entry is listed.
      Parameters:
      value - whether or not this entry should advertise that it is available