org.archiviststoolkit.structure.EAD
Class List

java.lang.Object
  extended by org.archiviststoolkit.structure.EAD.List

public class List
extends java.lang.Object

Java class for list complex type.

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

 <complexType name="list">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="head" type="{urn:isbn:1-931666-22-9}head" minOccurs="0"/>
         <choice>
           <element name="item" type="{urn:isbn:1-931666-22-9}item" maxOccurs="unbounded"/>
           <sequence>
             <element name="listhead" type="{urn:isbn:1-931666-22-9}listhead" minOccurs="0"/>
             <element name="defitem" type="{urn:isbn:1-931666-22-9}defitem" maxOccurs="unbounded"/>
           </sequence>
         </choice>
       </sequence>
       <attGroup ref="{urn:isbn:1-931666-22-9}a.common"/>
       <attribute name="type">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="simple"/>
             <enumeration value="deflist"/>
             <enumeration value="marked"/>
             <enumeration value="ordered"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="mark" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="numeration">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="arabic"/>
             <enumeration value="upperalpha"/>
             <enumeration value="loweralpha"/>
             <enumeration value="upperroman"/>
             <enumeration value="lowerroman"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="continuation">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
             <enumeration value="continues"/>
             <enumeration value="starts"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String altrender
           
protected  java.lang.String audience
           
protected  java.lang.String continuation
           
protected  java.util.List<Defitem> defitem
           
protected  Head head
           
protected  java.lang.String id
           
protected  java.util.List<Item> item
           
protected  Listhead listhead
           
protected  java.lang.String mark
           
protected  java.lang.String numeration
           
protected  java.lang.String type
           
 
Constructor Summary
List()
           
 
Method Summary
 java.lang.String getAltrender()
          Gets the value of the altrender property.
 java.lang.String getAudience()
          Gets the value of the audience property.
 java.lang.String getContinuation()
          Gets the value of the continuation property.
 java.util.List<Defitem> getDefitem()
          Gets the value of the defitem property.
 Head getHead()
          Gets the value of the head property.
 java.lang.String getId()
          Gets the value of the id property.
 java.util.List<Item> getItem()
          Gets the value of the item property.
 Listhead getListhead()
          Gets the value of the listhead property.
 java.lang.String getMark()
          Gets the value of the mark property.
 java.lang.String getNumeration()
          Gets the value of the numeration property.
 java.lang.String getType()
          Gets the value of the type property.
 void setAltrender(java.lang.String value)
          Sets the value of the altrender property.
 void setAudience(java.lang.String value)
          Sets the value of the audience property.
 void setContinuation(java.lang.String value)
          Sets the value of the continuation property.
 void setHead(Head value)
          Sets the value of the head property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setListhead(Listhead value)
          Sets the value of the listhead property.
 void setMark(java.lang.String value)
          Sets the value of the mark property.
 void setNumeration(java.lang.String value)
          Sets the value of the numeration 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

head

protected Head head

item

protected java.util.List<Item> item

listhead

protected Listhead listhead

defitem

protected java.util.List<Defitem> defitem

type

protected java.lang.String type

mark

protected java.lang.String mark

numeration

protected java.lang.String numeration

continuation

protected java.lang.String continuation

id

protected java.lang.String id

altrender

protected java.lang.String altrender

audience

protected java.lang.String audience
Constructor Detail

List

public List()
Method Detail

getHead

public Head getHead()
Gets the value of the head property.

Returns:
possible object is Head

setHead

public void setHead(Head value)
Sets the value of the head property.

Parameters:
value - allowed object is Head

getItem

public java.util.List<Item> getItem()
Gets the value of the item 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 item property.

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

    getItem().add(newItem);
 

Objects of the following type(s) are allowed in the list Item


getListhead

public Listhead getListhead()
Gets the value of the listhead property.

Returns:
possible object is Listhead

setListhead

public void setListhead(Listhead value)
Sets the value of the listhead property.

Parameters:
value - allowed object is Listhead

getDefitem

public java.util.List<Defitem> getDefitem()
Gets the value of the defitem 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 defitem property.

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

    getDefitem().add(newItem);
 

Objects of the following type(s) are allowed in the list Defitem


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

getMark

public java.lang.String getMark()
Gets the value of the mark property.

Returns:
possible object is String

setMark

public void setMark(java.lang.String value)
Sets the value of the mark property.

Parameters:
value - allowed object is String

getNumeration

public java.lang.String getNumeration()
Gets the value of the numeration property.

Returns:
possible object is String

setNumeration

public void setNumeration(java.lang.String value)
Sets the value of the numeration property.

Parameters:
value - allowed object is String

getContinuation

public java.lang.String getContinuation()
Gets the value of the continuation property.

Returns:
possible object is String

setContinuation

public void setContinuation(java.lang.String value)
Sets the value of the continuation property.

Parameters:
value - allowed object is String

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

getAltrender

public java.lang.String getAltrender()
Gets the value of the altrender property.

Returns:
possible object is String

setAltrender

public void setAltrender(java.lang.String value)
Sets the value of the altrender property.

Parameters:
value - allowed object is String

getAudience

public java.lang.String getAudience()
Gets the value of the audience property.

Returns:
possible object is String

setAudience

public void setAudience(java.lang.String value)
Sets the value of the audience property.

Parameters:
value - allowed object is String