| INavigatorItem models (very abstractly) some entity that is
eligible for insertion and removal inside an
IDocumentNavigator . Conceptually, if an
IDocumentNavigator represented a file cabinet then each file in
the cabinet would be an INavigatorItem . If an
IDocumentNavigator represented a wallet then each credit card
and driver's license would be an INavigatorItem . The
only real responsibilities a class implementing INavigatorItem has is
to provide a simple String representation of itself via the
getName method and to devise some notion of equality.
|