public class OrganizationWebConverter extends RegistryObjectWebConverter
Modifier and Type | Field and Description |
---|---|
static String |
ADDRESS_KEY |
static String |
EMAIL_ADDRESS_KEY |
static String |
PARENT |
static String |
PRIMARY_CONTACT |
static String |
TELEPHONE_KEY |
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 |
---|
OrganizationWebConverter() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
convert(OrganizationType organization)
This method creates a Map
|
convertRegistryObject
public static final String ADDRESS_KEY
public static final String EMAIL_ADDRESS_KEY
public static final String PARENT
public static final String PRIMARY_CONTACT
public static final String TELEPHONE_KEY
public Map<String,Object> convert(OrganizationType organization)
PARENT = "parent"; PRIMARY_CONTACT = "primaryContact"; ADDRESS_KEY = "Address"; EMAIL_ADDRESS_KEY = "EmailAddress"; TELEPHONE_KEY = "TelephoneNumber";
This will also try to parse RegistryObjectType values to the map.
Uses: PostalAddressWebConverter EmailAddressWebConverter TelephoneNumberWebConverter
organization
- the OrganizationType to be converted into a map, null returns empty MapThis work is licensed under a Creative Commons Attribution 4.0 International License.