Documentation
¶
Index ¶
Constants ¶
View Source
const NAME = "RestrictionRule"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestrictionRule ¶
type RestrictionRule struct {
metadata.MetadataInfo
XMLName xml.Name `xml:"RestrictionRule"`
Xmlns string `xml:"xmlns,attr"`
Active struct {
Text string `xml:",chardata"`
} `xml:"active"`
Description struct {
Text string `xml:",chardata"`
} `xml:"description"`
EnforcementType struct {
Text string `xml:",chardata"`
} `xml:"enforcementType"`
MasterLabel struct {
Text string `xml:",chardata"`
} `xml:"masterLabel"`
RecordFilter struct {
Text string `xml:",chardata"`
} `xml:"recordFilter"`
TargetEntity struct {
Text string `xml:",chardata"`
} `xml:"targetEntity"`
UserCriteria struct {
Text string `xml:",chardata"`
} `xml:"userCriteria"`
Version struct {
Text string `xml:",chardata"`
} `xml:"version"`
}
func Open ¶
func Open(path string) (*RestrictionRule, error)
func (*RestrictionRule) SetMetadata ¶
func (c *RestrictionRule) SetMetadata(m metadata.MetadataInfo)
func (*RestrictionRule) Type ¶
func (c *RestrictionRule) Type() metadata.MetadataType
Click to show internal directories.
Click to hide internal directories.