org.archiviststoolkit.structure.MARCXML
Class RecordType

java.lang.Object
  extended by org.archiviststoolkit.structure.MARCXML.RecordType

public class RecordType
extends java.lang.Object

Java class for recordType complex type.

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

 <complexType name="recordType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence minOccurs="0">
         <element name="leader" type="{http://www.loc.gov/MARC21/slim}leaderFieldType"/>
         <element name="controlfield" type="{http://www.loc.gov/MARC21/slim}controlFieldType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="datafield" type="{http://www.loc.gov/MARC21/slim}dataFieldType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.loc.gov/MARC21/slim}idDataType" />
       <attribute name="type" type="{http://www.loc.gov/MARC21/slim}recordTypeType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<ControlFieldType> controlfield
           
protected  java.util.List<DataFieldType> datafield
           
protected  java.lang.String id
           
protected  LeaderFieldType leader
           
protected  RecordTypeType type
           
 
Constructor Summary
RecordType()
           
 
Method Summary
 java.util.List<ControlFieldType> getControlfield()
          Gets the value of the controlfield property.
 java.util.List<DataFieldType> getDatafield()
          Gets the value of the datafield property.
 java.lang.String getId()
          Gets the value of the id property.
 LeaderFieldType getLeader()
          Gets the value of the leader property.
 RecordTypeType getType()
          Gets the value of the type property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setLeader(LeaderFieldType value)
          Sets the value of the leader property.
 void setType(RecordTypeType 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

leader

protected LeaderFieldType leader

controlfield

protected java.util.List<ControlFieldType> controlfield

datafield

protected java.util.List<DataFieldType> datafield

id

protected java.lang.String id

type

protected RecordTypeType type
Constructor Detail

RecordType

public RecordType()
Method Detail

getLeader

public LeaderFieldType getLeader()
Gets the value of the leader property.

Returns:
possible object is LeaderFieldType

setLeader

public void setLeader(LeaderFieldType value)
Sets the value of the leader property.

Parameters:
value - allowed object is LeaderFieldType

getControlfield

public java.util.List<ControlFieldType> getControlfield()
Gets the value of the controlfield 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 controlfield property.

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

    getControlfield().add(newItem);
 

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


getDatafield

public java.util.List<DataFieldType> getDatafield()
Gets the value of the datafield 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 datafield property.

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

    getDatafield().add(newItem);
 

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


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

getType

public RecordTypeType getType()
Gets the value of the type property.

Returns:
possible object is RecordTypeType

setType

public void setType(RecordTypeType value)
Sets the value of the type property.

Parameters:
value - allowed object is RecordTypeType