public class ExtrinsicObjectTypeConverter extends AbstractRegistryObjectTypeConverter<ExtrinsicObjectType>
mapToSchemaElement
Constructor and Description |
---|
ExtrinsicObjectTypeConverter() |
ExtrinsicObjectTypeConverter(MapToSchemaElement<ExtrinsicObjectType> mapToSchemaElement) |
Modifier and Type | Method and Description |
---|---|
Optional<ExtrinsicObjectType> |
convert(Map<String,Object> map)
This method creates an ExtrinsicObjectType from the values in the provided map.
|
public ExtrinsicObjectTypeConverter(MapToSchemaElement<ExtrinsicObjectType> mapToSchemaElement)
public ExtrinsicObjectTypeConverter()
public Optional<ExtrinsicObjectType> convert(Map<String,Object> map)
CONTENT_VERSION_INFO = "ContentVersionInfo"; IS_OPAQUE = "isOpaque"; MIME_TYPE = "mimeType";
This will also try to populate the RegistryObjectType values also looked for in the map.
convert
in class AbstractRegistryObjectTypeConverter<ExtrinsicObjectType>
map
- the Map representation of the ExtrinsicObjectType to generate, null returns empty
OptionalThis work is licensed under a Creative Commons Attribution 4.0 International License.