Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.codelist.service
Interface CodeListService

All Known Implementing Classes:
CodeListServiceImpl

public interface CodeListService

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Method Summary
 void addCodeList(CodeList code)
          Add a code list to the service.
 void assignAttributeCodeList(String attributeIdentifier, CodeList code)
          Assign a code list for an attribute.
 CodeList findCodeListByAttribute(String attributeIdentifier)
          Tries to find a code list associated to the attribute referenced by the given identifier.
 CodeList findCodeListByIdentifier(String namespace, String identifier)
          Tries to find the code list with the given namespace and identifier.
 List<CodeList> getCodeLists()
          Get the code lists.
 

Method Detail

findCodeListByIdentifier

CodeList findCodeListByIdentifier(String namespace,
                                  String identifier)
Tries to find the code list with the given namespace and identifier.

Parameters:
namespace - the namespace
identifier - the identifier
Returns:
the code list or null

findCodeListByAttribute

CodeList findCodeListByAttribute(String attributeIdentifier)
Tries to find a code list associated to the attribute referenced by the given identifier.

Parameters:
attributeIdentifier - the attribute identifier
Returns:
the code list or null

assignAttributeCodeList

void assignAttributeCodeList(String attributeIdentifier,
                             CodeList code)
Assign a code list for an attribute.

Parameters:
attributeIdentifier - the attribute identifier
code - the code list to assign or null if the assignment shall be deleted

getCodeLists

List<CodeList> getCodeLists()
Get the code lists.

Returns:
the code lists

addCodeList

void addCodeList(CodeList code)
Add a code list to the service.

Parameters:
code - the code list to add

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d