using System;
namespace umbraco.interfaces
{
///
/// The IDataType is a interface used for adding a new Data type to the umbraco backoffice.
/// It consists of IdataEditor which provides the Editing UI, the IDataPrevalue which provides prevalues and th their editing UI
/// And finally it contains IData which manages the actual data in the Data Type
///
public interface IDataType
{
///
/// Gets the id.
///
/// The id.
Guid Id {get;}
///
/// Gets the name of the data type.
///
/// The name of the data type.
string DataTypeName{get;}
///
/// Gets the data editor.
///
/// The data editor.
IDataEditor DataEditor{get;}
///
/// Gets the prevalue editor.
///
/// The prevalue editor.
IDataPrevalue PrevalueEditor {get;}
///
/// Gets the data.
///
/// The data.
IData Data{get;}
///
/// Gets or sets the data type definition id.
///
/// The data type definition id.
int DataTypeDefinitionId {set; get;}
}
}