org.archiviststoolkit.structure.MODS
Class ModsType

java.lang.Object
  extended by org.archiviststoolkit.structure.MODS.ModsType

public class ModsType
extends java.lang.Object

Java class for modsType complex type.

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

 <complexType name="modsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <group ref="{http://www.loc.gov/mods/v3}modsGroup" maxOccurs="unbounded"/>
       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="version" type="{http://www.loc.gov/mods/v3}versionType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String id
           
protected  java.util.List<java.lang.Object> modsGroup
           
protected  java.lang.String version
           
 
Constructor Summary
ModsType()
           
 
Method Summary
 java.lang.String getID()
          Gets the value of the id property.
 java.util.List<java.lang.Object> getModsGroup()
          Gets the value of the modsGroup property.
 java.lang.String getVersion()
          Gets the value of the version property.
 void setID(java.lang.String value)
          Sets the value of the id property.
 void setVersion(java.lang.String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modsGroup

protected java.util.List<java.lang.Object> modsGroup

id

protected java.lang.String id

version

protected java.lang.String version
Constructor Detail

ModsType

public ModsType()
Method Detail

getModsGroup

public java.util.List<java.lang.Object> getModsGroup()
Gets the value of the modsGroup 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 modsGroup property.

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

    getModsGroup().add(newItem);
 

Objects of the following type(s) are allowed in the list SubjectType GenreType AccessConditionType LocationType IdentifierType OriginInfoType RelatedItemType TableOfContentsType ExtensionType TypeOfResourceType TitleInfoType PartType NameType LanguageType PhysicalDescriptionType ClassificationType AbstractType TargetAudienceType NoteType RecordInfoType


getID

public java.lang.String getID()
Gets the value of the id property.

Returns:
possible object is String

setID

public void setID(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getVersion

public java.lang.String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(java.lang.String value)
Sets the value of the version property.

Parameters:
value - allowed object is String