Class Database.Listable
java.lang.Object
edu.uky.cs.nil.tt.Entry
edu.uky.cs.nil.tt.Database.Listable
- Direct Known Subclasses:
Database.AgentEntry, Database.WorldEntry
- Enclosing class:
Database
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Entry
equals, getDescription, getName, getTitle, hashCode, setDescription, setTitle, toString
-
Constructor Details
-
Listable
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 it is available (unlisted).- Returns:
- true if this entry is listed, false otherwise
-
setListed
protected void setListed(boolean value) Sets whether this entry islisted.- Parameters:
value- whether or not this entry should advertise that it is available
-