org.archiviststoolkit.structure.MODS
Class NamePartType

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

public class NamePartType
extends java.lang.Object

Java class for namePartType complex type.

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

 <complexType name="namePartType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="type">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="date"/>
             <enumeration value="family"/>
             <enumeration value="given"/>
             <enumeration value="termsOfAddress"/>
           </restriction>
         </simpleType>
       </attribute>
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  java.lang.String type
           
protected  java.lang.String value
           
 
Constructor Summary
NamePartType()
           
 
Method Summary
 java.lang.String getType()
          Gets the value of the type property.
 java.lang.String getValue()
          Gets the value of the value property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 void setValue(java.lang.String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected java.lang.String value

type

protected java.lang.String type
Constructor Detail

NamePartType

public NamePartType()
Method Detail

getValue

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

Returns:
possible object is String

setValue

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

Parameters:
value - allowed object is String

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