using System;

namespace QC.QsprTestObjects.Metadata;

[Serializable]
public class MetadataItem
{
	public enum MetadataType
	{
		TestParameter,
		GlobalVariable
	}

	public string Name { get; set; }

	public MetadataType Type { get; set; }

	public string SourceName { get; set; }

	public int ArrayIndex { get; set; }

	public string TestIndex { get; set; }

	public MetadataItem()
	{
		ArrayIndex = -1;
	}

	public MetadataItem Clone()
	{
		MetadataItem metadataItem = new MetadataItem();
		metadataItem.Name = Name;
		metadataItem.Type = Type;
		metadataItem.SourceName = SourceName;
		metadataItem.ArrayIndex = ArrayIndex;
		metadataItem.TestIndex = TestIndex;
		return metadataItem;
	}
}
