CodeList.CodeEntry
Constructor and Description |
---|
INSPIRECodeList(String namespace,
String identifier,
String description,
URI location)
Creates a codelist with the specified information.
|
Modifier and Type | Method and Description |
---|---|
void |
addEntry(CodeList.CodeEntry entry)
Add the given entry to this codelist, no checks are performed here.
|
String |
getDescription()
Get the description
|
Collection<CodeList.CodeEntry> |
getEntries()
Get the code list entries
|
CodeList.CodeEntry |
getEntryByIdentifier(String identifier)
Get the entry with the given identifier
|
CodeList.CodeEntry |
getEntryByName(String name)
Get the entry with the given name
|
String |
getIdentifier()
Get the identifier
|
URI |
getLocation()
Get the code list location
|
String |
getNamespace()
Get the namespace
|
public INSPIRECodeList(String namespace, String identifier, String description, URI location)
namespace
- the codelist's namespaceidentifier
- the codelist's identifierdescription
- the codelist's descriptionlocation
- the codelist's locationpublic void addEntry(CodeList.CodeEntry entry)
entry
- the entry to addpublic Collection<CodeList.CodeEntry> getEntries()
CodeList
getEntries
in interface CodeList
public String getNamespace()
CodeList
getNamespace
in interface CodeList
public String getIdentifier()
CodeList
getIdentifier
in interface CodeList
public String getDescription()
CodeList
getDescription
in interface CodeList
public CodeList.CodeEntry getEntryByName(String name)
CodeList
getEntryByName
in interface CodeList
name
- the entry namenull
public CodeList.CodeEntry getEntryByIdentifier(String identifier)
CodeList
getEntryByIdentifier
in interface CodeList
identifier
- the entry identifiernull
public URI getLocation()
CodeList
getLocation
in interface CodeList
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a