public class ReturnFields extends Object implements ReturnFieldsDescriptor
| Constructor and Description |
|---|
ReturnFields()
Creates a new, empty ReturnFields object
|
ReturnFields(ReturnFieldsDescriptor descriptor)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<String> |
getKeysOfCustomFieldsToReturn()
This set contains the keys of what fields in a candidate's custom values should be returned.
|
int |
hashCode() |
boolean |
isReturnAllCustomFields()
If this is true, all information in the candidates custom fields will be returned
|
boolean |
isReturnMatchDescriptor()
If this is true, the information on what candidates fields matched the input will be returned
|
boolean |
isReturnStreetAddressFields()
If this is true, the individual street address fields: address number, street name,
thoroughfare type, pre and post directionals, and street prefix and suffix will be returned if
available.
|
boolean |
isReturnUnitInformation()
If this is true, the unit information attached to a candidate will be returned when available.
|
void |
setKeysOfCustomFieldsToReturn(Set<String> keys)
Define the set containing the keys of what fields in a candidate's custom values should be
returned.
|
void |
setReturnAllCustomFields(boolean bReturn)
Sets whether or not the information on what candidates fields matched the input will be
returned
|
void |
setReturnMatchDescriptor(boolean bReturn)
Sets whether or not all information in the candidates custom fields will be returned
|
void |
setReturnStreetAddressFields(boolean bReturn)
Sets whether or not the individual street address fields: address number, street name,
thoroughfare type, pre and post directionals, and street prefix and suffix will be returned if
available.
|
void |
setReturnUnitInformation(boolean bReturn)
Sets whether or not the unit information attached to a candidate will be returned when
available.
|
String |
toString() |
public ReturnFields()
public ReturnFields(ReturnFieldsDescriptor descriptor)
descriptor - object to copy values frompublic boolean isReturnAllCustomFields()
ReturnFieldsDescriptorisReturnAllCustomFields in interface ReturnFieldsDescriptorpublic void setReturnAllCustomFields(boolean bReturn)
ReturnFieldsDescriptorsetReturnAllCustomFields in interface ReturnFieldsDescriptorbReturn - true if candidate match information should be returnedpublic Set<String> getKeysOfCustomFieldsToReturn()
ReturnFieldsDescriptorgetKeysOfCustomFieldsToReturn in interface ReturnFieldsDescriptorpublic void setKeysOfCustomFieldsToReturn(Set<String> keys)
ReturnFieldsDescriptorsetKeysOfCustomFieldsToReturn in interface ReturnFieldsDescriptorkeys - lists the keys for custom values to be returned with the candidate.public boolean isReturnMatchDescriptor()
ReturnFieldsDescriptorisReturnMatchDescriptor in interface ReturnFieldsDescriptorpublic void setReturnMatchDescriptor(boolean bReturn)
ReturnFieldsDescriptorsetReturnMatchDescriptor in interface ReturnFieldsDescriptorbReturn - true if all custom field information should be returnedpublic boolean isReturnStreetAddressFields()
ReturnFieldsDescriptorisReturnStreetAddressFields in interface ReturnFieldsDescriptorpublic void setReturnStreetAddressFields(boolean bReturn)
ReturnFieldsDescriptorsetReturnStreetAddressFields in interface ReturnFieldsDescriptorbReturn - true if individual street fields should be returnedpublic boolean isReturnUnitInformation()
ReturnFieldsDescriptorisReturnUnitInformation in interface ReturnFieldsDescriptorpublic void setReturnUnitInformation(boolean bReturn)
ReturnFieldsDescriptorsetReturnUnitInformation in interface ReturnFieldsDescriptorbReturn - true if candidate unit type and value should be returnedCopyright © 2024. All rights reserved.