globalvalueset

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "GlobalValueSet"

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomValue

type CustomValue struct {
	FullName string       `xml:"fullName"`
	Default  BooleanText  `xml:"default"`
	IsActive *BooleanText `xml:"isActive"`
	Label    string       `xml:"label"`
}

type GlobalValueSet

type GlobalValueSet struct {
	metadata.MetadataInfo
	XMLName     xml.Name      `xml:"GlobalValueSet"`
	Xmlns       string        `xml:"xmlns,attr"`
	CustomValue []CustomValue `xml:"customValue"`
	Description *struct {
		Text string `xml:",chardata"`
	} `xml:"description"`
	MasterLabel struct {
		Text string `xml:",chardata"`
	} `xml:"masterLabel"`
	Sorted *BooleanText `xml:"sorted"`
}

func Open

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

func (*GlobalValueSet) GetValues

func (o *GlobalValueSet) GetValues(filters ...ValueFilter) []CustomValue

func (*GlobalValueSet) SetMetadata

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

func (*GlobalValueSet) Tidy

func (p *GlobalValueSet) Tidy()

func (*GlobalValueSet) Type

func (*GlobalValueSet) UpdateGlobalValueSet

func (o *GlobalValueSet) UpdateGlobalValueSet(updates GlobalValueSet) error

type ValueFilter

type ValueFilter func(CustomValue) bool

Jump to

Keyboard shortcuts

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