001package jmri.jmrit.roster; 002 003import jmri.beans.BeanInterface; 004 005/** 006 * Provide a common class for Roster entries and groups to inherit from. This 007 * supports building tree-like user interfaces for Roster entries and groups. 008 * 009 * @author Randall Wood randall.h.wood@alexandriasoftware.com 010 */ 011public interface RosterObject extends BeanInterface { 012 013 /** 014 * Get the formatted single-line String for displaying the object. 015 * 016 * @return a formatted name 017 */ 018 abstract public String getDisplayName(); 019 020}