com.jwpepper.cat
Interface SimpleEntry

All Known Implementing Classes:
SimpleEntryImpl

public abstract interface SimpleEntry
extends Entry

Prescribes the business logic required to support the simple entry business component. A simple entry is any antry that cannot contain other entries. It is the leaf of the composite pattern. In the catalog system, a simple entry can have a bunch of item strings as well as its title and description. These item strings traditionally appear at the bottom of a catalog entry.
Last modified $Date: 1999/10/05 20:42:57 $

Version:
$Revision: 1.3 $
Author:
Neophytos Iacovou (iacovou@ancept.com), George Reese (george@ancept.com)

Field Summary
static java.lang.String ITEMS
           
 
Fields inherited from class com.jwpepper.cat.Entry
CRT_CLASS, DESCRIPTION, PARENT, TITLE
 
Method Summary
 short getLongestID()
          Provides the length of the objectID of the entry item having the most numbers.
 com.sun.java.util.collections.Iterator items()
          Provides the list of entry items associated with this simple entry.
 com.sun.java.util.collections.Iterator lineItems(java.util.Locale loc)
          The string items associated with this entry translated for the specified locale.
 
Methods inherited from interface com.jwpepper.cat.Entry
create, create, getCatalog, getDescription, getParent, getTitle
 
Methods inherited from interface com.imaginary.lwp.Entity
getLastUpdateID, getLastUpdateTime, getObjectID, getReference, remove
 

Field Detail

ITEMS

public static final java.lang.String ITEMS
Method Detail

getLongestID

public short getLongestID()
                   throws java.rmi.RemoteException
Provides the length of the objectID of the entry item having the most numbers.
Returns:
the length of the longest objectID
Throws:
java.rmi.RemoteException - a network error occurred

items

public com.sun.java.util.collections.Iterator items()
                                             throws java.rmi.RemoteException
Provides the list of entry items associated with this simple entry.
Returns:
the entry items associated with this entry
Throws:
java.rmi.RemoteException - a network error occurred

lineItems

public com.sun.java.util.collections.Iterator lineItems(java.util.Locale loc)
                                                 throws java.rmi.RemoteException
The string items associated with this entry translated for the specified locale. If no such translation exists, translations for the default locale are provided.
Parameters:
loc - the locale for which translations are desired
Throws:
java.rmi.RemoteException - a network error occurred