Package io.keikai.model.impl
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleBookSeriesImpl(AbstractBookAdv book)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String name)Get the runtime custom attribute that stored in this bookMap<String,Object>getAttributes()Get the unmodifiable runtime attributes mapSBookgetBook(String name)Get the book by name;List<SBook>getBooks()Gets the books listDependencyTablegetDependencyTable()ReadWriteLockgetLock()Get the ReadWriteLock for synchronized when read-write model for current accessing.ObjectsetAttribute(String name, Object value)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.-
Methods inherited from class io.keikai.model.impl.AbstractBookSeriesAdv
isAutoFormulaCacheClean, setAutoFormulaCacheClean
-
-
-
-
Constructor Detail
-
SimpleBookSeriesImpl
public SimpleBookSeriesImpl(AbstractBookAdv book)
-
-
Method Detail
-
getBook
public SBook getBook(String name)
Description copied from interface:SBookSeriesGet the book by name;- Parameters:
name- the book name- Returns:
- the book or null if not found.
-
getDependencyTable
public DependencyTable getDependencyTable()
- Specified by:
getDependencyTablein classAbstractBookSeriesAdv
-
getLock
public ReadWriteLock getLock()
Description copied from interface:SBookSeriesGet the ReadWriteLock for synchronized when read-write model for current accessing.- Returns:
-
getBooks
public List<SBook> getBooks()
Description copied from interface:SBookSeriesGets the books list- Returns:
- the readonly books list
-
getAttribute
public Object getAttribute(String name)
Description copied from interface:SBookSeriesGet 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:SBookSeriesSet 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 namevalue- the attribute value
-
getAttributes
public Map<String,Object> getAttributes()
Description copied from interface:SBookSeriesGet the unmodifiable runtime attributes map- Returns:
-
-