public class MetadataProperty extends Object
Represents a metadata property.
| Constructor and Description |
|---|
MetadataProperty(String name,
PropertyValue value)
Initializes a new instance of the
MetadataProperty class. |
| Modifier and Type | Method and Description |
|---|---|
PropertyDescriptor |
getDescriptor()
Gets the descriptor associated with the metadata property.
|
PropertyValue |
getInterpretedValue()
Gets the interpreted property value, if available.
|
String |
getName()
Gets the property name.
|
IReadOnlyList<PropertyTag> |
getTags()
Gets a collection of tags associated with the property.
|
PropertyValue |
getValue()
Gets the property value.
|
public MetadataProperty(String name, PropertyValue value)
Initializes a new instance of the MetadataProperty class.
name - The name of the metadata property.value - The value of the metadata property.public final PropertyDescriptor getDescriptor()
Gets the descriptor associated with the metadata property.
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.
public final String getName()
Gets the property name.
public final IReadOnlyList<PropertyTag> getTags()
Gets a collection of tags associated with the property.
public final PropertyValue getValue()
Gets the property value.
Copyright © 2025. All rights reserved.