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

  1. package lotus.domino.local;
  2.  
  3. import lotus.domino.NotesException;
  4. import lotus.notes.JavaString;
  5.  
  6. public class Name extends NotesBase implements lotus.domino.Name {
  7.    private transient Session session;
  8.  
  9.    protected Name() throws NotesException {
  10.    }
  11.  
  12.    protected Name(Session var1, int var2) throws NotesException {
  13.       super(var2, 19);
  14.       if (var1 == null) {
  15.          throw new NotesException(4404, JavaString.resource.getString("missing_session_object"));
  16.       } else {
  17.          this.session = var1;
  18.          var1.AddObject(this);
  19.       }
  20.    }
  21.  
  22.    protected void InternalFinalize() throws NotesException {
  23.       super.finalize();
  24.    }
  25.  
  26.    public void finalize() throws NotesException {
  27.       this.session.RemoveObject(this);
  28.       this.InternalFinalize();
  29.    }
  30.  
  31.    public void recycle() throws NotesException {
  32.       try {
  33.          this.session.RemoveObject(this);
  34.       } catch (NotesException var5) {
  35.       } finally {
  36.          super.Recycle();
  37.       }
  38.  
  39.    }
  40.  
  41.    public String getADMD() throws NotesException {
  42.       ((NotesBase)this).CheckObject();
  43.       return ((NotesBase)this).PropGetString(1620);
  44.    }
  45.  
  46.    public String getAbbreviated() throws NotesException {
  47.       ((NotesBase)this).CheckObject();
  48.       return ((NotesBase)this).PropGetString(1621);
  49.    }
  50.  
  51.    public String getCountry() throws NotesException {
  52.       ((NotesBase)this).CheckObject();
  53.       return ((NotesBase)this).PropGetString(1622);
  54.    }
  55.  
  56.    public String getCanonical() throws NotesException {
  57.       ((NotesBase)this).CheckObject();
  58.       return ((NotesBase)this).PropGetString(1623);
  59.    }
  60.  
  61.    public String toString() {
  62.       String var1;
  63.       try {
  64.          var1 = this.getCanonical();
  65.       } catch (Exception var2) {
  66.          var1 = null;
  67.       }
  68.  
  69.       return var1;
  70.    }
  71.  
  72.    public String getCommon() throws NotesException {
  73.       ((NotesBase)this).CheckObject();
  74.       return ((NotesBase)this).PropGetString(1624);
  75.    }
  76.  
  77.    public String getGiven() throws NotesException {
  78.       ((NotesBase)this).CheckObject();
  79.       return ((NotesBase)this).PropGetString(1625);
  80.    }
  81.  
  82.    public String getInitials() throws NotesException {
  83.       ((NotesBase)this).CheckObject();
  84.       return ((NotesBase)this).PropGetString(1626);
  85.    }
  86.  
  87.    public String getOrganization() throws NotesException {
  88.       ((NotesBase)this).CheckObject();
  89.       return ((NotesBase)this).PropGetString(1627);
  90.    }
  91.  
  92.    public String getOrgUnit1() throws NotesException {
  93.       ((NotesBase)this).CheckObject();
  94.       return ((NotesBase)this).PropGetString(1628);
  95.    }
  96.  
  97.    public String getOrgUnit2() throws NotesException {
  98.       ((NotesBase)this).CheckObject();
  99.       return ((NotesBase)this).PropGetString(1629);
  100.    }
  101.  
  102.    public String getOrgUnit3() throws NotesException {
  103.       ((NotesBase)this).CheckObject();
  104.       return ((NotesBase)this).PropGetString(1630);
  105.    }
  106.  
  107.    public String getOrgUnit4() throws NotesException {
  108.       ((NotesBase)this).CheckObject();
  109.       return ((NotesBase)this).PropGetString(1631);
  110.    }
  111.  
  112.    public String getPRMD() throws NotesException {
  113.       ((NotesBase)this).CheckObject();
  114.       return ((NotesBase)this).PropGetString(1632);
  115.    }
  116.  
  117.    public String getGeneration() throws NotesException {
  118.       ((NotesBase)this).CheckObject();
  119.       return ((NotesBase)this).PropGetString(1633);
  120.    }
  121.  
  122.    public String getSurname() throws NotesException {
  123.       ((NotesBase)this).CheckObject();
  124.       return ((NotesBase)this).PropGetString(1634);
  125.    }
  126.  
  127.    public String getKeyword() throws NotesException {
  128.       ((NotesBase)this).CheckObject();
  129.       return ((NotesBase)this).PropGetString(1635);
  130.    }
  131.  
  132.    public boolean isHierarchical() throws NotesException {
  133.       ((NotesBase)this).CheckObject();
  134.       return ((NotesBase)this).PropGetBool(1636);
  135.    }
  136.  
  137.    public lotus.domino.Session getParent() throws NotesException {
  138.       ((NotesBase)this).CheckObject();
  139.       return this.session;
  140.    }
  141.  
  142.    public String getAddr821() throws NotesException {
  143.       ((NotesBase)this).CheckObject();
  144.       return ((NotesBase)this).PropGetString(2156);
  145.    }
  146.  
  147.    public String getAddr822LocalPart() throws NotesException {
  148.       ((NotesBase)this).CheckObject();
  149.       return ((NotesBase)this).PropGetString(2151);
  150.    }
  151.  
  152.    public String getAddr822Phrase() throws NotesException {
  153.       ((NotesBase)this).CheckObject();
  154.       return ((NotesBase)this).PropGetString(2150);
  155.    }
  156.  
  157.    public String getAddr822Comment1() throws NotesException {
  158.       ((NotesBase)this).CheckObject();
  159.       return ((NotesBase)this).PropGetString(2153);
  160.    }
  161.  
  162.    public String getAddr822Comment2() throws NotesException {
  163.       ((NotesBase)this).CheckObject();
  164.       return ((NotesBase)this).PropGetString(2154);
  165.    }
  166.  
  167.    public String getAddr822Comment3() throws NotesException {
  168.       ((NotesBase)this).CheckObject();
  169.       return ((NotesBase)this).PropGetString(2155);
  170.    }
  171.  
  172.    public String getLanguage() throws NotesException {
  173.       ((NotesBase)this).CheckObject();
  174.       return ((NotesBase)this).PropGetString(1638);
  175.    }
  176. }
  177.