public class Manifestation
extends java.lang.Object
implements java.lang.Cloneable
Document
can contain
several Item
objects and gives access to the Event
objects connected to these items. It also holds the Bibliographic data in
MAB-xml formatConstructor and Description |
---|
Manifestation(java.lang.String docNumber)
Creates a new Manifestation with the given docNumber.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(Item item)
Adds the item.
|
Manifestation |
clone()
instantiates a clone of the object
|
boolean |
equals(java.lang.Object other)
checks the identity of two manifestations
|
java.lang.String |
getCallNo()
Gets the call no.
|
java.lang.String |
getDocNumber()
Gets the doc number.
|
java.lang.String |
getEdition()
Gets the edition.
|
EventAnalysis |
geteventAnalysis()
Gets the event analysis.
|
java.util.List<Event> |
getEvents()
Gets the events.
|
Item |
getItem(int itemSequence)
Gets the item.
|
java.util.List<Item> |
getItems()
Gets the items.
|
org.jdom2.Element |
getMAB()
Gets the mab.
|
java.lang.String |
getShelfmarkBase()
Gets the shelfmark base.
|
int |
hashCode()
returns the hash code
|
void |
setEventAnalysis(EventAnalysis eventAnalysis)
Sets the event analysis.
|
void |
setMAB(org.jdom2.Element mab)
Sets the mab.
|
public Manifestation(java.lang.String docNumber)
docNumber
- the docNumber of the Document.public java.lang.String getDocNumber()
public void setMAB(org.jdom2.Element mab)
mab
- the new mabpublic org.jdom2.Element getMAB()
public void setEventAnalysis(EventAnalysis eventAnalysis)
eventAnalysis
- the new event analysispublic EventAnalysis geteventAnalysis()
public java.lang.String getCallNo()
public java.lang.String getShelfmarkBase()
public java.lang.String getEdition()
public void addItem(Item item)
item
- the itempublic java.util.List<Item> getItems()
public Item getItem(int itemSequence)
itemSequence
- the item sequencepublic java.util.List<Event> getEvents()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Manifestation clone()
clone
in class java.lang.Object