home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesJavaSupport / Notes.jar / lotus / notes / Name.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-11-15  |  2.7 KB  |  138 lines

  1. package lotus.notes;
  2.  
  3. public class Name extends NotesBase {
  4.    private transient Session session;
  5.  
  6.    protected Name() throws NotesException {
  7.    }
  8.  
  9.    protected Name(Session var1, int var2) throws NotesException {
  10.       super(var2, 19);
  11.       if (var1 == null) {
  12.          throw new NotesException(JavaString.resource.getString("missing_session_object"));
  13.       } else {
  14.          this.session = var1;
  15.          var1.AddObject(this);
  16.       }
  17.    }
  18.  
  19.    protected void InternalFinalize() throws NotesException {
  20.       super.finalize();
  21.    }
  22.  
  23.    public void finalize() throws NotesException {
  24.       this.session.RemoveObject(this);
  25.       this.InternalFinalize();
  26.    }
  27.  
  28.    public void recycle() throws NotesException {
  29.       try {
  30.          this.session.RemoveObject(this);
  31.       } catch (NotesException var5) {
  32.       } finally {
  33.          super.Recycle();
  34.       }
  35.  
  36.    }
  37.  
  38.    public int GetCppObj() {
  39.       return super.GetCppObj();
  40.    }
  41.  
  42.    public String getADMD() throws NotesException {
  43.       ((NotesBase)this).CheckObject();
  44.       return ((NotesBase)this).PropGetString(1620);
  45.    }
  46.  
  47.    public String getAbbreviated() throws NotesException {
  48.       ((NotesBase)this).CheckObject();
  49.       return ((NotesBase)this).PropGetString(1621);
  50.    }
  51.  
  52.    public String getCountry() throws NotesException {
  53.       ((NotesBase)this).CheckObject();
  54.       return ((NotesBase)this).PropGetString(1622);
  55.    }
  56.  
  57.    public String getCanonical() throws NotesException {
  58.       ((NotesBase)this).CheckObject();
  59.       return ((NotesBase)this).PropGetString(1623);
  60.    }
  61.  
  62.    public String toString() {
  63.       String var1;
  64.       try {
  65.          var1 = this.getCanonical();
  66.       } catch (Exception var2) {
  67.          var1 = null;
  68.       }
  69.  
  70.       return var1;
  71.    }
  72.  
  73.    public String getCommon() throws NotesException {
  74.       ((NotesBase)this).CheckObject();
  75.       return ((NotesBase)this).PropGetString(1624);
  76.    }
  77.  
  78.    public String getGiven() throws NotesException {
  79.       ((NotesBase)this).CheckObject();
  80.       return ((NotesBase)this).PropGetString(1625);
  81.    }
  82.  
  83.    public String getInitials() throws NotesException {
  84.       ((NotesBase)this).CheckObject();
  85.       return ((NotesBase)this).PropGetString(1626);
  86.    }
  87.  
  88.    public String getOrganization() throws NotesException {
  89.       ((NotesBase)this).CheckObject();
  90.       return ((NotesBase)this).PropGetString(1627);
  91.    }
  92.  
  93.    public String getOrgUnit1() throws NotesException {
  94.       ((NotesBase)this).CheckObject();
  95.       return ((NotesBase)this).PropGetString(1628);
  96.    }
  97.  
  98.    public String getOrgUnit2() throws NotesException {
  99.       ((NotesBase)this).CheckObject();
  100.       return ((NotesBase)this).PropGetString(1629);
  101.    }
  102.  
  103.    public String getOrgUnit3() throws NotesException {
  104.       ((NotesBase)this).CheckObject();
  105.       return ((NotesBase)this).PropGetString(1630);
  106.    }
  107.  
  108.    public String getOrgUnit4() throws NotesException {
  109.       ((NotesBase)this).CheckObject();
  110.       return ((NotesBase)this).PropGetString(1631);
  111.    }
  112.  
  113.    public String getPRMD() throws NotesException {
  114.       ((NotesBase)this).CheckObject();
  115.       return ((NotesBase)this).PropGetString(1632);
  116.    }
  117.  
  118.    public String getGeneration() throws NotesException {
  119.       ((NotesBase)this).CheckObject();
  120.       return ((NotesBase)this).PropGetString(1633);
  121.    }
  122.  
  123.    public String getSurname() throws NotesException {
  124.       ((NotesBase)this).CheckObject();
  125.       return ((NotesBase)this).PropGetString(1634);
  126.    }
  127.  
  128.    public String getKeyword() throws NotesException {
  129.       ((NotesBase)this).CheckObject();
  130.       return ((NotesBase)this).PropGetString(1635);
  131.    }
  132.  
  133.    public boolean isHierarchical() throws NotesException {
  134.       ((NotesBase)this).CheckObject();
  135.       return ((NotesBase)this).PropGetBool(1636);
  136.    }
  137. }
  138.