MetadataProperty

Inheritance: java.lang.Object

public class MetadataProperty

Represents a metadata property.

Constructors

Constructor Description
MetadataProperty(String name, PropertyValue value) Initializes a new instance of the MetadataProperty class.

Methods

Method Description
getName() Gets the property name.
getValue() Gets the property value.
getInterpretedValue() Gets the interpreted property value, if available.
getDescriptor() Gets the descriptor associated with the metadata property.
getTags() Gets a collection of tags associated with the property.

MetadataProperty(String name, PropertyValue value)

public MetadataProperty(String name, PropertyValue value)

Initializes a new instance of the MetadataProperty class.

Parameters:

Parameter Type Description
name java.lang.String The name of the metadata property.
value PropertyValue The value of the metadata property.

getName()

public final String getName()

Gets the property name.

Returns: java.lang.String - The property name.

getValue()

public final PropertyValue getValue()

Gets the property value.

Returns: PropertyValue - The property value.

getInterpretedValue()

public final PropertyValue getInterpretedValue()

Gets the interpreted property value, if available. The interpreted value is a user-friendly form of the original property value. For example, it returns a human-readable string instead of numeric flags and ids, if necessary, translates byte arrays to text, etc.

Returns: PropertyValue - The interpreted property value, if available.

getDescriptor()

public final PropertyDescriptor getDescriptor()

Gets the descriptor associated with the metadata property.

Returns: PropertyDescriptor - The descriptor associated with the metadata property.

getTags()

public final IReadOnlyList<PropertyTag> getTags()

Gets a collection of tags associated with the property.

Returns: IReadOnlyList - A collection of tags associated with the property.