Documentation
¶
Index ¶
- Variables
- type CardinalitySpecE
- type HumanReadableNaturalKeyRegistry
- func MustNewNaturalKeyRegistry[C contract.ContractI](tagValue identifier.TagValue, estSize int, namingStyle naming.NamingStyleE, ...) (inst *HumanReadableNaturalKeyRegistry[C])
- func NewNaturalKeyRegistry[C contract.ContractI](tagValue identifier.TagValue, estSize int, namingStyle naming.NamingStyleE, ...) (inst *HumanReadableNaturalKeyRegistry[C], err error)
- func (inst *HumanReadableNaturalKeyRegistry[C]) Begin(nk naming.StylableName) (r RegisteredNaturalKeyDml, err error)
- func (inst *HumanReadableNaturalKeyRegistry[C]) GetTagValue() identifier.TagValue
- func (inst *HumanReadableNaturalKeyRegistry[C]) IterateAll() iter.Seq2[naming.StylableName, RegisteredNaturalKey]
- func (inst *HumanReadableNaturalKeyRegistry[C]) IterateAllRoots() iter.Seq2[naming.StylableName, RegisteredNaturalKey]
- func (inst *HumanReadableNaturalKeyRegistry[C]) Length() int
- func (inst *HumanReadableNaturalKeyRegistry[C]) Lookup(nk naming.StylableName) (r RegisteredNaturalKey, err error)
- func (inst *HumanReadableNaturalKeyRegistry[C]) MustBegin(nk naming.StylableName) (r RegisteredNaturalKeyDml)
- type MembershipTagValueRegistry
- func MustNewTagValueRegistry[C contract.ContractI](offset identifier.TagValue, namingStyle naming.NamingStyleE, estSize int, ...) (inst *MembershipTagValueRegistry[C])
- func NewTagValueRegistry[C contract.ContractI](offset identifier.TagValue, estSize int, namingStyle naming.NamingStyleE, ...) (inst *MembershipTagValueRegistry[C], err error)
- func (inst *MembershipTagValueRegistry[C]) Begin(nk naming.StylableName, tv identifier.TagValue) (r RegisteredTagValueDml, err error)
- func (inst *MembershipTagValueRegistry[C]) GetOffset() identifier.TagValue
- func (inst *MembershipTagValueRegistry[C]) GetRecordByTag(tg identifier.IdTag) (r RegisteredTagValue, has bool)
- func (inst *MembershipTagValueRegistry[C]) GetRecordByTagValue(tv identifier.TagValue) (r RegisteredTagValue, has bool)
- func (inst *MembershipTagValueRegistry[C]) HasRecordByTag(tg identifier.IdTag) (has bool)
- func (inst *MembershipTagValueRegistry[C]) HasRecordByTagValue(tv identifier.TagValue) (has bool)
- func (inst *MembershipTagValueRegistry[C]) IterateAll() iter.Seq2[identifier.IdTag, RegisteredTagValue]
- func (inst *MembershipTagValueRegistry[C]) Length() int
- func (inst *MembershipTagValueRegistry[C]) MustBegin(naturalKey naming.StylableName, tv identifier.TagValue) (r RegisteredTagValueDml)
- type RegisteredItemDmlUseI
- type RegisteredItemI
- type RegisteredItemIdentifierI
- type RegisteredItemLineageI
- type RegisteredItemRestrictionsI
- type RegisteredNaturalKey
- func (inst RegisteredNaturalKey) GetChildrenCount() int
- func (inst RegisteredNaturalKey) GetFlags() RegisteredValueFlagsE
- func (inst RegisteredNaturalKey) GetId() identifier.TaggedId
- func (inst RegisteredNaturalKey) GetModuleInfo() string
- func (inst RegisteredNaturalKey) GetNaturalKey() naming.StylableName
- func (inst RegisteredNaturalKey) GetNumberOfRestrictions() (n int)
- func (inst RegisteredNaturalKey) GetOrigin() string
- func (inst RegisteredNaturalKey) GetParentsCount() int
- func (inst RegisteredNaturalKey) GetRestrictionCardinality(idx int) CardinalitySpecE
- func (inst RegisteredNaturalKey) GetRestrictionSectionMembership(idx int) common.MembershipSpecE
- func (inst RegisteredNaturalKey) GetRestrictionSectionName(idx int) naming.StylableName
- func (inst RegisteredNaturalKey) GetTagValue() identifier.TagValue
- func (inst RegisteredNaturalKey) IsLeaf() bool
- func (inst RegisteredNaturalKey) IsRoot() bool
- func (inst RegisteredNaturalKey) IterateAllChildren() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
- func (inst RegisteredNaturalKey) IterateAllParents() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
- func (inst RegisteredNaturalKey) IterateRestrictionIndices() iter.Seq[int]
- type RegisteredNaturalKeyConcrete
- func (inst RegisteredNaturalKeyConcrete) GetChildrenCount() int
- func (inst RegisteredNaturalKeyConcrete) GetFlags() RegisteredValueFlagsE
- func (inst RegisteredNaturalKeyConcrete) GetId() identifier.TaggedId
- func (inst RegisteredNaturalKeyConcrete) GetModuleInfo() string
- func (inst RegisteredNaturalKeyConcrete) GetNaturalKey() naming.StylableName
- func (inst RegisteredNaturalKeyConcrete) GetNumberOfRestrictions() (n int)
- func (inst RegisteredNaturalKeyConcrete) GetOrigin() string
- func (inst RegisteredNaturalKeyConcrete) GetParentsCount() int
- func (inst RegisteredNaturalKeyConcrete) GetRestrictionCardinality(idx int) CardinalitySpecE
- func (inst RegisteredNaturalKeyConcrete) GetRestrictionSectionMembership(idx int) common.MembershipSpecE
- func (inst RegisteredNaturalKeyConcrete) GetRestrictionSectionName(idx int) naming.StylableName
- func (inst RegisteredNaturalKeyConcrete) GetTagValue() identifier.TagValue
- func (inst RegisteredNaturalKeyConcrete) IsLeaf() bool
- func (inst RegisteredNaturalKeyConcrete) IsRoot() bool
- func (inst RegisteredNaturalKeyConcrete) IterateAllChildren() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
- func (inst RegisteredNaturalKeyConcrete) IterateAllParents() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
- func (inst RegisteredNaturalKeyConcrete) IterateRestrictionIndices() iter.Seq[int]
- type RegisteredNaturalKeyDml
- func (inst RegisteredNaturalKeyDml) AddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyDml, err error)
- func (inst RegisteredNaturalKeyDml) AddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyDml, err error)
- func (inst RegisteredNaturalKeyDml) ClearDeprecated() RegisteredNaturalKeyDml
- func (inst RegisteredNaturalKeyDml) End() RegisteredNaturalKey
- func (inst RegisteredNaturalKeyDml) MustAddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyDml)
- func (inst RegisteredNaturalKeyDml) MustAddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyDml)
- func (inst RegisteredNaturalKeyDml) MustAddRestriction(sectionName naming.StylableName, membershipSpec common.MembershipSpecE, ...) RegisteredNaturalKeyDml
- func (inst RegisteredNaturalKeyDml) SetDeprecated() RegisteredNaturalKeyDml
- func (inst RegisteredNaturalKeyDml) SetFinal() RegisteredNaturalKeyFinalDml
- func (inst RegisteredNaturalKeyDml) SetVirtual() RegisteredNaturalKeyVirtualDml
- type RegisteredNaturalKeyFinal
- func (inst RegisteredNaturalKeyFinal) GetChildrenCount() int
- func (inst RegisteredNaturalKeyFinal) GetFlags() RegisteredValueFlagsE
- func (inst RegisteredNaturalKeyFinal) GetId() identifier.TaggedId
- func (inst RegisteredNaturalKeyFinal) GetModuleInfo() string
- func (inst RegisteredNaturalKeyFinal) GetNaturalKey() naming.StylableName
- func (inst RegisteredNaturalKeyFinal) GetNumberOfRestrictions() (n int)
- func (inst RegisteredNaturalKeyFinal) GetOrigin() string
- func (inst RegisteredNaturalKeyFinal) GetParentsCount() int
- func (inst RegisteredNaturalKeyFinal) GetRestrictionCardinality(idx int) CardinalitySpecE
- func (inst RegisteredNaturalKeyFinal) GetRestrictionSectionMembership(idx int) common.MembershipSpecE
- func (inst RegisteredNaturalKeyFinal) GetRestrictionSectionName(idx int) naming.StylableName
- func (inst RegisteredNaturalKeyFinal) GetTagValue() identifier.TagValue
- func (inst RegisteredNaturalKeyFinal) IsLeaf() bool
- func (inst RegisteredNaturalKeyFinal) IsRoot() bool
- func (inst RegisteredNaturalKeyFinal) IterateAllChildren() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
- func (inst RegisteredNaturalKeyFinal) IterateAllParents() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
- func (inst RegisteredNaturalKeyFinal) IterateRestrictionIndices() iter.Seq[int]
- type RegisteredNaturalKeyFinalDml
- func (inst RegisteredNaturalKeyFinalDml) AddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyFinalDml, err error)
- func (inst RegisteredNaturalKeyFinalDml) AddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyFinalDml, err error)
- func (inst RegisteredNaturalKeyFinalDml) ClearDeprecated() RegisteredNaturalKeyFinalDml
- func (inst RegisteredNaturalKeyFinalDml) ClearFinal() RegisteredNaturalKeyDml
- func (inst RegisteredNaturalKeyFinalDml) End() RegisteredNaturalKeyFinal
- func (inst RegisteredNaturalKeyFinalDml) MustAddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyFinalDml)
- func (inst RegisteredNaturalKeyFinalDml) MustAddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyFinalDml)
- func (inst RegisteredNaturalKeyFinalDml) MustAddRestriction(sectionName naming.StylableName, membershipSpec common.MembershipSpecE, ...) RegisteredNaturalKeyFinalDml
- func (inst RegisteredNaturalKeyFinalDml) SetDeprecated() RegisteredNaturalKeyFinalDml
- type RegisteredNaturalKeyVirtual
- func (inst RegisteredNaturalKeyVirtual) GetChildrenCount() int
- func (inst RegisteredNaturalKeyVirtual) GetFlags() RegisteredValueFlagsE
- func (inst RegisteredNaturalKeyVirtual) GetId() identifier.TaggedId
- func (inst RegisteredNaturalKeyVirtual) GetModuleInfo() string
- func (inst RegisteredNaturalKeyVirtual) GetNaturalKey() naming.StylableName
- func (inst RegisteredNaturalKeyVirtual) GetNumberOfRestrictions() (n int)
- func (inst RegisteredNaturalKeyVirtual) GetOrigin() string
- func (inst RegisteredNaturalKeyVirtual) GetParentsCount() int
- func (inst RegisteredNaturalKeyVirtual) GetRestrictionCardinality(idx int) CardinalitySpecE
- func (inst RegisteredNaturalKeyVirtual) GetRestrictionSectionMembership(idx int) common.MembershipSpecE
- func (inst RegisteredNaturalKeyVirtual) GetRestrictionSectionName(idx int) naming.StylableName
- func (inst RegisteredNaturalKeyVirtual) GetTagValue() identifier.TagValue
- func (inst RegisteredNaturalKeyVirtual) IsLeaf() bool
- func (inst RegisteredNaturalKeyVirtual) IsRoot() bool
- func (inst RegisteredNaturalKeyVirtual) IterateAllChildren() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
- func (inst RegisteredNaturalKeyVirtual) IterateAllParents() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
- func (inst RegisteredNaturalKeyVirtual) IterateRestrictionIndices() iter.Seq[int]
- type RegisteredNaturalKeyVirtualDml
- func (inst RegisteredNaturalKeyVirtualDml) AddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyVirtualDml, err error)
- func (inst RegisteredNaturalKeyVirtualDml) AddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyVirtualDml, err error)
- func (inst RegisteredNaturalKeyVirtualDml) ClearDeprecated() RegisteredNaturalKeyVirtualDml
- func (inst RegisteredNaturalKeyVirtualDml) ClearVirtual() RegisteredNaturalKeyDml
- func (inst RegisteredNaturalKeyVirtualDml) End() RegisteredNaturalKeyVirtual
- func (inst RegisteredNaturalKeyVirtualDml) MustAddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyVirtualDml)
- func (inst RegisteredNaturalKeyVirtualDml) MustAddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyVirtualDml)
- func (inst RegisteredNaturalKeyVirtualDml) MustAddRestriction(sectionName naming.StylableName, membershipSpec common.MembershipSpecE, ...) RegisteredNaturalKeyVirtualDml
- func (inst RegisteredNaturalKeyVirtualDml) SetDeprecated() RegisteredNaturalKeyVirtualDml
- type RegisteredTagValue
- func (inst RegisteredTagValue) GetFlags() RegisteredValueFlagsE
- func (inst RegisteredTagValue) GetId() identifier.TaggedId
- func (inst RegisteredTagValue) GetModuleInfo() string
- func (inst RegisteredTagValue) GetNaturalKey() naming.StylableName
- func (inst RegisteredTagValue) GetOrigin() string
- func (inst RegisteredTagValue) GetTagValue() identifier.TagValue
- type RegisteredTagValueDml
- type RegisteredValueFlagsE
- func (inst RegisteredValueFlagsE) ClearDeprecated() RegisteredValueFlagsE
- func (inst RegisteredValueFlagsE) ClearFinal() RegisteredValueFlagsE
- func (inst RegisteredValueFlagsE) ClearVirtual() RegisteredValueFlagsE
- func (inst RegisteredValueFlagsE) Count() int
- func (inst RegisteredValueFlagsE) HasDeprecated() bool
- func (inst RegisteredValueFlagsE) HasFinal() bool
- func (inst RegisteredValueFlagsE) HasVirtual() bool
- func (inst RegisteredValueFlagsE) Iterate() iter.Seq[RegisteredValueFlagsE]
- func (inst RegisteredValueFlagsE) SetDeprecated() RegisteredValueFlagsE
- func (inst RegisteredValueFlagsE) SetFinal() RegisteredValueFlagsE
- func (inst RegisteredValueFlagsE) SetVirtual() RegisteredValueFlagsE
- func (inst RegisteredValueFlagsE) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var AllMembershipValues = []RegisteredValueFlagsE{ MembershipValueNone, MembershipValueFinal, MembershipValueVirtual, MembershipValueDeprecated, }
View Source
var ErrNotFound = eh.Errorf("item is not contained in registry")
Functions ¶
This section is empty.
Types ¶
type CardinalitySpecE ¶
type CardinalitySpecE uint8
const ( CardinalityZeroToOne CardinalitySpecE = 0 CardinalityExactlyOne CardinalitySpecE = 1 CardinalityOneOrMore CardinalitySpecE = 2 CardinalityArbitrary CardinalitySpecE = 3 )
type HumanReadableNaturalKeyRegistry ¶
type HumanReadableNaturalKeyRegistry[C contract.ContractI] struct { // contains filtered or unexported fields }
func MustNewNaturalKeyRegistry ¶
func MustNewNaturalKeyRegistry[C contract.ContractI](tagValue identifier.TagValue, estSize int, namingStyle naming.NamingStyleE, untaggedOffset identifier.UntaggedId, contr C) (inst *HumanReadableNaturalKeyRegistry[C])
func NewNaturalKeyRegistry ¶
func NewNaturalKeyRegistry[C contract.ContractI](tagValue identifier.TagValue, estSize int, namingStyle naming.NamingStyleE, untaggedOffset identifier.UntaggedId, contr C) (inst *HumanReadableNaturalKeyRegistry[C], err error)
func (*HumanReadableNaturalKeyRegistry[C]) Begin ¶
func (inst *HumanReadableNaturalKeyRegistry[C]) Begin(nk naming.StylableName) (r RegisteredNaturalKeyDml, err error)
func (*HumanReadableNaturalKeyRegistry[C]) GetTagValue ¶
func (inst *HumanReadableNaturalKeyRegistry[C]) GetTagValue() identifier.TagValue
func (*HumanReadableNaturalKeyRegistry[C]) IterateAll ¶
func (inst *HumanReadableNaturalKeyRegistry[C]) IterateAll() iter.Seq2[naming.StylableName, RegisteredNaturalKey]
func (*HumanReadableNaturalKeyRegistry[C]) IterateAllRoots ¶
func (inst *HumanReadableNaturalKeyRegistry[C]) IterateAllRoots() iter.Seq2[naming.StylableName, RegisteredNaturalKey]
func (*HumanReadableNaturalKeyRegistry[C]) Length ¶
func (inst *HumanReadableNaturalKeyRegistry[C]) Length() int
func (*HumanReadableNaturalKeyRegistry[C]) Lookup ¶
func (inst *HumanReadableNaturalKeyRegistry[C]) Lookup(nk naming.StylableName) (r RegisteredNaturalKey, err error)
func (*HumanReadableNaturalKeyRegistry[C]) MustBegin ¶
func (inst *HumanReadableNaturalKeyRegistry[C]) MustBegin(nk naming.StylableName) (r RegisteredNaturalKeyDml)
type MembershipTagValueRegistry ¶
type MembershipTagValueRegistry[C contract.ContractI] struct { // contains filtered or unexported fields }
func MustNewTagValueRegistry ¶
func MustNewTagValueRegistry[C contract.ContractI](offset identifier.TagValue, namingStyle naming.NamingStyleE, estSize int, contr C) (inst *MembershipTagValueRegistry[C])
func NewTagValueRegistry ¶
func NewTagValueRegistry[C contract.ContractI](offset identifier.TagValue, estSize int, namingStyle naming.NamingStyleE, contr C) (inst *MembershipTagValueRegistry[C], err error)
func (*MembershipTagValueRegistry[C]) Begin ¶
func (inst *MembershipTagValueRegistry[C]) Begin(nk naming.StylableName, tv identifier.TagValue) (r RegisteredTagValueDml, err error)
func (*MembershipTagValueRegistry[C]) GetOffset ¶
func (inst *MembershipTagValueRegistry[C]) GetOffset() identifier.TagValue
func (*MembershipTagValueRegistry[C]) GetRecordByTag ¶
func (inst *MembershipTagValueRegistry[C]) GetRecordByTag(tg identifier.IdTag) (r RegisteredTagValue, has bool)
func (*MembershipTagValueRegistry[C]) GetRecordByTagValue ¶
func (inst *MembershipTagValueRegistry[C]) GetRecordByTagValue(tv identifier.TagValue) (r RegisteredTagValue, has bool)
func (*MembershipTagValueRegistry[C]) HasRecordByTag ¶
func (inst *MembershipTagValueRegistry[C]) HasRecordByTag(tg identifier.IdTag) (has bool)
func (*MembershipTagValueRegistry[C]) HasRecordByTagValue ¶
func (inst *MembershipTagValueRegistry[C]) HasRecordByTagValue(tv identifier.TagValue) (has bool)
func (*MembershipTagValueRegistry[C]) IterateAll ¶
func (inst *MembershipTagValueRegistry[C]) IterateAll() iter.Seq2[identifier.IdTag, RegisteredTagValue]
func (*MembershipTagValueRegistry[C]) Length ¶
func (inst *MembershipTagValueRegistry[C]) Length() int
func (*MembershipTagValueRegistry[C]) MustBegin ¶
func (inst *MembershipTagValueRegistry[C]) MustBegin(naturalKey naming.StylableName, tv identifier.TagValue) (r RegisteredTagValueDml)
type RegisteredItemDmlUseI ¶
type RegisteredItemDmlUseI[R1 any, R2 any] interface { MustAddParents(parents ...RegisteredNaturalKey) R1 MustAddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) R1 AddParents(parents ...RegisteredNaturalKey) (R1, error) AddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (R1, error) MustAddRestriction(sectionName naming.StylableName, membershipSpec common.MembershipSpecE, card CardinalitySpecE) R1 SetDeprecated() R1 ClearDeprecated() R1 End() R2 }
type RegisteredItemI ¶
type RegisteredItemI interface {
RegisteredItemLineageI
RegisteredItemRestrictionsI
RegisteredItemIdentifierI
IterateAllParents() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
IterateAllChildren() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
GetParentsCount() int
GetChildrenCount() int
IsRoot() bool
IsLeaf() bool
}
type RegisteredItemIdentifierI ¶
type RegisteredItemIdentifierI interface {
GetId() identifier.TaggedId
GetTagValue() identifier.TagValue
GetNaturalKey() naming.StylableName
}
type RegisteredItemLineageI ¶
type RegisteredItemRestrictionsI ¶
type RegisteredItemRestrictionsI interface {
GetNumberOfRestrictions() (n int)
IterateRestrictionIndices() iter.Seq[int]
GetRestrictionCardinality(idx int) CardinalitySpecE
GetRestrictionSectionName(idx int) naming.StylableName
GetRestrictionSectionMembership(idx int) common.MembershipSpecE
}
type RegisteredNaturalKey ¶
type RegisteredNaturalKey struct {
// contains filtered or unexported fields
}
func (RegisteredNaturalKey) GetChildrenCount ¶
func (inst RegisteredNaturalKey) GetChildrenCount() int
func (RegisteredNaturalKey) GetFlags ¶
func (inst RegisteredNaturalKey) GetFlags() RegisteredValueFlagsE
func (RegisteredNaturalKey) GetId ¶
func (inst RegisteredNaturalKey) GetId() identifier.TaggedId
func (RegisteredNaturalKey) GetModuleInfo ¶
func (inst RegisteredNaturalKey) GetModuleInfo() string
func (RegisteredNaturalKey) GetNaturalKey ¶
func (inst RegisteredNaturalKey) GetNaturalKey() naming.StylableName
func (RegisteredNaturalKey) GetNumberOfRestrictions ¶
func (inst RegisteredNaturalKey) GetNumberOfRestrictions() (n int)
func (RegisteredNaturalKey) GetOrigin ¶
func (inst RegisteredNaturalKey) GetOrigin() string
func (RegisteredNaturalKey) GetParentsCount ¶
func (inst RegisteredNaturalKey) GetParentsCount() int
func (RegisteredNaturalKey) GetRestrictionCardinality ¶
func (inst RegisteredNaturalKey) GetRestrictionCardinality(idx int) CardinalitySpecE
func (RegisteredNaturalKey) GetRestrictionSectionMembership ¶
func (inst RegisteredNaturalKey) GetRestrictionSectionMembership(idx int) common.MembershipSpecE
func (RegisteredNaturalKey) GetRestrictionSectionName ¶
func (inst RegisteredNaturalKey) GetRestrictionSectionName(idx int) naming.StylableName
func (RegisteredNaturalKey) GetTagValue ¶
func (inst RegisteredNaturalKey) GetTagValue() identifier.TagValue
func (RegisteredNaturalKey) IsLeaf ¶
func (inst RegisteredNaturalKey) IsLeaf() bool
func (RegisteredNaturalKey) IsRoot ¶
func (inst RegisteredNaturalKey) IsRoot() bool
func (RegisteredNaturalKey) IterateAllChildren ¶
func (inst RegisteredNaturalKey) IterateAllChildren() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
func (RegisteredNaturalKey) IterateAllParents ¶
func (inst RegisteredNaturalKey) IterateAllParents() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
func (RegisteredNaturalKey) IterateRestrictionIndices ¶
func (inst RegisteredNaturalKey) IterateRestrictionIndices() iter.Seq[int]
type RegisteredNaturalKeyConcrete ¶
type RegisteredNaturalKeyConcrete struct {
// contains filtered or unexported fields
}
func (RegisteredNaturalKeyConcrete) GetChildrenCount ¶
func (inst RegisteredNaturalKeyConcrete) GetChildrenCount() int
func (RegisteredNaturalKeyConcrete) GetFlags ¶
func (inst RegisteredNaturalKeyConcrete) GetFlags() RegisteredValueFlagsE
func (RegisteredNaturalKeyConcrete) GetId ¶
func (inst RegisteredNaturalKeyConcrete) GetId() identifier.TaggedId
func (RegisteredNaturalKeyConcrete) GetModuleInfo ¶
func (inst RegisteredNaturalKeyConcrete) GetModuleInfo() string
func (RegisteredNaturalKeyConcrete) GetNaturalKey ¶
func (inst RegisteredNaturalKeyConcrete) GetNaturalKey() naming.StylableName
func (RegisteredNaturalKeyConcrete) GetNumberOfRestrictions ¶
func (inst RegisteredNaturalKeyConcrete) GetNumberOfRestrictions() (n int)
func (RegisteredNaturalKeyConcrete) GetOrigin ¶
func (inst RegisteredNaturalKeyConcrete) GetOrigin() string
func (RegisteredNaturalKeyConcrete) GetParentsCount ¶
func (inst RegisteredNaturalKeyConcrete) GetParentsCount() int
func (RegisteredNaturalKeyConcrete) GetRestrictionCardinality ¶
func (inst RegisteredNaturalKeyConcrete) GetRestrictionCardinality(idx int) CardinalitySpecE
func (RegisteredNaturalKeyConcrete) GetRestrictionSectionMembership ¶
func (inst RegisteredNaturalKeyConcrete) GetRestrictionSectionMembership(idx int) common.MembershipSpecE
func (RegisteredNaturalKeyConcrete) GetRestrictionSectionName ¶
func (inst RegisteredNaturalKeyConcrete) GetRestrictionSectionName(idx int) naming.StylableName
func (RegisteredNaturalKeyConcrete) GetTagValue ¶
func (inst RegisteredNaturalKeyConcrete) GetTagValue() identifier.TagValue
func (RegisteredNaturalKeyConcrete) IsLeaf ¶
func (inst RegisteredNaturalKeyConcrete) IsLeaf() bool
func (RegisteredNaturalKeyConcrete) IsRoot ¶
func (inst RegisteredNaturalKeyConcrete) IsRoot() bool
func (RegisteredNaturalKeyConcrete) IterateAllChildren ¶
func (inst RegisteredNaturalKeyConcrete) IterateAllChildren() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
func (RegisteredNaturalKeyConcrete) IterateAllParents ¶
func (inst RegisteredNaturalKeyConcrete) IterateAllParents() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
func (RegisteredNaturalKeyConcrete) IterateRestrictionIndices ¶
func (inst RegisteredNaturalKeyConcrete) IterateRestrictionIndices() iter.Seq[int]
type RegisteredNaturalKeyDml ¶
type RegisteredNaturalKeyDml struct {
// contains filtered or unexported fields
}
func (RegisteredNaturalKeyDml) AddParents ¶
func (inst RegisteredNaturalKeyDml) AddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyDml, err error)
func (RegisteredNaturalKeyDml) AddParentsVirtual ¶
func (inst RegisteredNaturalKeyDml) AddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyDml, err error)
func (RegisteredNaturalKeyDml) ClearDeprecated ¶
func (inst RegisteredNaturalKeyDml) ClearDeprecated() RegisteredNaturalKeyDml
func (RegisteredNaturalKeyDml) End ¶
func (inst RegisteredNaturalKeyDml) End() RegisteredNaturalKey
func (RegisteredNaturalKeyDml) MustAddParents ¶
func (inst RegisteredNaturalKeyDml) MustAddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyDml)
func (RegisteredNaturalKeyDml) MustAddParentsVirtual ¶
func (inst RegisteredNaturalKeyDml) MustAddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyDml)
func (RegisteredNaturalKeyDml) MustAddRestriction ¶
func (inst RegisteredNaturalKeyDml) MustAddRestriction(sectionName naming.StylableName, membershipSpec common.MembershipSpecE, cardinality CardinalitySpecE) RegisteredNaturalKeyDml
func (RegisteredNaturalKeyDml) SetDeprecated ¶
func (inst RegisteredNaturalKeyDml) SetDeprecated() RegisteredNaturalKeyDml
func (RegisteredNaturalKeyDml) SetFinal ¶
func (inst RegisteredNaturalKeyDml) SetFinal() RegisteredNaturalKeyFinalDml
func (RegisteredNaturalKeyDml) SetVirtual ¶
func (inst RegisteredNaturalKeyDml) SetVirtual() RegisteredNaturalKeyVirtualDml
type RegisteredNaturalKeyFinal ¶
type RegisteredNaturalKeyFinal struct {
// contains filtered or unexported fields
}
func (RegisteredNaturalKeyFinal) GetChildrenCount ¶
func (inst RegisteredNaturalKeyFinal) GetChildrenCount() int
func (RegisteredNaturalKeyFinal) GetFlags ¶
func (inst RegisteredNaturalKeyFinal) GetFlags() RegisteredValueFlagsE
func (RegisteredNaturalKeyFinal) GetId ¶
func (inst RegisteredNaturalKeyFinal) GetId() identifier.TaggedId
func (RegisteredNaturalKeyFinal) GetModuleInfo ¶
func (inst RegisteredNaturalKeyFinal) GetModuleInfo() string
func (RegisteredNaturalKeyFinal) GetNaturalKey ¶
func (inst RegisteredNaturalKeyFinal) GetNaturalKey() naming.StylableName
func (RegisteredNaturalKeyFinal) GetNumberOfRestrictions ¶
func (inst RegisteredNaturalKeyFinal) GetNumberOfRestrictions() (n int)
func (RegisteredNaturalKeyFinal) GetOrigin ¶
func (inst RegisteredNaturalKeyFinal) GetOrigin() string
func (RegisteredNaturalKeyFinal) GetParentsCount ¶
func (inst RegisteredNaturalKeyFinal) GetParentsCount() int
func (RegisteredNaturalKeyFinal) GetRestrictionCardinality ¶
func (inst RegisteredNaturalKeyFinal) GetRestrictionCardinality(idx int) CardinalitySpecE
func (RegisteredNaturalKeyFinal) GetRestrictionSectionMembership ¶
func (inst RegisteredNaturalKeyFinal) GetRestrictionSectionMembership(idx int) common.MembershipSpecE
func (RegisteredNaturalKeyFinal) GetRestrictionSectionName ¶
func (inst RegisteredNaturalKeyFinal) GetRestrictionSectionName(idx int) naming.StylableName
func (RegisteredNaturalKeyFinal) GetTagValue ¶
func (inst RegisteredNaturalKeyFinal) GetTagValue() identifier.TagValue
func (RegisteredNaturalKeyFinal) IsLeaf ¶
func (inst RegisteredNaturalKeyFinal) IsLeaf() bool
func (RegisteredNaturalKeyFinal) IsRoot ¶
func (inst RegisteredNaturalKeyFinal) IsRoot() bool
func (RegisteredNaturalKeyFinal) IterateAllChildren ¶
func (inst RegisteredNaturalKeyFinal) IterateAllChildren() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
func (RegisteredNaturalKeyFinal) IterateAllParents ¶
func (inst RegisteredNaturalKeyFinal) IterateAllParents() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
func (RegisteredNaturalKeyFinal) IterateRestrictionIndices ¶
func (inst RegisteredNaturalKeyFinal) IterateRestrictionIndices() iter.Seq[int]
type RegisteredNaturalKeyFinalDml ¶
type RegisteredNaturalKeyFinalDml struct {
// contains filtered or unexported fields
}
func (RegisteredNaturalKeyFinalDml) AddParents ¶
func (inst RegisteredNaturalKeyFinalDml) AddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyFinalDml, err error)
func (RegisteredNaturalKeyFinalDml) AddParentsVirtual ¶
func (inst RegisteredNaturalKeyFinalDml) AddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyFinalDml, err error)
func (RegisteredNaturalKeyFinalDml) ClearDeprecated ¶
func (inst RegisteredNaturalKeyFinalDml) ClearDeprecated() RegisteredNaturalKeyFinalDml
func (RegisteredNaturalKeyFinalDml) ClearFinal ¶
func (inst RegisteredNaturalKeyFinalDml) ClearFinal() RegisteredNaturalKeyDml
func (RegisteredNaturalKeyFinalDml) End ¶
func (inst RegisteredNaturalKeyFinalDml) End() RegisteredNaturalKeyFinal
func (RegisteredNaturalKeyFinalDml) MustAddParents ¶
func (inst RegisteredNaturalKeyFinalDml) MustAddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyFinalDml)
func (RegisteredNaturalKeyFinalDml) MustAddParentsVirtual ¶
func (inst RegisteredNaturalKeyFinalDml) MustAddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyFinalDml)
func (RegisteredNaturalKeyFinalDml) MustAddRestriction ¶
func (inst RegisteredNaturalKeyFinalDml) MustAddRestriction(sectionName naming.StylableName, membershipSpec common.MembershipSpecE, cardinality CardinalitySpecE) RegisteredNaturalKeyFinalDml
func (RegisteredNaturalKeyFinalDml) SetDeprecated ¶
func (inst RegisteredNaturalKeyFinalDml) SetDeprecated() RegisteredNaturalKeyFinalDml
type RegisteredNaturalKeyVirtual ¶
type RegisteredNaturalKeyVirtual struct {
// contains filtered or unexported fields
}
func (RegisteredNaturalKeyVirtual) GetChildrenCount ¶
func (inst RegisteredNaturalKeyVirtual) GetChildrenCount() int
func (RegisteredNaturalKeyVirtual) GetFlags ¶
func (inst RegisteredNaturalKeyVirtual) GetFlags() RegisteredValueFlagsE
func (RegisteredNaturalKeyVirtual) GetId ¶
func (inst RegisteredNaturalKeyVirtual) GetId() identifier.TaggedId
func (RegisteredNaturalKeyVirtual) GetModuleInfo ¶
func (inst RegisteredNaturalKeyVirtual) GetModuleInfo() string
func (RegisteredNaturalKeyVirtual) GetNaturalKey ¶
func (inst RegisteredNaturalKeyVirtual) GetNaturalKey() naming.StylableName
func (RegisteredNaturalKeyVirtual) GetNumberOfRestrictions ¶
func (inst RegisteredNaturalKeyVirtual) GetNumberOfRestrictions() (n int)
func (RegisteredNaturalKeyVirtual) GetOrigin ¶
func (inst RegisteredNaturalKeyVirtual) GetOrigin() string
func (RegisteredNaturalKeyVirtual) GetParentsCount ¶
func (inst RegisteredNaturalKeyVirtual) GetParentsCount() int
func (RegisteredNaturalKeyVirtual) GetRestrictionCardinality ¶
func (inst RegisteredNaturalKeyVirtual) GetRestrictionCardinality(idx int) CardinalitySpecE
func (RegisteredNaturalKeyVirtual) GetRestrictionSectionMembership ¶
func (inst RegisteredNaturalKeyVirtual) GetRestrictionSectionMembership(idx int) common.MembershipSpecE
func (RegisteredNaturalKeyVirtual) GetRestrictionSectionName ¶
func (inst RegisteredNaturalKeyVirtual) GetRestrictionSectionName(idx int) naming.StylableName
func (RegisteredNaturalKeyVirtual) GetTagValue ¶
func (inst RegisteredNaturalKeyVirtual) GetTagValue() identifier.TagValue
func (RegisteredNaturalKeyVirtual) IsLeaf ¶
func (inst RegisteredNaturalKeyVirtual) IsLeaf() bool
func (RegisteredNaturalKeyVirtual) IsRoot ¶
func (inst RegisteredNaturalKeyVirtual) IsRoot() bool
func (RegisteredNaturalKeyVirtual) IterateAllChildren ¶
func (inst RegisteredNaturalKeyVirtual) IterateAllChildren() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
func (RegisteredNaturalKeyVirtual) IterateAllParents ¶
func (inst RegisteredNaturalKeyVirtual) IterateAllParents() iter.Seq2[identifier.TaggedId, RegisteredNaturalKey]
func (RegisteredNaturalKeyVirtual) IterateRestrictionIndices ¶
func (inst RegisteredNaturalKeyVirtual) IterateRestrictionIndices() iter.Seq[int]
type RegisteredNaturalKeyVirtualDml ¶
type RegisteredNaturalKeyVirtualDml struct {
// contains filtered or unexported fields
}
func (RegisteredNaturalKeyVirtualDml) AddParents ¶
func (inst RegisteredNaturalKeyVirtualDml) AddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyVirtualDml, err error)
func (RegisteredNaturalKeyVirtualDml) AddParentsVirtual ¶
func (inst RegisteredNaturalKeyVirtualDml) AddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyVirtualDml, err error)
func (RegisteredNaturalKeyVirtualDml) ClearDeprecated ¶
func (inst RegisteredNaturalKeyVirtualDml) ClearDeprecated() RegisteredNaturalKeyVirtualDml
func (RegisteredNaturalKeyVirtualDml) ClearVirtual ¶
func (inst RegisteredNaturalKeyVirtualDml) ClearVirtual() RegisteredNaturalKeyDml
func (RegisteredNaturalKeyVirtualDml) End ¶
func (inst RegisteredNaturalKeyVirtualDml) End() RegisteredNaturalKeyVirtual
func (RegisteredNaturalKeyVirtualDml) MustAddParents ¶
func (inst RegisteredNaturalKeyVirtualDml) MustAddParents(parents ...RegisteredNaturalKey) (r RegisteredNaturalKeyVirtualDml)
func (RegisteredNaturalKeyVirtualDml) MustAddParentsVirtual ¶
func (inst RegisteredNaturalKeyVirtualDml) MustAddParentsVirtual(parents ...RegisteredNaturalKeyVirtual) (r RegisteredNaturalKeyVirtualDml)
func (RegisteredNaturalKeyVirtualDml) MustAddRestriction ¶
func (inst RegisteredNaturalKeyVirtualDml) MustAddRestriction(sectionName naming.StylableName, membershipSpec common.MembershipSpecE, cardinality CardinalitySpecE) RegisteredNaturalKeyVirtualDml
func (RegisteredNaturalKeyVirtualDml) SetDeprecated ¶
func (inst RegisteredNaturalKeyVirtualDml) SetDeprecated() RegisteredNaturalKeyVirtualDml
type RegisteredTagValue ¶
type RegisteredTagValue struct {
// contains filtered or unexported fields
}
func (RegisteredTagValue) GetFlags ¶
func (inst RegisteredTagValue) GetFlags() RegisteredValueFlagsE
func (RegisteredTagValue) GetId ¶
func (inst RegisteredTagValue) GetId() identifier.TaggedId
func (RegisteredTagValue) GetModuleInfo ¶
func (inst RegisteredTagValue) GetModuleInfo() string
func (RegisteredTagValue) GetNaturalKey ¶
func (inst RegisteredTagValue) GetNaturalKey() naming.StylableName
func (RegisteredTagValue) GetOrigin ¶
func (inst RegisteredTagValue) GetOrigin() string
func (RegisteredTagValue) GetTagValue ¶
func (inst RegisteredTagValue) GetTagValue() identifier.TagValue
type RegisteredTagValueDml ¶
type RegisteredTagValueDml struct {
// contains filtered or unexported fields
}
func (RegisteredTagValueDml) ClearDeprecated ¶
func (inst RegisteredTagValueDml) ClearDeprecated() RegisteredTagValueDml
func (RegisteredTagValueDml) End ¶
func (inst RegisteredTagValueDml) End() RegisteredTagValue
func (RegisteredTagValueDml) SetDeprecated ¶
func (inst RegisteredTagValueDml) SetDeprecated() RegisteredTagValueDml
type RegisteredValueFlagsE ¶
type RegisteredValueFlagsE uint8
const ( MembershipValueNone RegisteredValueFlagsE = 0b0000_0000 MembershipValueFinal RegisteredValueFlagsE = 0b0000_0001 MembershipValueVirtual RegisteredValueFlagsE = 0b0000_0010 MembershipValueDeprecated RegisteredValueFlagsE = 0b0000_0100 )
func (RegisteredValueFlagsE) ClearDeprecated ¶
func (inst RegisteredValueFlagsE) ClearDeprecated() RegisteredValueFlagsE
func (RegisteredValueFlagsE) ClearFinal ¶
func (inst RegisteredValueFlagsE) ClearFinal() RegisteredValueFlagsE
func (RegisteredValueFlagsE) ClearVirtual ¶
func (inst RegisteredValueFlagsE) ClearVirtual() RegisteredValueFlagsE
func (RegisteredValueFlagsE) Count ¶
func (inst RegisteredValueFlagsE) Count() int
func (RegisteredValueFlagsE) HasDeprecated ¶
func (inst RegisteredValueFlagsE) HasDeprecated() bool
func (RegisteredValueFlagsE) HasFinal ¶
func (inst RegisteredValueFlagsE) HasFinal() bool
func (RegisteredValueFlagsE) HasVirtual ¶
func (inst RegisteredValueFlagsE) HasVirtual() bool
func (RegisteredValueFlagsE) Iterate ¶
func (inst RegisteredValueFlagsE) Iterate() iter.Seq[RegisteredValueFlagsE]
func (RegisteredValueFlagsE) SetDeprecated ¶
func (inst RegisteredValueFlagsE) SetDeprecated() RegisteredValueFlagsE
func (RegisteredValueFlagsE) SetFinal ¶
func (inst RegisteredValueFlagsE) SetFinal() RegisteredValueFlagsE
func (RegisteredValueFlagsE) SetVirtual ¶
func (inst RegisteredValueFlagsE) SetVirtual() RegisteredValueFlagsE
func (RegisteredValueFlagsE) String ¶
func (inst RegisteredValueFlagsE) String() string
Click to show internal directories.
Click to hide internal directories.