org.archiviststoolkit.structure.MODS
Class RoleType
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roleTerm
protected java.util.List<RoleType.RoleTerm> roleTerm
RoleType
public RoleType()
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