org.archiviststoolkit.structure.MARCXML
Class DataFieldType

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

public class DataFieldType
extends java.lang.Object

MARC21 Variable Data Fields 010-999

Java class for dataFieldType complex type.

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

 <complexType name="dataFieldType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded">
         <element name="subfield" type="{http://www.loc.gov/MARC21/slim}subfieldatafieldType"/>
       </sequence>
       <attribute name="id" type="{http://www.loc.gov/MARC21/slim}idDataType" />
       <attribute name="ind1" use="required" type="{http://www.loc.gov/MARC21/slim}indicatorDataType" />
       <attribute name="ind2" use="required" type="{http://www.loc.gov/MARC21/slim}indicatorDataType" />
       <attribute name="tag" use="required" type="{http://www.loc.gov/MARC21/slim}tagDataType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String id
           
protected  java.lang.String ind1
           
protected  java.lang.String ind2
           
protected  java.util.List<SubfieldatafieldType> subfield
           
protected  java.lang.String tag
           
 
Constructor Summary
DataFieldType()
           
 
Method Summary
 java.lang.String getId()
          Gets the value of the id property.
 java.lang.String getInd1()
          Gets the value of the ind1 property.
 java.lang.String getInd2()
          Gets the value of the ind2 property.
 java.util.List<SubfieldatafieldType> getSubfield()
          Gets the value of the subfield property.
 java.lang.String getTag()
          Gets the value of the tag property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setInd1(java.lang.String value)
          Sets the value of the ind1 property.
 void setInd2(java.lang.String value)
          Sets the value of the ind2 property.
 void setTag(java.lang.String value)
          Sets the value of the tag property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subfield

protected java.util.List<SubfieldatafieldType> subfield

id

protected java.lang.String id

ind1

protected java.lang.String ind1

ind2

protected java.lang.String ind2

tag

protected java.lang.String tag
Constructor Detail

DataFieldType

public DataFieldType()
Method Detail

getSubfield

public java.util.List<SubfieldatafieldType> getSubfield()
Gets the value of the subfield 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 subfield property.

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

    getSubfield().add(newItem);
 

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


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

getInd1

public java.lang.String getInd1()
Gets the value of the ind1 property.

Returns:
possible object is String

setInd1

public void setInd1(java.lang.String value)
Sets the value of the ind1 property.

Parameters:
value - allowed object is String

getInd2

public java.lang.String getInd2()
Gets the value of the ind2 property.

Returns:
possible object is String

setInd2

public void setInd2(java.lang.String value)
Sets the value of the ind2 property.

Parameters:
value - allowed object is String

getTag

public java.lang.String getTag()
Gets the value of the tag property.

Returns:
possible object is String

setTag

public void setTag(java.lang.String value)
Sets the value of the tag property.

Parameters:
value - allowed object is String