public final class Term extends Object
| Modifier and Type | Method and Description |
|---|---|
static Term |
fromTerminologyAndCode(String terminology,
String code) |
String |
getAbbrevDisplayName() |
String |
getCode() |
String |
getDescription() |
String[] |
getDirectChildren()
Returns a newly-created array of the ids of this term's direct children.
|
String |
getDisplayName() |
String |
getId() |
String[] |
getInverseIsA()
Returns a newly-created array of the ids of the terms with which this
term has an inverse is-a relationship.
|
String |
getSemanticType() |
Terminology |
getTerminology() |
void |
setAbbrevDisplayName(String abbrevDisplayName) |
void |
setDescription(String description) |
void |
setDirectChildren(String[] directChildren) |
void |
setDisplayName(String displayName) |
void |
setInverseIsA(String[] inverseIsA) |
void |
setSemanticType(String semanticType) |
static Term |
withId(String id)
Creates and returns a new
Term with the given identifier |
public static Term withId(String id) throws MalformedTermIdException
Term with the given identifierid - the term's unique identifierTerm with the given identifierMalformedTermIdExceptionpublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - the displayName to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic String getSemanticType()
public void setSemanticType(String semanticType)
semanticType - the semanticType to setpublic String getAbbrevDisplayName()
public void setAbbrevDisplayName(String abbrevDisplayName)
abbrevDisplayName - the abbrevDisplayName to setpublic String[] getInverseIsA()
String[].public void setInverseIsA(String[] inverseIsA)
inverseIsA - the inverseIsA to setpublic String[] getDirectChildren()
String[].public void setDirectChildren(String[] directChildren)
directChildren - the directChildren to setpublic String getId()
public String getCode()
public Terminology getTerminology()
Copyright © 2012–2016 Emory University. All rights reserved.