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, setFlag
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
displayProperties, flags, setDisplayProperties, setFlag
process
protected int copyTier
public BookMetaImpl()
public int copyTier()
BookMeta
0 - original 1 - copy of original 2 - copy of copy, > 2 - cannot be copied
public void setCopyTier(int copyTier)
BookMeta
setCopyTier
in interface BookMeta
copyTier
- Copy tier you wish to set it toBookMeta.copyTier()
public String author()
BookMeta
public void setAuthor(String name)
BookMeta
public void setTitle(String title)
BookMeta
public List<String> pages()
BookMeta
Copyright © 2016. All rights reserved.