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