public class ExtrinsicObjectWebConverter extends RegistryObjectWebConverter
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_VERSION_INFO |
static String |
IS_OPAQUE |
static String |
MIME_TYPE |
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 |
---|
ExtrinsicObjectWebConverter() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
convert(ExtrinsicObjectType extrinsicObject)
This method creates a Map
|
convertRegistryObject
public static final String CONTENT_VERSION_INFO
public static final String IS_OPAQUE
public static final String MIME_TYPE
public Map<String,Object> convert(ExtrinsicObjectType extrinsicObject)
CONTENT_VERSION_INFO = "ContentVersionInfo"; IS_OPAQUE = "isOpaque"; MIME_TYPE = "mimeType";
This will also try to parse RegistryObjectType values to the map.
extrinsicObject
- the ExtrinsicObjectType to be converted into a map, null returns empty
MapThis work is licensed under a Creative Commons Attribution 4.0 International License.