gov.nih.nlm.umls.meta
Interface SemanticType

All Superinterfaces:
Comparable, ConceptElement, ContentViewElement
All Known Implementing Classes:
SemanticTypeImpl

public interface SemanticType
extends Comparable, ConceptElement, ContentViewElement

Represents a Concept semantic type.

Following is a UML Class diagram showing the neighborhood around SemanticType

All data in a row of the MRSTY file is represented here. Note, the STN and TUI fields in MRSTY can be obtained by calling methods on the object returned by getSemanticType().

Author:
Brian Carlsen, Deborah Shapiro

Method Summary
 String getAttributeIdentifier()
          Returns the unique identifier (ATUI).
 String getAtui()
          Returns the unique identifier (ATUI).
 String getKeyFields()
          Returns a String key which can be used by equals, compareTo, and hashCode methods.
 HierarchicalSemanticType getSemanticType()
          Returns the HierarchicalSemanticType (STY).
 HierarchicalSemanticType getSty()
          Returns the HierarchicalSemanticType (STY).
 void setAttributeIdentifier(String atui)
          Sets the unique identifier (ATUI).
 void setAtui(String atui)
          Sets the unique identifier (ATUI).
 void setSemanticType(HierarchicalSemanticType sty)
          Sets the HierarchicalSemanticType (STY).
 void setSty(HierarchicalSemanticType sty)
          Sets the HierarchicalSemanticType (STY).
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface gov.nih.nlm.umls.meta.ConceptElement
getConcept, setConcept
 
Methods inherited from interface gov.nih.nlm.umls.meta.ContentViewElement
getContentView, getCvf, setContentView, setCvf
 

Method Detail

getSemanticType

public HierarchicalSemanticType getSemanticType()
Returns the HierarchicalSemanticType (STY).

Returns:
the HierarchicalSemanticType

setSemanticType

public void setSemanticType(HierarchicalSemanticType sty)
Sets the HierarchicalSemanticType (STY).

Parameters:
sty - the HierarchicalSemanticType

getSty

public HierarchicalSemanticType getSty()
Returns the HierarchicalSemanticType (STY). This is shorthand for getSemanticType()

Returns:
the HierarchicalSemanticType

setSty

public void setSty(HierarchicalSemanticType sty)
Sets the HierarchicalSemanticType (STY). This is shorthand for setSemanticType(HierarchicalSemanticType).

Parameters:
sty - the HierarchicalSemanticType

getAttributeIdentifier

public String getAttributeIdentifier()
Returns the unique identifier (ATUI).

Returns:
the ATUI

getAtui

public String getAtui()
Returns the unique identifier (ATUI). This is shorthand for getAttributeIdentifier().

Returns:
the ATUI

setAttributeIdentifier

public void setAttributeIdentifier(String atui)
Sets the unique identifier (ATUI).

Parameters:
atui - the ATUI

setAtui

public void setAtui(String atui)
Sets the unique identifier (ATUI). This is shorthand for setAttributeIdentifier(String).

Parameters:
atui - the ATUI

getKeyFields

public String getKeyFields()
Returns a String key which can be used by equals, compareTo, and hashCode methods.

Returns:
a String composed from key SemanticType fields


Copyright ©2005