MetadataItem
Leave feedback
On this page
Inheritance: java.lang.Object
public class MetadataItem
Represents an item of metadata, common for all supported formats and used in metadata redactions.
| Constructor | Description |
|---|---|
| MetadataItem() | Initializes a new instance. |
| Method | Description |
|---|---|
| getOriginalName() | Gets an original name of the metadata item, as it appears in the document. |
| setOriginalName(String value) | Sets an original name of the metadata item, as it appears in the document. |
| getCategory() | Gets a category of the metadata item, for example resource ID for an embedded resource metadata item. |
| setCategory(String value) | Sets a category of the metadata item, for example resource ID for an embedded resource metadata item. |
| getFilter() | Gets a value of MetadataFilters , assigned to this metadata item which is used in item filtration. |
| setFilter(int value) | Sets a value of MetadataFilters , assigned to this metadata item which is used in item filtration. |
| getValues() | Gets the metadata item value. |
| setValues(List |
Sets the metadata item value. |
| isCustom() | Gets a value indicating whether this item is custom (added by the authors of the document). |
| setCustom(boolean value) | Sets a value indicating whether this item is custom (added by the authors of the document). |
| getDictionaryKey() | Gets a dictionary key for , using its OriginalName and other data. |
| createClone() | Creates a deep clone of current instance. |
| getActualValue() | Gets the string representation of the metadata item value. |
public MetadataItem()
Initializes a new instance.
public final String getOriginalName()
Gets an original name of the metadata item, as it appears in the document.
Returns: java.lang.String - An original name of the metadata item, as it appears in the document.
public final void setOriginalName(String value)
Sets an original name of the metadata item, as it appears in the document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | An original name of the metadata item, as it appears in the document. |
public final String getCategory()
Gets a category of the metadata item, for example resource ID for an embedded resource metadata item.
Returns: java.lang.String - A category of the metadata item, for example resource ID for an embedded resource metadata item.
public final void setCategory(String value)
Sets a category of the metadata item, for example resource ID for an embedded resource metadata item.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | A category of the metadata item, for example resource ID for an embedded resource metadata item. |
public final int getFilter()
Gets a value of MetadataFilters , assigned to this metadata item which is used in item filtration.
Returns: int - A value of MetadataFilters , assigned to this metadata item which is used in item filtration.
public final void setFilter(int value)
Sets a value of MetadataFilters , assigned to this metadata item which is used in item filtration.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | A value of MetadataFilters , assigned to this metadata item which is used in item filtration. |
public final List<String> getValues()
Gets the metadata item value.
Returns: java.util.List<java.lang.String> - The metadata item value.
public final void setValues(List<String> value)
Sets the metadata item value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.List<java.lang.String> | The metadata item value. |
public final boolean isCustom()
Gets a value indicating whether this item is custom (added by the authors of the document).
Returns: boolean - A value indicating whether this item is custom (added by the authors of the document).
public final void setCustom(boolean value)
Sets a value indicating whether this item is custom (added by the authors of the document).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | A value indicating whether this item is custom (added by the authors of the document). |
public String getDictionaryKey()
Gets a dictionary key for , using its OriginalName and other data.
Returns: java.lang.String - A dictionary key for , using its OriginalName and other data.
public MetadataItem createClone()
Creates a deep clone of current instance.
Returns: MetadataItem - Object clone
public final String getActualValue()
Gets the string representation of the metadata item value.
Returns: java.lang.String - The string representation of the metadata item value.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.