metareader

package
v0.0.0-...-c7e3ea3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandModule             string = "078a6af8-d22c-4248-9c33-7e90075a3d2c"
	ObjectModule              string = "a637f77f-3840-441d-a1c3-699c8c5cb7e0"
	ManagerModule             string = "d1b64a2c-8078-4982-8190-8f81aefda192"
	ManagerModuleStorage      string = "0c8cad23-bf8c-468e-b49e-12f1927c048b"
	FormModule                string = "32e087ab-1491-49b6-aba7-43571b41ac2b"
	RecordSetModule           string = "9f36fd70-4bf4-47f6-b235-935f73aab43f"
	ValueManagerModule        string = "3e58c91f-9aaa-4f42-8999-4baf33907b75"
	ManagedApplicationModule  string = "d22e852a-cf8a-4f77-8ccb-3548e7792bea"
	SessionModule             string = "9b7bbbae-9771-46f2-9e4d-2489e0ffc702"
	ExternalConnectionModule  string = "a4a9c1e2-1e54-4c7f-af06-4ca341198fac"
	OrdinaryApplicationModule string = "a78d9ce3-4e0c-48d5-9863-ae7342eedf94"
	SimpleModule              string = "d5963243-262e-4398-b4d7-fb16d06484f6"
)
View Source
const (
	ManagerModuleFile             string = "ManagerModule.bsl"
	RecordSetModuleFile           string = "RecordSetModule.bsl"
	ObjectModuleFile              string = "ObjectModule.bsl"
	ModuleFile                    string = "Module.bsl"
	CommandModuleFile             string = "CommandModule.bsl"
	ValueManagerModuleFile        string = "ValueManagerModule.bsl"
	ExternalConnectionModuleFile  string = "ExternalConnectionModule.bsl"
	SessionModuleFile             string = "SessionModule.bsl"
	ManagedApplicationModuleFile  string = "ManagedApplicationModule.bsl"
	OrdinaryApplicationModuleFile string = "OrdinaryApplicationModule.bsl"
)

Variables

Functions

This section is empty.

Types

type AccountingRegister

type AccountingRegister struct {
	Data Data `xml:"AccountingRegister"`
}

func (*AccountingRegister) GetData

func (s *AccountingRegister) GetData() Data

func (*AccountingRegister) ReadMetaFile

func (s *AccountingRegister) ReadMetaFile(filename string)

type AccumulationRegister

type AccumulationRegister struct {
	Data Data `xml:"AccumulationRegister"`
}

func (*AccumulationRegister) GetData

func (s *AccumulationRegister) GetData() Data

func (*AccumulationRegister) ReadMetaFile

func (s *AccumulationRegister) ReadMetaFile(filename string)

type BusinessProcess

type BusinessProcess struct {
	Data Data `xml:"BusinessProcess"`
}

func (*BusinessProcess) GetData

func (s *BusinessProcess) GetData() Data

func (*BusinessProcess) ReadMetaFile

func (s *BusinessProcess) ReadMetaFile(filename string)

type CalculationRegister

type CalculationRegister struct {
	Data struct {
		Uuid         string `xml:"uuid,attr"`
		ChildObjects struct {
			Form          []string `xml:"Form"`
			Recalculation []string `xml:"Recalculation"`
			Command       []struct {
				Uuid       string `xml:"uuid,attr"`
				Properties struct {
					Name string `xml:"Name"`
				} `xml:"Properties"`
			}
		}
	} `xml:"CalculationRegister"`
}

type Catalog

type Catalog struct {
	Data Data `xml:"Catalog"`
}

func (*Catalog) GetData

func (s *Catalog) GetData() Data

func (*Catalog) ReadMetaFile

func (s *Catalog) ReadMetaFile(filename string)

type ChartOfAccounts

type ChartOfAccounts struct {
	Data Data `xml:"ChartOfAccounts"`
}

func (*ChartOfAccounts) GetData

func (s *ChartOfAccounts) GetData() Data

func (*ChartOfAccounts) ReadMetaFile

func (s *ChartOfAccounts) ReadMetaFile(filename string)

type ChartOfCalculationTypes

type ChartOfCalculationTypes struct {
	Data Data `xml:"ChartOfCalculationTypes"`
}

func (*ChartOfCalculationTypes) GetData

func (s *ChartOfCalculationTypes) GetData() Data

func (*ChartOfCalculationTypes) ReadMetaFile

func (s *ChartOfCalculationTypes) ReadMetaFile(filename string)

type ChartOfCharacteristicTypes

type ChartOfCharacteristicTypes struct {
	Data Data `xml:"ChartOfCharacteristicTypes"`
}

func (*ChartOfCharacteristicTypes) GetData

func (s *ChartOfCharacteristicTypes) GetData() Data

func (*ChartOfCharacteristicTypes) ReadMetaFile

func (s *ChartOfCharacteristicTypes) ReadMetaFile(filename string)

type CommonCommand

type CommonCommand struct {
	Data Data `xml:"CommonCommand"`
}

func (*CommonCommand) GetData

func (s *CommonCommand) GetData() Data

func (*CommonCommand) ReadMetaFile

func (s *CommonCommand) ReadMetaFile(filename string)

type CommonForm

type CommonForm struct {
	Data struct {
		Uuid string `xml:"uuid,attr"`
	} `xml:"CommonForm"`
}

type CommonModuleObj

type CommonModuleObj struct {
	Data Data `xml:"CommonModule"`
}

func (*CommonModuleObj) GetData

func (s *CommonModuleObj) GetData() Data

func (*CommonModuleObj) ReadMetaFile

func (s *CommonModuleObj) ReadMetaFile(filename string)

type Constant

type Constant struct {
	Data Data `xml:"Constant"`
}

func (*Constant) GetData

func (s *Constant) GetData() Data

func (*Constant) ReadMetaFile

func (s *Constant) ReadMetaFile(filename string)

type Cube

type Cube struct {
	Data Data `xml:"Cube"`
}

func (*Cube) GetData

func (s *Cube) GetData() Data

func (*Cube) ReadMetaFile

func (s *Cube) ReadMetaFile(filename string)

type Data

type Data struct {
	Uuid         string `xml:"uuid,attr"`
	ChildObjects struct {
		Form    []string `xml:"Form"`
		Command []struct {
			Uuid       string `xml:"uuid,attr"`
			Properties struct {
				Name string `xml:"Name"`
			} `xml:"Properties"`
		}
	}
}

func (*Data) GetData

func (s *Data) GetData() Data

func (*Data) ReadMetaFile

func (s *Data) ReadMetaFile(filename string)

type DataProcessor

type DataProcessor struct {
	Data Data `xml:"DataProcessor"`
}

func (*DataProcessor) GetData

func (s *DataProcessor) GetData() Data

func (*DataProcessor) ReadMetaFile

func (s *DataProcessor) ReadMetaFile(filename string)

type DesignerReader

type DesignerReader struct {
	ReaderCommon
	// contains filtered or unexported fields
}

func NewDesignerReader

func NewDesignerReader(src string) *DesignerReader

func (*DesignerReader) CoverData

func (m *DesignerReader) CoverData() *coverData

func (*DesignerReader) Files

func (m *DesignerReader) Files() []string

func (*DesignerReader) Parse

func (m *DesignerReader) Parse()

type Document

type Document struct {
	Data Data `xml:"Document"`
}

func (*Document) GetData

func (s *Document) GetData() Data

func (*Document) ReadMetaFile

func (s *Document) ReadMetaFile(filename string)

type DocumentJournal

type DocumentJournal struct {
	Data Data `xml:"DocumentJournal"`
}

func (*DocumentJournal) GetData

func (s *DocumentJournal) GetData() Data

func (*DocumentJournal) ReadMetaFile

func (s *DocumentJournal) ReadMetaFile(filename string)

type EdtConfiguration

type EdtConfiguration struct {
	Uuid                        string   `xml:"uuid,attr"`
	CommonModules               []string `xml:"commonModules"`
	ExchangePlans               []string `xml:"exchangePlans"`
	FilterCriteria              []string `xml:"filterCriteria"`
	WebServices                 []string `xml:"webServices"`
	HttpServices                []string `xml:"httpServices"`
	CommonCommands              []string `xml:"commonCommands"`
	Constants                   []string `xml:"constants"`
	CommonForms                 []string `xml:"commonForms"`
	Catalogs                    []string `xml:"catalogs"`
	Documents                   []string `xml:"documents"`
	Enums                       []string `xml:"enums"`
	DocumentJournals            []string `xml:"documentJournals"`
	Reports                     []string `xml:"reports"`
	InformationRegisters        []string `xml:"informationRegisters"`
	AccumulationRegisters       []string `xml:"accumulationRegisters"`
	ChartsOfCharacteristicTypes []string `xml:"chartsOfCharacteristicTypes"`
	ChartsOfAccounts            []string `xml:"chartsOfAccounts"`
	AccountingRegisters         []string `xml:"accountingRegisters"`
	ChartsOfCalculationTypes    []string `xml:"chartsOfCalculationTypes"`
	CalculationRegisters        []string `xml:"calculationRegisters"`
	BusinessProcesses           []string `xml:"businessProcesses"`
	Tasks                       []string `xml:"tasks"`
	ExternalDataSources         []string `xml:"externalDataSources"`
}

type EdtReader

type EdtReader struct {
	ReaderCommon
	// contains filtered or unexported fields
}

func NewEdtReader

func NewEdtReader(src string) *EdtReader

func (*EdtReader) CoverData

func (r *EdtReader) CoverData() *coverData

func (*EdtReader) Files

func (m *EdtReader) Files() []string

func (*EdtReader) Parse

func (m *EdtReader) Parse()

type Enum

type Enum struct {
	Data Data `xml:"Enum"`
}

func (*Enum) GetData

func (s *Enum) GetData() Data

func (*Enum) ReadMetaFile

func (s *Enum) ReadMetaFile(filename string)

type ExchangePlan

type ExchangePlan struct {
	Data Data `xml:"ExchangePlan"`
}

func (*ExchangePlan) GetData

func (s *ExchangePlan) GetData() Data

func (*ExchangePlan) ReadMetaFile

func (s *ExchangePlan) ReadMetaFile(filename string)

type ExternalDataSource

type ExternalDataSource struct {
	Data struct {
		Uuid         string `xml:"uuid,attr"`
		ChildObjects struct {
			Table []string `xml:"Table"`
			Cube  []string `xml:"Cube"`
		}
	} `xml:"ExternalDataSource"`
}

type FilterCriterion

type FilterCriterion struct {
	Data Data `xml:"FilterCriterion"`
}

func (*FilterCriterion) GetData

func (s *FilterCriterion) GetData() Data

func (*FilterCriterion) ReadMetaFile

func (s *FilterCriterion) ReadMetaFile(filename string)

type Form

type Form struct {
	Data struct {
		Uuid string `xml:"uuid,attr"`
	} `xml:"Form"`
}

type HTTPService

type HTTPService struct {
	Data Data `xml:"HTTPService"`
}

func (*HTTPService) GetData

func (s *HTTPService) GetData() Data

func (*HTTPService) ReadMetaFile

func (s *HTTPService) ReadMetaFile(filename string)

type InformationRegister

type InformationRegister struct {
	Data Data `xml:"InformationRegister"`
}

func (*InformationRegister) GetData

func (s *InformationRegister) GetData() Data

func (*InformationRegister) ReadMetaFile

func (s *InformationRegister) ReadMetaFile(filename string)

type Meta

type Meta struct {
	Uuid string `xml:"uuid,attr"`
	Name string `xml:"name"`
}

type Metareader

type Metareader struct {
	ReaderCommon
	Reader Reader
}

func New

func New(confpath string) *Metareader

func (*Metareader) CoverData

func (m *Metareader) CoverData() *coverData

func (*Metareader) ParseMeta

func (m *Metareader) ParseMeta()

type Module

type Module struct {
	ModuleUuid string
	ModuleType string
}

type Reader

type Reader interface {
	Parse()
	Files() []string
	CoverData() *coverData
}

type ReaderCommon

type ReaderCommon struct {
	// contains filtered or unexported fields
}

type Report

type Report struct {
	Data Data `xml:"Report"`
}

func (*Report) GetData

func (s *Report) GetData() Data

func (*Report) ReadMetaFile

func (s *Report) ReadMetaFile(filename string)

type SettingsStorage

type SettingsStorage struct {
	Data Data `xml:"SettingsStorage"`
}

func (*SettingsStorage) GetData

func (s *SettingsStorage) GetData() Data

func (*SettingsStorage) ReadMetaFile

func (s *SettingsStorage) ReadMetaFile(filename string)

type Table

type Table struct {
	Data Data `xml:"Table"`
}

func (*Table) GetData

func (s *Table) GetData() Data

func (*Table) ReadMetaFile

func (s *Table) ReadMetaFile(filename string)

type Task

type Task struct {
	Data Data `xml:"Task"`
}

func (*Task) GetData

func (s *Task) GetData() Data

func (*Task) ReadMetaFile

func (s *Task) ReadMetaFile(filename string)

type WebService

type WebService struct {
	Data Data `xml:"WebService"`
}

func (*WebService) GetData

func (s *WebService) GetData() Data

func (*WebService) ReadMetaFile

func (s *WebService) ReadMetaFile(filename string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL