public interface EditableHeader extends MangoPluginType
Modifier and Type | Interface and Description |
---|---|
static class |
EditableHeader.CodeOption
A CodeOption consists of a code string and human-readable name.
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
anonymize()
Perform anonymization.
|
List<String> |
getAnonymizableFields()
Returns a list of anonymizable fields or null if anonymization is not supported.
|
Map<String,List<String>> |
getEditableFieldValues()
Returns a map of field names to field values.
|
Map<String,List<EditableHeader.CodeOption>> |
getHumanReadableFieldOptions()
Returns a map of field names to lists of human readable code names.
|
boolean |
isTextEditableHeader()
Returns true if this header is text-editable.
|
void |
setEditableFieldValue(String name,
String value,
int index)
Sets a header field.
|
void |
writeHeader()
Write out the header.
|
getMinimumVersionSupported, getPluginName, getPluginURL, getVersion, hasNewerVersion
Map<String,List<String>> getEditableFieldValues()
Map<String,List<EditableHeader.CodeOption>> getHumanReadableFieldOptions()
boolean isTextEditableHeader()
void setEditableFieldValue(String name, String value, int index)
name
- the field namevalue
- the field valueindex
- the field index [this would correspond to the list index used in getEditableFieldValues()]List<String> getAnonymizableFields()
Map<String,List<String>> anonymize()
void writeHeader()