org.archiviststoolkit.structure.MODS
Class RoleType

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

public class RoleType
extends java.lang.Object

Java class for roleType complex type.

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

 <complexType name="roleType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded">
         <element name="roleTerm">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="authority" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="type" type="{http://www.loc.gov/mods/v3}codeOrText" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class RoleType.RoleTerm
          if it is a code: 100, 110, 111, 700, 710, 711 $4.
 
Field Summary
protected  java.util.List<RoleType.RoleTerm> roleTerm
           
 
Constructor Summary
RoleType()
           
 
Method Summary
 java.util.List<RoleType.RoleTerm> getRoleTerm()
          Gets the value of the roleTerm property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roleTerm

protected java.util.List<RoleType.RoleTerm> roleTerm
Constructor Detail

RoleType

public RoleType()
Method Detail

getRoleTerm

public java.util.List<RoleType.RoleTerm> getRoleTerm()
Gets the value of the roleTerm 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 roleTerm property.

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

    getRoleTerm().add(newItem);
 

Objects of the following type(s) are allowed in the list RoleType.RoleTerm