Package io.keikai.model.impl
Class BookSeriesImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractBookSeriesAdv
-
- io.keikai.model.impl.BookSeriesImpl
-
- All Implemented Interfaces:
SBookSeries
,Serializable
public class BookSeriesImpl extends AbstractBookSeriesAdv
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BookSeriesImpl(AbstractBookAdv... books)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAttribute(String name)
Get the runtime custom attribute that stored in this bookMap<String,Object>
getAttributes()
Get the unmodifiable runtime attributes mapSBook
getBook(String name)
Get the book by name;List<SBook>
getBooks()
Gets the books listDependencyTable
getDependencyTable()
ReadWriteLock
getLock()
Get the ReadWriteLock for synchronized when read-write model for current accessing.Object
setAttribute(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
-
BookSeriesImpl
public BookSeriesImpl(AbstractBookAdv... books)
-
-
Method Detail
-
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 classAbstractBookSeriesAdv
-
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 namevalue
- the attribute value
-
getAttributes
public Map<String,Object> getAttributes()
Description copied from interface:SBookSeries
Get the unmodifiable runtime attributes map- Returns:
-
-