Help us shape the future of Go! Take the 2026 Go Developer Survey

reportType

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "ReportType"

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	CheckedByDefault    BooleanText `xml:"checkedByDefault"`
	DisplayNameOverride *struct {
		Text string `xml:",chardata"`
	} `xml:"displayNameOverride"`
	Field string `xml:"field"`
	Table string `xml:"table"`
}

type FieldList

type FieldList []Field

func (FieldList) Tidy

func (c FieldList) Tidy()

type ReportType

type ReportType struct {
	metadata.MetadataInfo
	XMLName    xml.Name `xml:"ReportType"`
	Xmlns      string   `xml:"xmlns,attr"`
	BaseObject struct {
		Text string `xml:",chardata"`
	} `xml:"baseObject"`
	Category struct {
		Text string `xml:",chardata"`
	} `xml:"category"`
	Deployed struct {
		Text string `xml:",chardata"`
	} `xml:"deployed"`
	Description *TextLiteral `xml:"description"`
	Join        *struct {
		Join *struct {
			Join *struct {
				OuterJoin struct {
					Text string `xml:",chardata"`
				} `xml:"outerJoin"`
				Relationship struct {
					Text string `xml:",chardata"`
				} `xml:"relationship"`
			} `xml:"join"`
			OuterJoin struct {
				Text string `xml:",chardata"`
			} `xml:"outerJoin"`
			Relationship struct {
				Text string `xml:",chardata"`
			} `xml:"relationship"`
		} `xml:"join"`
		OuterJoin struct {
			Text string `xml:",chardata"`
		} `xml:"outerJoin"`
		Relationship struct {
			Text string `xml:",chardata"`
		} `xml:"relationship"`
	} `xml:"join"`
	Label struct {
		Text string `xml:",chardata"`
	} `xml:"label"`
	Sections      []Section `xml:"sections"`
	Autogenerated *struct {
		Text string `xml:",chardata"`
	} `xml:"autogenerated"`
}

func Open

func Open(path string) (*ReportType, error)

func (*ReportType) AddField

func (o *ReportType) AddField(sectionName, table, field string) error

func (*ReportType) DeleteField

func (o *ReportType) DeleteField(field, table string) error

func (*ReportType) GetFields

func (o *ReportType) GetFields() []Field

func (*ReportType) GetSections

func (o *ReportType) GetSections() []Section

func (*ReportType) SetMetadata

func (c *ReportType) SetMetadata(m metadata.MetadataInfo)

func (*ReportType) Tidy

func (r *ReportType) Tidy()

func (*ReportType) Type

func (c *ReportType) Type() metadata.MetadataType

type Section

type Section struct {
	Columns     FieldList `xml:"columns"`
	MasterLabel string    `xml:"masterLabel"`
}

Jump to

Keyboard shortcuts

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