java.lang.Object
org.glassfish.jersey.examples.linking.model.ItemsModel

public class ItemsModel extends Object
Models a three entry list of items and provides a simple means of navigating the list.
Author:
Mark Hadley, Gerard Davison (gerard.davison at oracle.com)
  • Method Details

    • getInstance

      public static ItemsModel getInstance()
    • hasNext

      public boolean hasNext(String currentId)
    • hasPrev

      public boolean hasPrev(String currentId)
    • getItem

      public ItemModel getItem(String id)
    • getNextId

      public String getNextId(String id)
    • getPrevId

      public String getPrevId(String id)
    • getSize

      public int getSize()