test.ojb.tutorial1
Class AbstractUseCase

java.lang.Object
  |
  +--test.ojb.tutorial1.AbstractUseCase
All Implemented Interfaces:
UseCase
Direct Known Subclasses:
UCDeleteProduct, UCEditProduct, UCEnterNewProduct, UCListAllProducts, UCQuitApplication

public abstract class AbstractUseCase
extends java.lang.Object
implements UseCase

Insert the type's description here. Creation date: (04.03.2001 11:31:41)


Field Summary
protected  PersistenceBroker broker
           
 
Constructor Summary
AbstractUseCase(PersistenceBroker broker)
          AbstractUseCase constructor comment.
 
Method Summary
abstract  void apply()
          perform this use case
abstract  java.lang.String getDescription()
          get descriptive information on use case
protected  java.lang.String readLineWithMessage(java.lang.String message)
          read a single line from stdin and return as String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

broker

protected PersistenceBroker broker
Constructor Detail

AbstractUseCase

public AbstractUseCase(PersistenceBroker broker)
AbstractUseCase constructor comment.

Method Detail

apply

public abstract void apply()
perform this use case

Specified by:
apply in interface UseCase

getDescription

public abstract java.lang.String getDescription()
get descriptive information on use case

Specified by:
getDescription in interface UseCase

readLineWithMessage

protected java.lang.String readLineWithMessage(java.lang.String message)
read a single line from stdin and return as String



Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04