Documentation ¶
Index ¶
- Constants
- Variables
- func Unpack(cfg UnpackConfig, filename string, value interface{}) error
- type Attribute
- type AttributeType
- type AttributeTypedValue
- type Catalog
- type Command
- type CommonModule
- type CommonTemplates
- type Configuration
- type ConfigurationChildObjects
- type ConfigurationProperties
- type ContainedObject
- type Document
- type Form
- type Language
- type MDOBaseType
- type MDOProducedTypes
- type MDORef
- type MDOType
- type MDOTypeRef
- func (m MDOTypeRef) Dir() string
- func (m MDOTypeRef) Empty() bool
- func (m MDOTypeRef) Filename() string
- func (m MDOTypeRef) IsNull() bool
- func (m MDOTypeRef) MarshalText() ([]byte, error)
- func (m MDOTypeRef) Parent() MDORef
- func (m MDOTypeRef) Ref() string
- func (m MDOTypeRef) String() string
- func (m MDOTypeRef) Type() MDOType
- func (m *MDOTypeRef) UnmarshalText(text []byte) error
- func (m MDOTypeRef) Unpack(cfg UnpackConfig, value interface{}) error
- type MDOTypeRefList
- type MobileApplicationFunctionalities
- type MobileApplicationFunctionality
- type ObjectKeyValueType
- type ObjectTypeRef
- type StandardAttribute
- type Subsystem
- type SubsystemChildSubsystems
- type TabularSection
- type TabularSectionProducedTypes
- type UnpackConfig
- type Unpacker
Constants ¶
View Source
const ConfigurationFile = "Configuration.mdo"
View Source
const ExtMdo = ".mdo"
Variables ¶
View Source
var NoNameFile = errors.New("no name unpack config")
Functions ¶
func Unpack ¶
func Unpack(cfg UnpackConfig, filename string, value interface{}) error
Types ¶
type Attribute ¶ added in v0.0.7
type Attribute struct { Uuid string `xml:"uuid,attr"` Name string `xml:"name"` Synonym ObjectKeyValueType `xml:"synonym"` Comment string `xml:"comment"` Type AttributeType `xml:"type"` ToolTip ObjectKeyValueType `xml:"toolTip"` MinValue AttributeTypedValue `xml:"minValue"` MaxValue AttributeTypedValue `xml:"maxValue"` FillChecking string `xml:"fillChecking"` QuickChoice string `xml:"quickChoice"` CreateOnInput string `xml:"createOnInput"` FillValue AttributeTypedValue `xml:"fillValue"` Indexing string `xml:"indexing"` FullTextSearch string `xml:"fullTextSearch"` Use string `xml:"use"` DataHistory string `xml:"dataHistory"` Format ObjectKeyValueType `xml:"format"` EditFormat ObjectKeyValueType `xml:"editFormat"` Mask string `xml:"mask"` MultiLine string `xml:"multiLine"` }
Attribute - Реквизиты
type AttributeType ¶ added in v0.0.7
type AttributeType struct { Types string `xml:"types"` NumberQualifiers struct { Precision string `xml:"precision"` } `xml:"numberQualifiers"` StringQualifiers struct { Length string `xml:"length"` } `xml:"stringQualifiers"` DateQualifiers struct { DateFractions string `xml:"dateFractions"` } `xml:"dateQualifiers"` }
AttributeType - тип реквизита
type AttributeTypedValue ¶ added in v0.0.7
AttributeTypedValue - значение реквизитов
type Catalog ¶ added in v0.0.2
type Catalog struct { MDOBaseType XMLName xml.Name `xml:"Catalog"` ProducedTypes MDOProducedTypes `xml:"producedTypes"` InputByString string `xml:"inputByString"` FullTextSearchOnInputByString string `xml:"fullTextSearchOnInputByString"` StandardAttributes []StandardAttribute `xml:"standardAttributes"` CreateOnInput string `xml:"createOnInput"` DataLockControlMode string `xml:"dataLockControlMode"` FullTextSearch string `xml:"fullTextSearch"` ObjectPresentation ObjectKeyValueType `xml:"objectPresentation"` Hierarchical string `xml:"hierarchical"` LevelCount string `xml:"levelCount"` FoldersOnTop string `xml:"foldersOnTop"` DescriptionLength string `xml:"descriptionLength"` CodeType string `xml:"codeType"` CodeAllowedLength string `xml:"codeAllowedLength"` DefaultPresentation string `xml:"defaultPresentation"` EditType string `xml:"editType"` ChoiceMode string `xml:"choiceMode"` Attributes []Attribute `xml:"attributes"` TabularSections []TabularSection `xml:"tabularSections"` }
type Command ¶ added in v0.0.7
type Command struct { MDOBaseType Group string `xml:"group"` Representation string `xml:"representation"` }
type CommonModule ¶ added in v0.0.7
type CommonModule struct { MDOBaseType Comment string `xml:"comment"` Global bool `xml:"global"` ClientManagedApplication bool `xml:"clientManagedApplication"` Server bool `xml:"server"` ExternalConnection bool `xml:"externalConnection"` ClientOrdinaryApplication bool `xml:"clientOrdinaryApplication"` Client bool `xml:"client"` ServerCall bool `xml:"serverCall"` Privileged bool `xml:"privileged"` ReturnValuesReuse string `xml:"returnValuesReuse"` }
CommonModule ...
type CommonTemplates ¶ added in v0.0.7
type CommonTemplates struct { MDOBaseType XMLName xml.Name `xml:"CommonTemplate"` TemplateType string `xml:"templateType"` Comment string `xml:"comment"` }
type Configuration ¶
type Configuration struct { MDOBaseType XMLName xml.Name `xml:"mdclass Configuration"` ContainedObjects []ContainedObject `xml:"containedObjects,allowempty"` ConfigurationProperties Languages []*Language `xml:"languages"` Subsystems []*Subsystem `xml:"-"` // StyleItems []MDOTypeRef `xml:"styleItems"` // CommonPictures []MDOTypeRef `xml:"commonPictures"` // SessionParameters []MDOTypeRef `xml:"sessionParameters"` // Roles []MDOTypeRef `xml:"roles"` CommonTemplates []*CommonTemplates `xml:"-"` // FilterCriteria []MDOTypeRef `xml:"filterCriteria"` CommonModules []*CommonModule `xml:"-"` // CommonAttributes []MDOTypeRef `xml:"commonAttributes"` // ExchangePlans []MDOTypeRef `xml:"exchangePlans"` // XDTOPackages []MDOTypeRef `xml:"xDTOPackages"` // WebServices []MDOTypeRef `xml:"webServices"` // HttpServices []MDOTypeRef `xml:"httpServices"` // WsReferences []MDOTypeRef `xml:"wsReferences"` // EventSubscriptions []MDOTypeRef `xml:"eventSubscriptions"` // ScheduledJobs []MDOTypeRef `xml:"scheduledJobs"` // SettingsStorages []MDOTypeRef `xml:"settingsStorages"` // FunctionalOptions []MDOTypeRef `xml:"functionalOptions"` // FunctionalOptionsParameters []MDOTypeRef `xml:"functionalOptionsParameters"` // DefinedTypes []MDOTypeRef `xml:"definedTypes"` // CommonCommands []MDOTypeRef `xml:"commonCommands"` // CommandGroups []MDOTypeRef `xml:"commandGroups"` // Constants []MDOTypeRef `xml:"constants"` // CommonForms []MDOTypeRef `xml:"commonForms"` // CatalogsNames []MDOTypeRef `xml:"catalogs"` Catalogs []*Catalog `xml:"-"` Documents []*Document `xml:"-"` // DocumentNumerators []MDOTypeRef `xml:"documentNumerators"` // DocumentJournals []MDOTypeRef `xml:"documentJournals"` // Enums []MDOTypeRef `xml:"enums"` // Reports []MDOTypeRef `xml:"reports"` // DataProcessors []MDOTypeRef `xml:"dataProcessors"` // InformationRegisters []MDOTypeRef `xml:"informationRegisters"` // AccumulationRegisters []MDOTypeRef `xml:"accumulationRegisters"` // ChartsOfCharacteristicTypes []MDOTypeRef `xml:"chartsOfCharacteristicTypes"` // BusinessProcesses []MDOTypeRef `xml:"businessProcesses"` // Tasks []MDOTypeRef `xml:"tasks"` ConfigurationChildObjects // contains filtered or unexported fields }
func UnpackConfiguration ¶
func UnpackConfiguration(dir string) (Configuration, error)
func (*Configuration) Unpack ¶
func (conf *Configuration) Unpack(cfg UnpackConfig) error
type ConfigurationChildObjects ¶ added in v0.0.5
type ConfigurationChildObjects struct { Subsystems MDOTypeRefList `xml:"subsystems"` StyleItems MDOTypeRefList `xml:"styleItems"` Styles MDOTypeRefList `xml:"styles"` CommonPictures MDOTypeRefList `xml:"commonPictures"` SessionParameters MDOTypeRefList `xml:"sessionParameters"` Roles MDOTypeRefList `xml:"roles"` CommonTemplates MDOTypeRefList `xml:"commonTemplates"` FilterCriteria MDOTypeRefList `xml:"filterCriteria"` CommonModules MDOTypeRefList `xml:"commonModules"` CommonAttributes MDOTypeRefList `xml:"commonAttributes"` ExchangePlans MDOTypeRefList `xml:"exchangePlans"` XDTOPackages MDOTypeRefList `xml:"xDTOPackages"` WebServices MDOTypeRefList `xml:"webServices"` HttpServices MDOTypeRefList `xml:"httpServices"` WsReferences MDOTypeRefList `xml:"wsReferences"` EventSubscriptions MDOTypeRefList `xml:"eventSubscriptions"` ScheduledJobs MDOTypeRefList `xml:"scheduledJobs"` SettingsStorages MDOTypeRefList `xml:"settingsStorages"` FunctionalOptions MDOTypeRefList `xml:"functionalOptions"` FunctionalOptionsParameters MDOTypeRefList `xml:"functionalOptionsParameters"` DefinedTypes MDOTypeRefList `xml:"definedTypes"` CommonCommands MDOTypeRefList `xml:"commonCommands"` CommandGroups MDOTypeRefList `xml:"commandGroups"` Constants MDOTypeRefList `xml:"constants"` CommonForms MDOTypeRefList `xml:"commonForms"` Catalogs MDOTypeRefList `xml:"catalogs"` Documents MDOTypeRefList `xml:"documents"` DocumentNumerators MDOTypeRefList `xml:"documentNumerators"` Sequences MDOTypeRefList `xml:"sequences"` DocumentJournals MDOTypeRefList `xml:"documentJournals"` Enums MDOTypeRefList `xml:"enums"` Reports MDOTypeRefList `xml:"reports"` DataProcessors MDOTypeRefList `xml:"dataProcessors"` InformationRegisters MDOTypeRefList `xml:"informationRegisters"` AccumulationRegisters MDOTypeRefList `xml:"accumulationRegisters"` ChartsOfCharacteristicTypes MDOTypeRefList `xml:"chartsOfCharacteristicTypes"` ChartsOfAccounts MDOTypeRefList `xml:"chartsOfAccounts"` AccountingRegisters MDOTypeRefList `xml:"accountingRegisters"` ChartsOfCalculationTypes MDOTypeRefList `xml:"chartsOfCalculationTypes"` CalculationRegisters MDOTypeRefList `xml:"calculationRegisters"` BusinessProcesses MDOTypeRefList `xml:"businessProcesses"` Tasks MDOTypeRefList `xml:"tasks"` WebService MDOTypeRefList `xml:"serviceService"` WSReference MDOTypeRefList `xml:"wsReferenceReference"` XDTOPackage MDOTypeRefList `xml:"xdtoPackage"` }
type ConfigurationProperties ¶ added in v0.0.7
type ConfigurationProperties struct { ConfigurationExtensionCompatibilityMode string `xml:"configurationExtensionCompatibilityMode,omitempty"` DefaultRunMode string `xml:"defaultRunMode,omitempty"` UsePurposes []string `xml:"usePurposes,omitempty"` ScriptVariant string `xml:"scriptVariant,omitempty"` Vendor string `xml:"vendor,omitempty"` Version string `xml:"version,omitempty"` UpdateCatalogAddress string `xml:"updateCatalogAddress,omitempty"` UseManagedFormInOrdinaryApplication string `xml:"useManagedFormInOrdinaryApplication,omitempty"` UseOrdinaryFormInManagedApplication string `xml:"useOrdinaryFormInManagedApplication,omitempty"` DefaultRoles MDOTypeRefList `xml:"defaultRoles,omitempty"` ReportsVariantsStorage string `xml:"reportsVariantsStorage,omitempty"` DefaultReportForm MDOTypeRef `xml:"defaultReportForm,omitempty"` DefaultReportVariantForm MDOTypeRef `xml:"defaultReportVariantForm,omitempty"` DefaultReportSettingsForm MDOTypeRef `xml:"defaultReportSettingsForm,omitempty"` DefaultSearchForm MDOTypeRef `xml:"defaultSearchForm,omitempty"` UsedMobileApplicationFunctionalities *MobileApplicationFunctionalities `xml:"usedMobileApplicationFunctionalities,omitempty"` RequiredMobileApplicationPermissions []string `xml:"requiredMobileApplicationPermissions,omitempty"` MainSectionPicture string `xml:"mainSectionPicture,omitempty"` DefaultLanguage MDOTypeRef `xml:"defaultLanguage,omitempty"` BriefInformation ObjectKeyValueType `xml:"briefInformation,omitempty"` DetailedInformation ObjectKeyValueType `xml:"detailedInformation,omitempty"` Splash string `xml:"splash,omitempty"` Copyright ObjectKeyValueType `xml:"copyright,omitempty"` VendorInformationAddress ObjectKeyValueType `xml:"vendorInformationAddress,omitempty"` ConfigurationInformationAddress ObjectKeyValueType `xml:"configurationInformationAddress,omitempty"` DataLockControlMode string `xml:"dataLockControlMode,omitempty"` ObjectAutonumerationMode string `xml:"objectAutonumerationMode,omitempty"` SynchronousExtensionAndAddInCallUseMode string `xml:"synchronousExtensionAndAddInCallUseMode,omitempty"` SynchronousPlatformExtensionAndAddInCallUseMode string `xml:"synchronousPlatformExtensionAndAddInCallUseMode,omitempty"` ModalityUseMode string `xml:"modalityUseMode,omitempty"` InterfaceCompatibilityMode string `xml:"interfaceCompatibilityMode,omitempty"` CompatibilityMode string `xml:"compatibilityMode,omitempty"` }
type ContainedObject ¶ added in v0.0.5
type Document ¶ added in v0.0.2
type Document struct { MDOBaseType XMLName xml.Name `xml:"Document"` ProducedTypes MDOProducedTypes `xml:"producedTypes"` UseStandardCommands bool `xml:"useStandardCommands"` InputByString MDOTypeRef `xml:"inputByString"` FullTextSearchOnInputByString string `xml:"fullTextSearchOnInputByString"` CreateOnInput string `xml:"createOnInput"` DataLockControlMode string `xml:"dataLockControlMode"` FullTextSearch string `xml:"fullTextSearch"` NumberType string `xml:"numberType"` NumberLength string `xml:"numberLength"` NumberAllowedLength string `xml:"numberAllowedLength"` CheckUnique bool `xml:"checkUnique"` Autonumbering bool `xml:"autonumbering"` DefaultObjectForm MDOTypeRef `xml:"defaultObjectForm"` DefaultListForm MDOTypeRef `xml:"defaultListForm"` DefaultChoiceForm MDOTypeRef `xml:"defaultChoiceForm"` RegisterRecords MDOTypeRefList `xml:"registerRecords"` PostInPrivilegedMode bool `xml:"postInPrivilegedMode"` UnpostInPrivilegedMode bool `xml:"unpostInPrivilegedMode"` StandardAttributes []StandardAttribute `xml:"standardAttributes"` Attributes []Attribute `xml:"attributes"` Forms []Form `xml:"forms"` TabularSections []TabularSection `xml:"tabularSections"` Commands []Command `xml:"commands"` }
type Form ¶ added in v0.0.7
type Form struct { MDOBaseType UsePurposes []string `xml:"usePurposes"` }
type Language ¶ added in v0.0.5
type Language struct { Uuid string `xml:"uuid,attr"` Name string `xml:"name"` Synonym []ObjectKeyValueType `xml:"synonym"` LanguageCode string `xml:"languageCode"` }
type MDOBaseType ¶ added in v0.0.5
type MDOProducedTypes ¶ added in v0.0.7
type MDOProducedTypes struct { ObjectType ObjectTypeRef `xml:"objectType"` RefType ObjectTypeRef `xml:"refType"` SelectionType ObjectTypeRef `xml:"selectionType"` ListType ObjectTypeRef `xml:"listType"` ManagerType ObjectTypeRef `xml:"managerType"` }
MDOProducedTypes - описание типов объекта метаданных
type MDOType ¶ added in v0.0.5
type MDOType string
const ( UNKNOWN MDOType = "" REF MDOType = "_RefType_" ACCOUNTING_REGISTER MDOType = "AccountingRegister" ACCUMULATION_REGISTER MDOType = "AccumulationRegister" // "AccumulationRegisters", "РегистрНакопления", "РегистрыНакопления"), BUSINESS_PROCESS MDOType = "BusinessProcess" // "BusinessProcesses", "БизнесПроцесс", "БизнесПроцессы"), CALCULATION_REGISTER MDOType = "CalculationRegister" //, "CalculationRegisters", "РегистрРасчета", "РегистрыРасчета"), CATALOG MDOType = "Catalog" //, "Catalogs", "Справочник", "Справочники"), CHART_OF_ACCOUNTS MDOType = "ChartOfAccounts" //, "ChartsOfAccounts", "ПланСчетов", "ПланыСчетов"), CHART_OF_CALCULATION_TYPES MDOType = "ChartOfCalculationTypes" //, "ChartsOfCalculationTypes", "ПланВидовРасчета", "ПланыВидовРасчета"), CHART_OF_CHARACTERISTIC_TYPES MDOType = "ChartOfCharacteristicTypes" //, "ChartsOfCharacteristicTypes", "ПланВидовХарактеристик", "ПланыВидовХарактеристик"), COMMAND_GROUP MDOType = "CommandGroup" //, "CommandGroups", "ГруппаКоманд", "ГруппыКоманд"), COMMON_ATTRIBUTE MDOType = "CommonAttribute" //, "CommonAttributes", "ОбщийРеквизит", "ОбщиеРеквизиты"), COMMON_COMMAND MDOType = "CommonCommand" //, "CommonCommands", "ОбщаяКоманда", "ОбщиеКоманды"), COMMON_FORM MDOType = "CommonForm" //, "CommonForms", "ОбщаяФорма", "ОбщиеФормы"), COMMON_MODULE MDOType = "CommonModule" //, "CommonModules", "ОбщийМодуль", "ОбщиеМодули"), COMMON_PICTURE MDOType = "CommonPicture" //, "CommonPictures", "ОбщаяКартинка", "ОбщиеКартинки"), COMMON_TEMPLATE MDOType = "CommonTemplate" //, "CommonTemplates", "ОбщийМакет", "ОбщиеМакеты"), CONFIGURATION MDOType = "Configuration" //, "", "Конфигурация", ""), CONSTANT MDOType = "Constant" //, "Constants", "Константа", "Константы"), DATA_PROCESSOR MDOType = "DataProcessor" //, "DataProcessors", "Обработка", "Обработки"), DEFINED_TYPE MDOType = "DefinedType" //, "DefinedTypes", "ОпределяемыйТип", "ОпределяемыеТипы"), DOCUMENT_JOURNAL MDOType = "DocumentJournal" //, "DocumentJournals", "ЖурналДокументов", "ЖурналыДокументов"), DOCUMENT_NUMERATOR MDOType = "DocumentNumerator" //, "DocumentNumerators", "Нумератор", "Нумераторы"), DOCUMENT MDOType = "Document" //, "Documents", "Документ", "Документы"), ENUM MDOType = "Enum" //, "Enums", "Перечисление", "Перечисления"), EVENT_SUBSCRIPTION MDOType = "EventSubscription" //, "EventSubscriptions", "ПодпискаНаСобытие", "ПодпискиНаСобытия"), EXCHANGE_PLAN MDOType = "ExchangePlan" //, "ExchangePlans", "ПланОбмена", "ПланыОбмена"), FILTER_CRITERION MDOType = "FilterCriterion" //, "FilterCriteria", "КритерийОтбора", "КритерииОтбора"), FUNCTIONAL_OPTION MDOType = "FunctionalOption" //, "FunctionalOptions", "ФункциональнаяОпция", "ФункциональныеОпции"), FUNCTIONAL_OPTIONS_PARAMETER MDOType = "FunctionalOptionsParameter" //, "FunctionalOptionsParameters", "ПараметрФункциональныхОпций", "ПараметрыФункциональныхОпций"), HTTP_SERVICE MDOType = "HTTPService" //, "HTTPServices", "HTTPСервис", "HTTPСервисы"), INFORMATION_REGISTER MDOType = "InformationRegister" //, "InformationRegisters", "РегистрСведений", "РегистрыСведений"), INTERFACE MDOType = "Interface" //, "Interfaces", "Интерфейс", "Интерфейсы"), LANGUAGE MDOType = "Language" //, "Languages", "Язык", "Языки"), REPORT MDOType = "Report" //, "Reports", "Отчет", "Отчеты"), ROLE MDOType = "Role" //, "Roles", "Роль", "Роли"), SCHEDULED_JOB MDOType = "ScheduledJob" //, "ScheduledJobs", "РегламентноеЗадание", "РегламентныеЗадания"), SEQUENCE MDOType = "Sequence" //, "Sequences", "Последовательность", "Последовательности"), SESSION_PARAMETER MDOType = "SessionParameter" //, "SessionParameters", "ПараметрСеанса", "ПараметрыСеанса"), SETTINGS_STORAGE MDOType = "SettingsStorage" //, "SettingsStorages", "ХранилищеНастроек", "ХранилищаНастроек"), STYLE_ITEM MDOType = "StyleItem" //, "StyleItems", "ЭлементСтиля", "ЭлементыСтиля"), STYLE MDOType = "Style" //, "Styles", "Стиль", "Стили"), SUBSYSTEM MDOType = "Subsystem" //, "Subsystems", "Подсистема", "Подсистемы"), TASK MDOType = "Task" //, "Tasks", "Задача", "Задачи"), WEB_SERVICE MDOType = "WebService" //, "WebServices", "WebСервис", "WebСервисы"), WS_REFERENCE MDOType = "WSReference" //, "WSReferences", "WSСсылка", "WSСсылки"), XDTO_PACKAGE MDOType = "XDTOPackage" //, "XDTOPackages", "ПакетXDTO", "ПакетыXDTO"), FORM MDOType = "Form" //, "Forms", "Форма", "Формы"), COMMAND MDOType = "Command" //, "Commands", "Команда", "Команды"), TEMPLATE MDOType = "Template" //, "Templates", "Макет", "Макеты"), ATTRIBUTE MDOType = "Attribute" //, "Attributes", "Реквизит", "Реквизиты"), RECALCULATION MDOType = "Recalculation" //, "Recalculations", "Перерасчет", "Перерасчеты"), WS_OPERATION MDOType = "Operation" //, "Operations", "Операция", "Операции"), HTTP_SERVICE_URL_TEMPLATE MDOType = "URLTemplate" //, "URLTemplates", "ШаблонURL", "ШаблоныURL"), HTTP_SERVICE_METHOD MDOType = "Method" //, "Methods", "Метод", "Методы"), )
func (MDOType) MarshalText ¶ added in v0.0.5
func (*MDOType) UnmarshalText ¶ added in v0.0.5
type MDOTypeRef ¶ added in v0.0.5
type MDOTypeRef struct {
// contains filtered or unexported fields
}
func NewMDOTypeRefFromString ¶ added in v0.0.7
func NewMDOTypeRefFromString(raw string) MDOTypeRef
func (MDOTypeRef) Dir ¶ added in v0.0.7
func (m MDOTypeRef) Dir() string
func (MDOTypeRef) Empty ¶ added in v0.0.7
func (m MDOTypeRef) Empty() bool
func (MDOTypeRef) Filename ¶ added in v0.0.7
func (m MDOTypeRef) Filename() string
func (MDOTypeRef) IsNull ¶ added in v0.0.5
func (m MDOTypeRef) IsNull() bool
func (MDOTypeRef) MarshalText ¶ added in v0.0.5
func (m MDOTypeRef) MarshalText() ([]byte, error)
func (MDOTypeRef) Parent ¶ added in v0.0.5
func (m MDOTypeRef) Parent() MDORef
func (MDOTypeRef) Ref ¶ added in v0.0.5
func (m MDOTypeRef) Ref() string
func (MDOTypeRef) String ¶ added in v0.0.5
func (m MDOTypeRef) String() string
func (MDOTypeRef) Type ¶ added in v0.0.5
func (m MDOTypeRef) Type() MDOType
func (*MDOTypeRef) UnmarshalText ¶ added in v0.0.5
func (m *MDOTypeRef) UnmarshalText(text []byte) error
func (MDOTypeRef) Unpack ¶ added in v0.0.7
func (m MDOTypeRef) Unpack(cfg UnpackConfig, value interface{}) error
type MDOTypeRefList ¶ added in v0.0.7
type MDOTypeRefList []MDOTypeRef
func (MDOTypeRefList) Unpack ¶ added in v0.0.7
func (e MDOTypeRefList) Unpack(cfg UnpackConfig, value interface{}) error
type MobileApplicationFunctionalities ¶ added in v0.0.7
type MobileApplicationFunctionalities struct {
Functionality []MobileApplicationFunctionality `xml:"functionality,omitempty"`
}
type MobileApplicationFunctionality ¶ added in v0.0.7
type ObjectKeyValueType ¶ added in v0.0.4
type ObjectKeyValueType struct { Key string `xml:"key,omitempty"` Value string `xml:"value,omitempty"` }
func (ObjectKeyValueType) IsNull ¶ added in v0.0.4
func (v ObjectKeyValueType) IsNull() bool
type ObjectTypeRef ¶ added in v0.0.2
type StandardAttribute ¶ added in v0.0.7
type StandardAttribute struct { Name string `xml:"name"` DataHistory string `xml:"dataHistory"` FillValue AttributeTypedValue `xml:"fillValue"` FullTextSearch string `xml:"fullTextSearch"` MinValue AttributeTypedValue `xml:"minValue"` MaxValue AttributeTypedValue `xml:"maxValue"` FillFromFillingValue string `xml:"fillFromFillingValue"` FillChecking string `xml:"fillChecking"` ToolTip ObjectKeyValueType `xml:"toolTip"` }
StandardAttribute - стандартные реквизиты
type Subsystem ¶
type Subsystem struct { MDOBaseType SubsystemChildSubsystems XMLName xml.Name `xml:"Subsystem"` IncludeHelpInContents bool `xml:"includeHelpInContents"` IncludeInCommandInterface bool `xml:"includeInCommandInterface"` Subsystems []*Subsystem `xml:"-"` Content MDOTypeRefList `xml:"content"` ParentSubsystem MDOTypeRef `xml:"parentSubsystem"` }
func (*Subsystem) Unpack ¶
func (conf *Subsystem) Unpack(cfg UnpackConfig) error
type SubsystemChildSubsystems ¶ added in v0.0.7
type SubsystemChildSubsystems struct {
Subsystems []string `xml:"subsystems"`
}
type TabularSection ¶ added in v0.0.7
type TabularSection struct { MDOBaseType ProducedTypes TabularSectionProducedTypes `xml:"producedTypes"` ToolTip ObjectKeyValueType `xml:"toolTip"` StandardAttributes []StandardAttribute `xml:"standardAttributes"` Attributes []Attribute `xml:"attributes"` }
TabularSection - Табличные части
type TabularSectionProducedTypes ¶ added in v0.0.7
type TabularSectionProducedTypes struct { ObjectType ObjectTypeRef `xml:"objectType"` RowType ObjectTypeRef `xml:"rowType"` }
TabularSectionProducedTypes - описание типов табличной части
type UnpackConfig ¶
func NewUnpackConfig ¶
func NewUnpackConfig(base string) UnpackConfig
func (UnpackConfig) HasUnpacked ¶
func (cfg UnpackConfig) HasUnpacked(ref MDOTypeRef) (interface{}, bool)
func (UnpackConfig) StoreUnpacked ¶
func (cfg UnpackConfig) StoreUnpacked(ref MDOTypeRef, value interface{})
func (UnpackConfig) WithPath ¶
func (cfg UnpackConfig) WithPath(path string) UnpackConfig
type Unpacker ¶
type Unpacker interface {
Unpack(cfg UnpackConfig) error
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.