|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.codelist.service.internal.CodeListServiceImpl
public class CodeListServiceImpl
Code list service.
Field Summary | |
---|---|
protected de.fhg.igd.osgi.util.configuration.IConfigurationService |
configurationService
The configuration service to use for storing/loading assignments. |
protected ProjectService |
projectService
The associated project service. |
Constructor Summary | |
---|---|
CodeListServiceImpl(ProjectService projectService)
Constructs this code list service with the given project service. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final ProjectService projectService
protected final de.fhg.igd.osgi.util.configuration.IConfigurationService configurationService
Constructor Detail |
---|
public CodeListServiceImpl(ProjectService projectService)
projectService
- the project serviceMethod Detail |
---|
public CodeList findCodeListByIdentifier(String namespace, String identifier)
CodeListService
findCodeListByIdentifier
in interface CodeListService
namespace
- the namespaceidentifier
- the identifier
null
CodeListService.findCodeListByIdentifier(String, String)
public List<CodeList> getCodeLists()
CodeListService
getCodeLists
in interface CodeListService
CodeListService.getCodeLists()
public void assignAttributeCodeList(String attributeIdentifier, CodeList code)
CodeListService
assignAttributeCodeList
in interface CodeListService
attributeIdentifier
- the attribute identifiercode
- the code list to assign or null
if the
assignment shall be deletedCodeListService.assignAttributeCodeList(String, CodeList)
public CodeList findCodeListByAttribute(String attributeIdentifier)
CodeListService
findCodeListByAttribute
in interface CodeListService
attributeIdentifier
- the attribute identifier
null
CodeListService.findCodeListByAttribute(String)
public void addCodeList(CodeList code)
CodeListService
addCodeList
in interface CodeListService
code
- the code list to addCodeListService.addCodeList(CodeList)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |