Class ModsCollection

  extended by org.archiviststoolkit.structure.MODS.ModsCollection

public class ModsCollection
extends java.lang.Object

Java class for modsCollection element declaration.

The following schema fragment specifies the expected content contained within this class.

 <element name="modsCollection">
       <restriction base="{}anyType">
           <element ref="{}mods" maxOccurs="unbounded"/>

Field Summary
protected  java.util.List<ModsType> mods
Constructor Summary
Method Summary
 java.util.List<ModsType> getMods()
          Gets the value of the mods property.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected java.util.List<ModsType> mods
Constructor Detail


public ModsCollection()
Method Detail


public java.util.List<ModsType> getMods()
Gets the value of the mods property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the mods property.

For example, to add a new item, do as follows:


Objects of the following type(s) are allowed in the list ModsType