org.archiviststoolkit.structure.MODS
Class PartType

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

public class PartType
extends java.lang.Object

Java class for partType complex type.

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

 <complexType name="partType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="detail" type="{http://www.loc.gov/mods/v3}detailType"/>
         <element name="extent" type="{http://www.loc.gov/mods/v3}extentType"/>
         <element name="date" type="{http://www.loc.gov/mods/v3}baseDateType"/>
         <element name="text" type="{http://www.loc.gov/mods/v3}unstructuredText"/>
       </choice>
       <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> detailOrExtentOrDate
           
protected  java.lang.String id
           
protected  java.math.BigInteger order
           
protected  java.lang.String type
           
 
Constructor Summary
PartType()
           
 
Method Summary
 java.util.List<java.lang.Object> getDetailOrExtentOrDate()
          Gets the value of the detailOrExtentOrDate property.
 java.lang.String getID()
          Gets the value of the id property.
 java.math.BigInteger getOrder()
          Gets the value of the order property.
 java.lang.String getType()
          Gets the value of the type property.
 void setID(java.lang.String value)
          Sets the value of the id property.
 void setOrder(java.math.BigInteger value)
          Sets the value of the order property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

detailOrExtentOrDate

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

id

protected java.lang.String id

order

protected java.math.BigInteger order

type

protected java.lang.String type
Constructor Detail

PartType

public PartType()
Method Detail

getDetailOrExtentOrDate

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

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

    getDetailOrExtentOrDate().add(newItem);
 

Objects of the following type(s) are allowed in the list UnstructuredText BaseDateType ExtentType DetailType


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

getOrder

public java.math.BigInteger getOrder()
Gets the value of the order property.

Returns:
possible object is BigInteger

setOrder

public void setOrder(java.math.BigInteger value)
Sets the value of the order property.

Parameters:
value - allowed object is BigInteger

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String