reportType

package
v0.53.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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