ConceptName

public class ConceptName

Represents a single concept name. Also stores information about its locale and type.

Fields

DEFAULT_CONCEPT_NAME_TYPE

public static final String DEFAULT_CONCEPT_NAME_TYPE

DEFAULT_LOCALE

public static final String DEFAULT_LOCALE

Constructors

ConceptName

public ConceptName(String name)

Creates a concept name from the given name. Uses default locale and concept type.

Parameters:
  • name – the name of the concept

ConceptName

public ConceptName(String name, String locale, String conceptNameType)

Creates a concept name from the given name. Uses given locale and conceptNameType.

Parameters:
  • name – the name of the concept
  • locale – the locale of the concept name
  • conceptNameType – the type of the concept name

Methods

equals

public boolean equals(Object o)

getConceptNameType

public String getConceptNameType()

getLocale

public String getLocale()

getName

public String getName()

hashCode

public int hashCode()

setConceptNameType

public void setConceptNameType(String conceptNameType)

setLocale

public void setLocale(String locale)

setName

public void setName(String name)

toString

public String toString()