Imports DigitalData.Modules.Patterns

Namespace SQLEditor
    Public Class Placeholder
        ''' <summary>
        ''' The internal Category of the placeholder, ie. the INT Part of {#INT#USERNAME}
        ''' </summary>
        Public Property [Module] As String

        ''' <summary>
        ''' The internal Name of the placeholder, ie. the USERNAME Part of {#INT#USERNAME}
        ''' </summary>
        Public Property Name As String

        ''' <summary>
        ''' The Value that this palceholder is replaced by, user entry.
        ''' </summary>
        ''' <returns></returns>
        Public Property Value As String

        ''' <summary>
        ''' The internal pattern object
        ''' </summary>
        ''' <returns></returns>
        Public Property Pattern As Pattern

        Public Title As String
        Public Description As String

        Public Enum PlaceholderType
            FileFlow
        End Enum

        Public Sub New(pTitle As String, pDescription As String, pModule As String, pValue As String)
            Title = pTitle
            Description = pDescription

            Name = pValue
            [Module] = pModule
        End Sub
    End Class

End Namespace