-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from v8platform/MDOTypeRefList_func
добавил новые методы
- Loading branch information
Showing
9 changed files
with
302 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
package mdclasses | ||
|
||
import "github.com/v8platform/mdclasses/encoding/xml" | ||
|
||
type Predefined struct { | ||
Items []struct { | ||
ID string `xml:"id,attr"` | ||
Name string `xml:"name"` | ||
Description string `xml:"description"` | ||
Code string `xml:"code"` | ||
Type struct { | ||
Types []string `xml:"types"` | ||
} `xml:"type"` | ||
} `xml:"items"` | ||
} | ||
|
||
type ChartOfCharacteristicType struct { | ||
XMLName xml.Name `xml:"ChartOfCharacteristicTypes"` | ||
Xsi string `xml:"xsi,attr"` | ||
Core string `xml:"core,attr"` | ||
Mdclass string `xml:"mdclass,attr"` | ||
Uuid string `xml:"uuid,attr"` | ||
ProducedTypes MDOProducedTypes `xml:"producedTypes"` | ||
Name string `xml:"name"` | ||
Synonym ObjectKeyValueType `xml:"synonym"` | ||
UseStandardCommands string `xml:"useStandardCommands"` | ||
InputByString []string `xml:"inputByString"` | ||
FullTextSearchOnInputByString string `xml:"fullTextSearchOnInputByString"` | ||
StandardAttributes []StandardAttribute `xml:"standardAttributes"` | ||
Characteristics []struct { | ||
CharacteristicTypes string `xml:"characteristicTypes"` | ||
KeyField string `xml:"keyField"` | ||
TypesFilterField string `xml:"typesFilterField"` | ||
TypesFilterValue AttributeTypedValue `xml:"typesFilterValue"` | ||
CharacteristicValues string `xml:"characteristicValues"` | ||
ObjectField string `xml:"objectField"` | ||
TypeField string `xml:"typeField"` | ||
ValueField string `xml:"valueField"` | ||
} `xml:"characteristics"` | ||
CreateOnInput string `xml:"createOnInput"` | ||
Help Help `xml:"help"` | ||
FullTextSearch string `xml:"fullTextSearch"` | ||
Type struct { | ||
Types []string `xml:"types"` | ||
} `xml:"type"` | ||
Hierarchical string `xml:"hierarchical"` | ||
FoldersOnTop string `xml:"foldersOnTop"` | ||
CodeLength string `xml:"codeLength"` | ||
DescriptionLength string `xml:"descriptionLength"` | ||
CheckUnique string `xml:"checkUnique"` | ||
Autonumbering string `xml:"autonumbering"` | ||
DefaultPresentation string `xml:"defaultPresentation"` | ||
Predefined Predefined `xml:"predefined"` | ||
EditType string `xml:"editType"` | ||
ChoiceMode string `xml:"choiceMode"` | ||
ChoiceHistoryOnInput string `xml:"choiceHistoryOnInput"` | ||
DefaultObjectForm string `xml:"defaultObjectForm"` | ||
DefaultFolderForm string `xml:"defaultFolderForm"` | ||
DefaultListForm string `xml:"defaultListForm"` | ||
DefaultChoiceForm string `xml:"defaultChoiceForm"` | ||
Attributes []Attribute `xml:"attributes"` | ||
TabularSections TabularSection `xml:"tabularSections"` | ||
Forms []Form `xml:"forms"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
package mdclasses | ||
|
||
import "github.com/v8platform/mdclasses/encoding/xml" | ||
|
||
type ProducedTypes struct { | ||
SelectionType ObjectTypeRef `xml:"selectionType"` | ||
ListType ObjectTypeRef `xml:"listType"` | ||
ManagerType ObjectTypeRef `xml:"managerType"` | ||
RecordSetType ObjectTypeRef `xml:"recordSetType"` | ||
RecordKeyType ObjectTypeRef `xml:"recordKeyType"` | ||
RecordType ObjectTypeRef `xml:"recordType"` | ||
RecordManagerType ObjectTypeRef `xml:"recordManagerType"` | ||
} | ||
|
||
type Resource struct { | ||
Uuid string `xml:"uuid,attr"` | ||
Name string `xml:"name"` | ||
Synonym AttributeTypedValue `xml:"synonym"` | ||
Type struct { | ||
Types []string `xml:"types"` | ||
} `xml:"type"` | ||
ToolTip AttributeTypedValue `xml:"toolTip"` | ||
MinValue struct { | ||
Type string `xml:"type,attr"` | ||
} `xml:"minValue"` | ||
MaxValue struct { | ||
Type string `xml:"type,attr"` | ||
} `xml:"maxValue"` | ||
FillChecking string `xml:"fillChecking"` | ||
ChoiceParameters struct { | ||
Name string `xml:"name"` | ||
Value AttributeTypedValue `xml:"value"` | ||
} `xml:"choiceParameters"` | ||
FullTextSearch string `xml:"fullTextSearch"` | ||
DataHistory string `xml:"dataHistory"` | ||
FillFromFillingValue string `xml:"fillFromFillingValue"` | ||
FillValue AttributeTypedValue `xml:"fillValue"` | ||
} | ||
|
||
type Dimension struct { | ||
Uuid string `xml:"uuid,attr"` | ||
Name string `xml:"name"` | ||
Synonym ObjectKeyValueType `xml:"synonym"` | ||
Type struct { | ||
Types string `xml:"types"` | ||
} `xml:"type"` | ||
ToolTip ObjectKeyValueType `xml:"toolTip"` | ||
MinValue struct { | ||
Type string `xml:"type,attr"` | ||
} `xml:"minValue"` | ||
MaxValue struct { | ||
Type string `xml:"type,attr"` | ||
} `xml:"maxValue"` | ||
FullTextSearch string `xml:"fullTextSearch"` | ||
DataHistory string `xml:"dataHistory"` | ||
FillFromFillingValue string `xml:"fillFromFillingValue"` | ||
FillValue AttributeTypedValue `xml:"fillValue"` | ||
Master string `xml:"master"` | ||
MainFilter string `xml:"mainFilter"` | ||
} | ||
|
||
type InformationRegister struct { | ||
XMLName xml.Name `xml:"InformationRegister"` | ||
Xsi string `xml:"xsi,attr"` | ||
Core string `xml:"core,attr"` | ||
Mdclass string `xml:"mdclass,attr"` | ||
Uuid string `xml:"uuid,attr"` | ||
ProducedTypes ProducedTypes `xml:"producedTypes"` | ||
Name string `xml:"name"` | ||
Synonym ObjectKeyValueType `xml:"synonym"` | ||
UseStandardCommands string `xml:"useStandardCommands"` | ||
DefaultRecordForm string `xml:"defaultRecordForm"` | ||
DefaultListForm string `xml:"defaultListForm"` | ||
StandardAttributes []StandardAttribute `xml:"standardAttributes"` | ||
InformationRegisterPeriodicity string `xml:"informationRegisterPeriodicity"` | ||
MainFilterOnPeriod string `xml:"mainFilterOnPeriod"` | ||
Help Help `xml:"help"` | ||
RecordPresentation ObjectKeyValueType `xml:"recordPresentation"` | ||
ListPresentation ObjectKeyValueType `xml:"listPresentation"` | ||
Explanation ObjectKeyValueType `xml:"explanation"` | ||
Resources []Resource `xml:"resources"` | ||
Dimensions []Dimension `xml:"dimensions"` | ||
Forms []Form `xml:"forms"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package mdclasses | ||
|
||
import "github.com/v8platform/mdclasses/encoding/xml" | ||
|
||
type Report struct { | ||
XMLName xml.Name `xml:"Report"` | ||
Mdclass string `xml:"mdclass,attr"` | ||
Uuid string `xml:"uuid,attr"` | ||
ProducedTypes MDOProducedTypes `xml:"producedTypes"` | ||
Name string `xml:"name"` | ||
Synonym ObjectKeyValueType `xml:"synonym"` | ||
DefaultForm string `xml:"defaultForm"` | ||
MainDataCompositionSchema string `xml:"mainDataCompositionSchema"` | ||
DefaultSettingsForm string `xml:"defaultSettingsForm"` | ||
DefaultVariantForm string `xml:"defaultVariantForm"` | ||
Help Help `xml:"help"` | ||
Templates struct { | ||
Uuid string `xml:"uuid,attr"` | ||
Name string `xml:"name"` | ||
Synonym ObjectKeyValueType `xml:"synonym"` | ||
TemplateType string `xml:"templateType"` | ||
} `xml:"templates"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.