validationrule

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: MIT Imports: 9 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 = "ValidationRule"

Variables

This section is empty.

Functions

This section is empty.

Types

type Rule

type Rule struct {
	FullName string `xml:"fullName"`
	Active   struct {
		Text string `xml:",chardata"`
	} `xml:"active"`
	Description *struct {
		Text string `xml:",innerxml"`
	} `xml:"description"`
	ErrorConditionFormula *TextLiteral `xml:"errorConditionFormula"`
	ErrorDisplayField     *struct {
		Text string `xml:",chardata"`
	} `xml:"errorDisplayField"`
	ErrorMessage struct {
		Text string `xml:",innerxml"`
	} `xml:"errorMessage"`
}

type ValidationRule

type ValidationRule struct {
	metadata.MetadataInfo
	XMLName xml.Name `xml:"ValidationRule"`
	Xmlns   string   `xml:"xmlns,attr"`
	Rule
}

func Open

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

func (*ValidationRule) NameFromPath

func (c *ValidationRule) NameFromPath(path string) metadata.MetadataObjectName

func (*ValidationRule) SetMetadata

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

func (ValidationRule) Tidy

func (f ValidationRule) Tidy()

func (*ValidationRule) Type

type ValidationRuleList

type ValidationRuleList []Rule

func (ValidationRuleList) Tidy

func (rules ValidationRuleList) Tidy()

Jump to

Keyboard shortcuts

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