/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.35
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package be.portugal.eid;

/******************************************************************************//**
  * Class for the id document on a EID Card
  * \see PTEID_EIDCard.getID() PTEID_EIDCard.getDocument()
  *********************************************************************************/
public class PTEID_EId extends PTEID_XMLDoc {
  private long swigCPtr;

  protected PTEID_EId(long cPtr, boolean cMemoryOwn) {
    super(pteidlibJava_WrapperJNI.SWIGPTEID_EIdUpcast(cPtr), cMemoryOwn);
    swigCPtr = cPtr;
  }

  protected static long getCPtr(PTEID_EId obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      pteidlibJava_WrapperJNI.delete_PTEID_EId(swigCPtr);
    }
    swigCPtr = 0;
    super.delete();
  }

	/** Get the document version field */
  public String getDocumentVersion() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getDocumentVersion(swigCPtr, this);
  }

	/** Get the document type field */
  public String getDocumentType() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getDocumentType(swigCPtr, this);
  }

	/** Get all first names */
  public String getFirstName() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getFirstName(swigCPtr, this);
  }

	/** Get the first name part 1 (contains 2 first names) */
  public String getFirstName1() {
    return pteidlibJava_WrapperJNI.PTEID_EId_getFirstName1(swigCPtr, this);
  }

	/** Get the first name part 2 (first letter of the 3rd given name) */
  public String getFirstName2() {
    return pteidlibJava_WrapperJNI.PTEID_EId_getFirstName2(swigCPtr, this);
  }

	/** Get the surname field */
  public String getSurname() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getSurname(swigCPtr, this);
  }

	/** Get the gender field */
  public String getGender() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getGender(swigCPtr, this);
  }

	/** Get the gate of birth field */
  public String getDateOfBirth() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getDateOfBirth(swigCPtr, this);
  }

	/** Get the location of birth field */
  public String getLocationOfBirth() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getLocationOfBirth(swigCPtr, this);
  }

	/** Get the nobility field */
  public String getNobility() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getNobility(swigCPtr, this);
  }

	/** Get the nationality field */
  public String getNationality() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getNationality(swigCPtr, this);
  }

	/** Get the national number field */
  public String getNationalNumber() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getNationalNumber(swigCPtr, this);
  }

	/** Get the duplicata field */
  public String getDuplicata() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getDuplicata(swigCPtr, this);
  }

	/** Get the special organization field */
  public String getSpecialOrganization() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getSpecialOrganization(swigCPtr, this);
  }

	/** Get the member of family field */
  public String getMemberOfFamily() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getMemberOfFamily(swigCPtr, this);
  }

	/** Get the logical number field */
  public String getLogicalNumber() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getLogicalNumber(swigCPtr, this);
  }

	/** Get the chip number field */
  public String getChipNumber() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getChipNumber(swigCPtr, this);
  }

	/** Get the validity begin date field */
  public String getValidityBeginDate() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getValidityBeginDate(swigCPtr, this);
  }

	/** Get the validity end date field */
  public String getValidityEndDate() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getValidityEndDate(swigCPtr, this);
  }

	/** Get the issuing municipality field */
  public String getIssuingMunicipality() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getIssuingMunicipality(swigCPtr, this);
  }

	/** Get the address version field */
  public String getAddressVersion() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getAddressVersion(swigCPtr, this);
  }

	/** Get the street field */
  public String getStreet() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getStreet(swigCPtr, this);
  }

	/** Get the zip code field */
  public String getZipCode() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getZipCode(swigCPtr, this);
  }

	/** Get the municipality field */
  public String getMunicipality() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getMunicipality(swigCPtr, this);
  }

	/** Get the country field */
  public String getCountry() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getCountry(swigCPtr, this);
  }

	/** Get the special status field */
  public String getSpecialStatus() throws java.lang.Exception {
    return pteidlibJava_WrapperJNI.PTEID_EId_getSpecialStatus(swigCPtr, this);
  }

}
