public abstract class ALcdISO19103CodeList extends Object implements ILcdISO19103CodeList
Constructor and Description |
---|
ALcdISO19103CodeList() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCode(ILcdISO19103Code aCode)
Adds a code with the given name.
|
ILcdISO19103Code |
getCode(int aIndex)
Returns the code at the given index.
|
ILcdISO19103Code |
getCode(String aName)
Checks whether a code with the given name is in the list.
|
int |
getCodeCount()
Returns the number of codes in the code list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public int getCodeCount()
ILcdISO19103CodeList
getCodeCount
in interface ILcdISO19103CodeList
public ILcdISO19103Code getCode(int aIndex)
ILcdISO19103CodeList
getCode
in interface ILcdISO19103CodeList
ILcdISO19103CodeList.getCodeCount()
public ILcdISO19103Code getCode(String aName)
getCode
in interface ILcdISO19103CodeList
aName
- the name of the code to retrieve.protected void addCode(ILcdISO19103Code aCode)
IllegalArgumentException
is thrown.aCode
- the code to add