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