@Immutable public final class DefaultConcept extends Object implements Concept
PREFERRED_TERM_UNKNOWN, PREFTERM, TUI
Constructor and Description |
---|
DefaultConcept(String cui) |
DefaultConcept(String cui,
String preferredText) |
DefaultConcept(String cui,
String preferredText,
CollectionMap<String,String,? extends Collection<String>> codes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
Collection<String> |
getCodeNames() |
Collection<String> |
getCodes(String codeType) |
Collection<Integer> |
getCtakesSemantics() |
String |
getCui() |
String |
getPreferredText() |
int |
hashCode() |
boolean |
isEmpty() |
public DefaultConcept(String cui)
cui
- -public DefaultConcept(String cui, String preferredText)
cui
- -preferredText
- -public DefaultConcept(String cui, String preferredText, CollectionMap<String,String,? extends Collection<String>> codes)
cui
- -preferredText
- -codes
- collection of coding scheme names and this concept's codes for those schemespublic String getCui()
public String getPreferredText()
getPreferredText
in interface Concept
public Collection<String> getCodeNames()
getCodeNames
in interface Concept
public Collection<String> getCodes(String codeType)
public Collection<Integer> getCtakesSemantics()
getCtakesSemantics
in interface Concept
public boolean isEmpty()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.