Interface ILcdISO19103CodeList

All Known Implementing Classes:
ALcdISO19103CodeList

public interface ILcdISO19103CodeList
An interface for ISO code lists as defined in ISO19103:

CodeList can be used to describe an open enumeration. Code lists are useful for expressing a long list of potential values, but should be extensible. If only the likely, but not all, values of the elements are known, a code list shall be used.

  • Method Details

    • getCodeCount

      int getCodeCount()
      Returns the number of codes in the code list.
      Returns:
      the number of codes in the code list.
    • getCode

      ILcdISO19103Code getCode(int aIndex)
      Returns the code at the given index.
      Returns:
      the code at the given index.
      See Also:
    • getCode

      ILcdISO19103Code getCode(String aCode)
      Returns the code that has the given string as name. If no code can be found, null is returned.
      Returns:
      the code corresponding to the given string.
    • getName

      String getName()
      Returns the name of the code list.
      Returns:
      the name of the code list.