Documentation
¶
Index ¶
- Constants
- type Field
- type FieldList
- type ReportType
- func (o *ReportType) AddField(sectionName, table, field string) error
- func (o *ReportType) DeleteField(field, table string) error
- func (o *ReportType) GetFields() []Field
- func (o *ReportType) GetSections() []Section
- func (c *ReportType) SetMetadata(m metadata.MetadataInfo)
- func (r *ReportType) Tidy()
- func (c *ReportType) Type() metadata.MetadataType
- type Section
Constants ¶
View Source
const NAME = "ReportType"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
Click to show internal directories.
Click to hide internal directories.