public class ClassificationWebConverter extends RegistryObjectWebConverter
Modifier and Type | Field and Description |
---|---|
static String |
CLASSIFICATION_NODE |
static String |
CLASSIFICATION_SCHEME |
static String |
CLASSIFIED_OBJECT |
static String |
NODE_REPRESENTATION |
CLASSIFICATION_KEY, DESCRIPTION_KEY, EXTERNAL_IDENTIFIER_KEY, HOME_KEY, ID_KEY, INTERNATIONAL_STRING_TYPE_HELPER, LID_KEY, NAME_KEY, OBJECT_TYPE_KEY, SLOT, STATUS_KEY, VERSION_INFO_KEY
Constructor and Description |
---|
ClassificationWebConverter() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
convert(ClassificationType classification)
This method creates a Map
|
convertRegistryObject
public static final String CLASSIFICATION_NODE
public static final String CLASSIFIED_OBJECT
public static final String CLASSIFICATION_SCHEME
public static final String NODE_REPRESENTATION
public Map<String,Object> convert(ClassificationType classification)
CLASSIFICATION_NODE = "classificationNode"; CLASSIFIED_OBJECT = "classifiedObject"; CLASSIFICATION_SCHEME = "classificationScheme"; NODE_REPRESENTATION = "nodeRepresentation";
This will also try to parse RegistryObjectType values to the map.
classification
- the ClassificationType to be converted into a map, null returns empty MapThis work is licensed under a Creative Commons Attribution 4.0 International License.