public class AssociationWebConverter extends RegistryObjectWebConverter
Modifier and Type | Field and Description |
---|---|
static String |
ASSOCIATION_TYPE |
static String |
SOURCE_OBJECT |
static String |
TARGET_OBJECT |
CLASSIFICATION_KEY, DESCRIPTION_KEY, EXTERNAL_IDENTIFIER_KEY, HOME_KEY, ID_KEY, INTERNATIONAL_STRING_TYPE_HELPER, LID_KEY, NAME_KEY, OBJECT_TYPE_KEY, SLOT, STATUS_KEY, VERSION_INFO_KEY
Constructor and Description |
---|
AssociationWebConverter() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
convert(AssociationType1 association)
This method creates a Map
|
convertRegistryObject
public static final String ASSOCIATION_TYPE
public static final String SOURCE_OBJECT
public static final String TARGET_OBJECT
public Map<String,Object> convert(AssociationType1 association)
ASSOCIATION_TYPE = "associationType"; SOURCE_OBJECT = "sourceObject"; TARGET_OBJECT = "targetObject";
This will also try to parse RegistryObjectType values to the map.
association
- the AssociationType1 to be converted into a map, null returns empty MapThis work is licensed under a Creative Commons Attribution 4.0 International License.