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