Class SimpleBookSeriesImpl

java.lang.Object
io.keikai.model.impl.AbstractBookSeriesAdv
io.keikai.model.impl.SimpleBookSeriesImpl
All Implemented Interfaces:
SBookSeries, Serializable

public class SimpleBookSeriesImpl extends AbstractBookSeriesAdv
the default and one-book book-series
Since:
3.5.0
Author:
dennis
See Also:
  • Constructor Details

  • Method Details

    • getBook

      public SBook getBook(String name)
      Description copied from interface: SBookSeries
      Get the book by name;
      Parameters:
      name - the book name
      Returns:
      the book or null if not found.
    • getDependencyTable

      public DependencyTable getDependencyTable()
      Specified by:
      getDependencyTable in class AbstractBookSeriesAdv
    • getLock

      public ReadWriteLock getLock()
      Description copied from interface: SBookSeries
      Get the ReadWriteLock for synchronized when read-write model for current accessing.
      Returns:
    • getBooks

      public List<SBook> getBooks()
      Description copied from interface: SBookSeries
      Gets the books list
      Returns:
      the readonly books list
    • getAttribute

      public Object getAttribute(String name)
      Description copied from interface: SBookSeries
      Get the runtime custom attribute that stored in this book
      Parameters:
      name - the attribute name
      Returns:
      the value, or null if not found
    • setAttribute

      public Object setAttribute(String name, Object value)
      Description copied from interface: SBookSeries
      Set the runtime custom attribute to stored in this book, the attribute is only use for developer to stored runtime data in the book, values will not stored to excel when exporting.
      Parameters:
      name - name the attribute name
      value - the attribute value
    • getAttributes

      public Map<String,Object> getAttributes()
      Description copied from interface: SBookSeries
      Get the unmodifiable runtime attributes map
      Returns: