|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.norvelle.textcite.model.AbstractCitationContainer
public class AbstractCitationContainer
AbstractCitationContainer: Provides base methods for handling (primarily serializing/deserializing) collections of Citation objects.
Field Summary | |
---|---|
protected java.util.HashMap<java.lang.Integer,Citation> |
citations
This HashMap contains the Citations which reference this Author. |
protected java.util.Vector<java.lang.Integer> |
citationsIds
This Vector contains only the IDs of the Citations, not the references to the objects. |
Constructor Summary | |
---|---|
AbstractCitationContainer()
|
Method Summary | |
---|---|
void |
restoreCitationReferences()
This method restores the citations HashMap, filling it with references to the Citations indicated in the citationIds Vector. |
void |
saveCitationReferences()
This method saves the currently references Citations in the citationIds Vector, by id, as the name suggests, so that this Vector can be serialized without serializing the Citations themselves (which get serialized at a later stage) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.HashMap<java.lang.Integer,Citation> citations
protected java.util.Vector<java.lang.Integer> citationsIds
Constructor Detail |
---|
public AbstractCitationContainer()
Method Detail |
---|
public void saveCitationReferences()
public void restoreCitationReferences()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |