Lvg Java
2006p Version

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

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

public class CanonRecord
extends java.lang.Object

This class defined the data structure of a canon record.

History:

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

Constructor Summary
CanonRecord()
          Default constructor for creating a canon record.
CanonRecord(java.lang.String term)
          Creates a canon record, using a term as uninflected and canonicalized terms.
 
Method Summary
 int GetCanonicalId()
          Get the integer value of canonical number (ID) of current canon record.
 java.lang.String GetCanonicalizedTerm()
          Get the string value of canonicalized term from current canon record.
 java.lang.String GetUninflectedTerm()
          Get the string value of uninflected term from current canon record.
 void SetCanonicalId(int value)
          Set the ID ofcanonicalezed term to current canon record.
 void SetCanonicalizedTerm(java.lang.String value)
          Set the string value of canonicalized term to current canon record.
 void SetUnInflectedTerm(java.lang.String value)
          Set the string value of the uninflected term to current canon record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CanonRecord

public CanonRecord()
Default constructor for creating a canon record.


CanonRecord

public CanonRecord(java.lang.String term)
Creates a canon record, using a term as uninflected and canonicalized terms.

Method Detail

SetUnInflectedTerm

public void SetUnInflectedTerm(java.lang.String value)
Set the string value of the uninflected term to current canon record.

Parameters:
value - string value of an uninflected term

SetCanonicalizedTerm

public void SetCanonicalizedTerm(java.lang.String value)
Set the string value of canonicalized term to current canon record.

Parameters:
value - string value of a canonicalized term

SetCanonicalId

public void SetCanonicalId(int value)
Set the ID ofcanonicalezed term to current canon record.

Parameters:
value - string value of a type, Acronym or abbreviation

GetUninflectedTerm

public java.lang.String GetUninflectedTerm()
Get the string value of uninflected term from current canon record.

Returns:
the string value of uninflected term from current canon record

GetCanonicalizedTerm

public java.lang.String GetCanonicalizedTerm()
Get the string value of canonicalized term from current canon record.

Returns:
the string value of canonicalized term from current canon record

GetCanonicalId

public int GetCanonicalId()
Get the integer value of canonical number (ID) of current canon record.

Returns:
the integer value of canonical number from current canon record

Lvg Java
2006p Version

Submit a bug or feature

Copyright © 2006p National Library of Medicine