gov.nih.nlm.umls.meta
Interface Definition

All Superinterfaces:
AtomElement, AttributeElement, Comparable, ConceptElement, ContentViewElement, SourceElement, SuppressibleElement
All Known Implementing Classes:
DefinitionImpl

public interface Definition
extends AtomElement, AttributeElement, Comparable, ConceptElement, ContentViewElement, SourceElement, SuppressibleElement

Represents a definition of an Atom.

Following is a UML Class diagram showing the neighborhood around Definition

All data in a row of the MRDEF file is represented here.

Author:
Brian Carlsen, Deborah Shapiro

Nested Class Summary
 
Nested classes inherited from class gov.nih.nlm.umls.meta.AtomElement
AtomElement.ByLanguageRestrictor, AtomElement.BySourceRestrictor
 
Nested classes inherited from class gov.nih.nlm.umls.meta.SourceElement
SourceElement.BySourceComparator, SourceElement.BySourceRestrictor
 
Method Summary
 String getDef()
          Returns the definition value (DEF).
 String getDefinition()
          Returns the definition value (DEF).
 String getKeyFields()
          Returns a String key which can be used by equals, compareTo, and hashCode methods.
 void setDef(String def)
          Sets the definition value (DEF).
 void setDefinition(String def)
          Sets the definition value (DEF).
 
Methods inherited from interface gov.nih.nlm.umls.meta.AtomElement
getAtom, setAtom
 
Methods inherited from interface gov.nih.nlm.umls.meta.AttributeElement
getAttributeIdentifier, getAtui, getSatui, getSourceAttributeIdentifier, setAttributeIdentifier, setAtui, setSatui, setSourceAttributeIdentifier
 
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
 
Methods inherited from interface gov.nih.nlm.umls.meta.SourceElement
getSource, setSource
 
Methods inherited from interface gov.nih.nlm.umls.meta.SuppressibleElement
getSuppress, isObsolete, isSuppressible, setSuppress
 

Method Detail

getDefinition

public String getDefinition()
Returns the definition value (DEF).

Returns:
the definition value (DEF).

getDef

public String getDef()
Returns the definition value (DEF). This is shorthand for getDefinition().

Returns:
the definition value (DEF).

setDefinition

public void setDefinition(String def)
Sets the definition value (DEF).

Parameters:
def - the definition value

setDef

public void setDef(String def)
Sets the definition value (DEF). This is shorthand for setDefinition(String).

Parameters:
def - the definition value

getKeyFields

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

Returns:
a String composed from key Definition fields


Copyright ©2005