Lvg Java
2006p Version

gov.nih.nlm.nls.lvg.Db
Class SynonymRecord

java.lang.Object
  extended by gov.nih.nlm.nls.lvg.Db.SynonymRecord

public class SynonymRecord
extends java.lang.Object

This class defined the data structure of a synonym record.

History:

Version:
V-2006p
Author:
NLM NLS Development Team
See Also:
Desgin Document

Constructor Summary
SynonymRecord()
          Default constructor for creating a synonym record.
 
Method Summary
 int GetCat1()
          Get the category of key form from current synonym record.
 int GetCat2()
          Get the category of synonym from current synonym record.
 java.lang.String GetKeyForm()
          Get the string value of key form from current synonym record.
 java.lang.String GetKeyFormNpLc()
          Get the string value of key form (No punctuations lower case) from current synonym record.
 java.lang.String GetSynonym()
          Get the string value of synonym from current synonym record.
 void SetCat1(int value)
          Set the integer value of category for key form to current synonym record.
 void SetCat2(int value)
          Set the integer value of category for synonym to current synonym record.
 void SetKeyForm(java.lang.String value)
          Set the string value of key form to current synonym record.
 void SetKeyFormNpLc(java.lang.String value)
          Set the string value of key form (no puctuations and lower cases) to current synonym record.
 void SetSynonym(java.lang.String value)
          Set the string value of synonym to current synonym record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynonymRecord

public SynonymRecord()
Default constructor for creating a synonym record.

Method Detail

SetKeyFormNpLc

public void SetKeyFormNpLc(java.lang.String value)
Set the string value of key form (no puctuations and lower cases) to current synonym record.

Parameters:
value - string value of key form (no puctuations and lower cases)

SetSynonym

public void SetSynonym(java.lang.String value)
Set the string value of synonym to current synonym record.

Parameters:
value - string value of synonym

SetKeyForm

public void SetKeyForm(java.lang.String value)
Set the string value of key form to current synonym record.

Parameters:
value - string value of key form

SetCat1

public void SetCat1(int value)
Set the integer value of category for key form to current synonym record.

Parameters:
value - string value of category for key form

SetCat2

public void SetCat2(int value)
Set the integer value of category for synonym to current synonym record.

Parameters:
value - string value of category for synonym

GetKeyFormNpLc

public java.lang.String GetKeyFormNpLc()
Get the string value of key form (No punctuations lower case) from current synonym record.

Returns:
the string value of key form (No punctuations lower case) from current acroynym record

GetKeyForm

public java.lang.String GetKeyForm()
Get the string value of key form from current synonym record.

Returns:
the string value of key form from current acroynym record

GetSynonym

public java.lang.String GetSynonym()
Get the string value of synonym from current synonym record.

Returns:
the string value of synonym from current acroynym record

GetCat1

public int GetCat1()
Get the category of key form from current synonym record.

Returns:
category of key form in a integer format from current acroynym record

GetCat2

public int GetCat2()
Get the category of synonym from current synonym record.

Returns:
category of synonym in a integer format from current acroynym record

Lvg Java
2006p Version

Submit a bug or feature

Copyright © 2006p National Library of Medicine