org.archiviststoolkit.structure.MODS
Class LanguageType

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

public class LanguageType
extends java.lang.Object

008/35-37, 041

Java class for languageType complex type.

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

 <complexType name="languageType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="languageTerm" maxOccurs="unbounded">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="authority">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="rfc3066"/>
                       <enumeration value="iso639-2b"/>
                     </restriction>
                   </simpleType>
                 </attribute>
                 <attribute name="type" type="{http://www.loc.gov/mods/v3}codeOrText" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="objectPart" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class LanguageType.LanguageTerm
          Java class for anonymous complex type.
 
Field Summary
protected  java.util.List<LanguageType.LanguageTerm> languageTerm
           
protected  java.lang.String objectPart
           
 
Constructor Summary
LanguageType()
           
 
Method Summary
 java.util.List<LanguageType.LanguageTerm> getLanguageTerm()
          Gets the value of the languageTerm property.
 java.lang.String getObjectPart()
          Gets the value of the objectPart property.
 void setObjectPart(java.lang.String value)
          Sets the value of the objectPart property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

languageTerm

protected java.util.List<LanguageType.LanguageTerm> languageTerm

objectPart

protected java.lang.String objectPart
Constructor Detail

LanguageType

public LanguageType()
Method Detail

getLanguageTerm

public java.util.List<LanguageType.LanguageTerm> getLanguageTerm()
Gets the value of the languageTerm 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 languageTerm property.

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

    getLanguageTerm().add(newItem);
 

Objects of the following type(s) are allowed in the list LanguageType.LanguageTerm


getObjectPart

public java.lang.String getObjectPart()
Gets the value of the objectPart property.

Returns:
possible object is String

setObjectPart

public void setObjectPart(java.lang.String value)
Sets the value of the objectPart property.

Parameters:
value - allowed object is String