Class ChapterArticle
- java.lang.Object
-
- no.unit.nva.model.instancetypes.chapter.ChapterArticle
-
- All Implemented Interfaces:
PublicationInstance<Range>
- Direct Known Subclasses:
AcademicChapter,EncyclopediaChapter,ExhibitionCatalogChapter,Introduction,NonFictionChapter,PopularScienceChapter,TextbookChapter
public class ChapterArticle extends java.lang.Object implements PublicationInstance<Range>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface no.unit.nva.model.instancetypes.PublicationInstance
PublicationInstance.Constants
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPAGES_FIELD
-
Constructor Summary
Constructors Constructor Description ChapterArticle(Range pages)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static ChapterArticlefromJson(Range pages, ChapterArticleContentType contentType)RangegetPages()inthashCode()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface no.unit.nva.model.instancetypes.PublicationInstance
getInstanceType
-
-
-
-
Field Detail
-
PAGES_FIELD
public static final java.lang.String PAGES_FIELD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChapterArticle
public ChapterArticle(Range pages)
-
-
Method Detail
-
fromJson
public static ChapterArticle fromJson(Range pages, ChapterArticleContentType contentType)
-
getPages
public Range getPages()
- Specified by:
getPagesin interfacePublicationInstance<Range>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-