public class RegistryObjectTypeConverter extends AbstractRegistryObjectTypeConverter<RegistryObjectType>
mapToSchemaElement| Constructor and Description |
|---|
RegistryObjectTypeConverter() |
RegistryObjectTypeConverter(MapToSchemaElement<RegistryObjectType> mapToSchemaElement) |
| Modifier and Type | Method and Description |
|---|---|
Optional<RegistryObjectType> |
convert(Map<String,Object> map)
This method creates a RegistryObjectType from the values in the provided map.
|
public RegistryObjectTypeConverter(MapToSchemaElement<RegistryObjectType> mapToSchemaElement)
public RegistryObjectTypeConverter()
public Optional<RegistryObjectType> convert(Map<String,Object> map)
AbstractRegistryObjectTypeConverterCLASSIFICATION_KEY = "Classification"; EXTERNAL_IDENTIFIER_KEY = "ExternalIdentifier"; NAME_KEY = "Name"; DESCRIPTION_KEY = "Description"; VERSION_INFO_KEY = "VersionInfo"; SLOT = "Slot"; ID_KEY = "id"; HOME_KEY = "home"; LID_KEY = "Lid"; STATUS_KEY = "Status"; OBJECT_TYPE_KEY = "objectType";
Uses: ClassificationTypeConverter ExternalIdentifierTypeConverter SlotTypeConverter InternationalStringTypeHelper
convert in class AbstractRegistryObjectTypeConverter<RegistryObjectType>map - the Map representation of the RegistryObjectType to generate, null returns empty
OptionalThis work is licensed under a Creative Commons Attribution 4.0 International License.