> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class DefaultExternalMetadata

Namespace: [Phoenix.Pacz](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz)\
Assembly: Phoenix.Pacz.dll

Generic implementation of `Phoenix.PaczAPI.IExternalMetadata` that stores, reads, and writes external metadata.

```csharp theme={null}
public class DefaultExternalMetadata : IExternalMetadata

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[DefaultExternalMetadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata)

#### Derived

[LegacyExternalMetadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.LegacyExternalMetadata),
[MinervaExternalMetadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.MinervaExternalMetadata)

#### Implements

[IExternalMetadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.PaczAPI.IExternalMetadata)

#### Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

[DefaultExternalMetadata()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.-ctor.md)

Constructor.

[DefaultExternalMetadata(DefaultExternalMetadata)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.-ctor.md)

Constructor.

## Fields

[METADATA\_FILE\_NAME](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.METADATA_FILE_NAME.md)

The name of the external metadata file.
This must match the constant in DefaultExternalMetadata.java

[\_metadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata._metadata.md)

Internal map of metadata keys and values.

## Properties

[IsReadOnly](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.IsReadOnly.md)

If the PACZ is read only

[Metadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.Metadata.md)

The name-value paris of the external metadata.

[Name](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.Name.md)

The Name of the Metadata

[ReadOnlyReason](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.ReadOnlyReason.md)

Explination of why the component is read only

[SourceUri](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.SourceUri.md)

The Minerva source URI of the Pacz

## Methods

[FromString(string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.FromString.md#fromstring-string)

Creates a `Phoenix.Pacz.DefaultExternalMetadata` object from a JSON serialization of an ExternalMetadata.

[GetMetadataValue(string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.GetMetadataValue.md#getmetadatavalue-string)

Gets the value associated with a specific piece of metadata.

[ToString()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.ToString.md)

Serializes this metadata object as a JSON string.

[WriteToFileAsync(string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.DefaultExternalMetadata.WriteToFileAsync.md#writetofileasync-string)

Writes the external metadata to a file. This does nothing if this does not contain any metadata values.
