Class RoleType

  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">
     <restriction base="{}anyType">
       <sequence maxOccurs="unbounded">
         <element name="roleTerm">
               <extension base="<>string">
                 <attribute name="authority" type="{}string" />
                 <attribute name="type" type="{}codeOrText" />

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
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


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


public RoleType()
Method Detail


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:


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