@Component public class AuthorityUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PRESENTATION_TYPE_LOOKUP |
static String |
PRESENTATION_TYPE_SUGGEST |
static String |
RESERVED_KEYMAP_PARENT |
| Constructor and Description |
|---|
AuthorityUtils() |
| Modifier and Type | Method and Description |
|---|---|
AuthorityRest |
convertAuthority(ChoiceAuthority source,
String authorityName)
TODO the authorityName MUST be a part of ChoiceAuthority model
|
AuthorityEntryRest |
convertEntry(Choice choice,
String authorityName)
TODO the authorityName MUST be a part of Choice model
|
String |
getAuthorityName(String schema,
String element,
String qualifier) |
String |
getPresentation(String schema,
String element,
String qualifier) |
boolean |
isChoice(String schema,
String element,
String qualifier) |
boolean |
isClosed(String schema,
String element,
String qualifier) |
public static final String PRESENTATION_TYPE_LOOKUP
public static final String PRESENTATION_TYPE_SUGGEST
public static final String RESERVED_KEYMAP_PARENT
public AuthorityEntryRest convertEntry(Choice choice, String authorityName)
choice - authorityName - public AuthorityRest convertAuthority(ChoiceAuthority source, String authorityName)
source - name - Copyright © 2019 DuraSpace. All rights reserved.