public class BookMetaImpl extends ItemMetaImpl implements BookMeta
ItemMeta.HiddenModifierFlag| Modifier and Type | Field and Description |
|---|---|
protected String |
author |
protected int |
copyTier |
protected List<String> |
pages |
protected String |
title |
displayProperties, flags| Constructor and Description |
|---|
BookMetaImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
author()
Returns last known author of the book.
|
int |
copyTier()
Returns copy tier of the book.
|
List<String> |
pages()
Gets the pages of the book as a List.
|
void |
setAuthor(String name)
Sets the author of the book.
|
void |
setCopyTier(int copyTier)
Manually set the copy tier of the book
|
void |
setPages(List<String> pages)
Set the pages of the book.
|
void |
setTitle(String title)
Sets the title of the book
|
String |
title()
Gets the title of the book.
|
displayProperties, flags, process, setDisplayProperties, setFlagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisplayProperties, flags, setDisplayProperties, setFlagprocessprotected int copyTier
public BookMetaImpl()
public int copyTier()
BookMeta0 - original 1 - copy of original 2 - copy of copy, > 2 - cannot be copied
public void setCopyTier(int copyTier)
BookMetasetCopyTier in interface BookMetacopyTier - Copy tier you wish to set it toBookMeta.copyTier()public String author()
BookMetapublic void setAuthor(String name)
BookMetapublic void setTitle(String title)
BookMetapublic List<String> pages()
BookMetaCopyright © 2016. All rights reserved.