Package com.jbstrap.ui.interfaces
Interface TimelineItemCreator
public interface TimelineItemCreator
Timeline creator interface.
This interface implements a timeline item creator class.
To implement this interface, use the
createItem(Record) method which gets the database record in a parameter.
The method creates and initializes a TimelineItem class by using the data in the record.
If the method returns null, no component is associated with the current record.- Since:
- 4.0
- Author:
- JBStrap
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateItem(Record record) Creates a timeline item from the database record in the specified parameter.
-
Method Details
-
createItem
Creates a timeline item from the database record in the specified parameter.- Parameters:
record- Record instance queried from the database; the method creates the timeline item- Returns:
- The timeline item created from the database record or
nullif the record in the parameter is not to be used If the method returnsnull, the record is not associated with any timeline item on the interface.
-