crldatastructuresdomain

package
v0.0.0-...-eb15970 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CrlDataStructuresDomainURI = "http://activeCRL.com/crldatastructuresdomain/CrlDataStructuresDomain"

CrlDataStructuresDomainURI is the uri for the concept space that defines the Crl Data Structures

View Source
var CrlListMemberReferenceURI = CrlListURI + "/ListMemberReference"

CrlListMemberReferenceURI is the URI that identifies the prototype for a list member reference

View Source
var CrlListReferenceToFirstMemberReferenceURI = CrlListURI + "/ListReferenceToFirstMemberReference"

CrlListReferenceToFirstMemberReferenceURI is the URI that identifies the prototype for the first member reference

View Source
var CrlListReferenceToLastMemberReferenceURI = CrlListURI + "/ListReferenceToLastMemberReference"

CrlListReferenceToLastMemberReferenceURI is the URI that identifies the prototype for a the last member reference

View Source
var CrlListReferenceToNextMemberReferenceURI = CrlListURI + "/ReferenceToNextMemberReference"

CrlListReferenceToNextMemberReferenceURI is the URI that identifies a member reference's next member reference

View Source
var CrlListReferenceToPriorMemberReferenceURI = CrlListURI + "/ReferenceToPriorMemberReference"

CrlListReferenceToPriorMemberReferenceURI is the URI that identifies a member reference's prior member reference

View Source
var CrlListTypeReferenceURI = CrlListURI + "/ListTypeReference"

CrlListTypeReferenceURI is the URI that identifies the prototype for a list type reference

View Source
var CrlListURI = CrlDataStructuresDomainURI + "/List"

CrlListURI is the URI that identifies the prototype for list

View Source
var CrlSetMemberReferenceURI = CrlSetURI + "/SetMemberReference"

CrlSetMemberReferenceURI is the URI that identifies the prototype for a set member reference

View Source
var CrlSetTypeReferenceURI = CrlSetURI + "/SetTypeReference"

CrlSetTypeReferenceURI is the URI that identifies the prototype for a set type reference

View Source
var CrlSetURI = CrlDataStructuresDomainURI + "/Set"

CrlSetURI is the URI that identifies the prototype for sets

View Source
var CrlStringListMemberLiteralURI = CrlStringListURI + "/StringListMemberLiteral"

CrlStringListMemberLiteralURI is the URI that identifies the prototype for a list member literal

View Source
var CrlStringListReferenceToFirstMemberLiteralURI = CrlStringListURI + "/StringListReferenceToFirstMemberLiteral"

CrlStringListReferenceToFirstMemberLiteralURI is the URI that identifies the prototype for the first member literal

View Source
var CrlStringListReferenceToLastMemberLiteralURI = CrlStringListURI + "/StringListReferenceToLastMemberLiteral"

CrlStringListReferenceToLastMemberLiteralURI is the URI that identifies the prototype for a the last member literal

View Source
var CrlStringListReferenceToNextMemberLiteralURI = CrlStringListURI + "/ReferenceToNextMemberLiteral"

CrlStringListReferenceToNextMemberLiteralURI is the URI that identifies a member literal's next member literal

View Source
var CrlStringListReferenceToPriorMemberLiteralURI = CrlStringListURI + "/ReferenceToPriorMemberLiteral"

CrlStringListReferenceToPriorMemberLiteralURI is the URI that identifies a member literal's prior member literal

View Source
var CrlStringListURI = CrlDataStructuresDomainURI + "/StringList"

CrlStringListURI is the URI that identifies the prototype for list

Functions

func AddListMemberAfter

func AddListMemberAfter(list core.Concept, priorMemberReference core.Concept, newMember core.Concept, trans *core.Transaction) (core.Concept, error)

AddListMemberAfter adds a member to the list after the priorMemberReference and returns the newMemberReference. If the priorMemberReference is nil, the member is added to the beginning of the list. An error is returned if the supplied list is not a list, the newElement is nil, or the priorElementReference is not a CrlListMemberReference in this list.

func AddListMemberBefore

func AddListMemberBefore(list core.Concept, postMemberReference core.Concept, newMember core.Concept, trans *core.Transaction) (core.Concept, error)

AddListMemberBefore adds a member to the list before the postMember. If the postMember is nil, the member is added at the end of the list.

func AddSetMember

func AddSetMember(set core.Concept, newMember core.Concept, trans *core.Transaction) error

AddSetMember adds a member to the set

func AddStringListMemberAfter

func AddStringListMemberAfter(list core.Concept, priorMemberLiteral core.Concept, newMember string, trans *core.Transaction) (core.Concept, error)

AddStringListMemberAfter adds a string to the list after the priorMemberLiteral and returns the newMemberLiteral. If the priorMemberLiteral is nil, the string is added to the beginning of the list. An error is returned if the supplied list is not a list, the newMember is the empty string, or the priorMemberLiteral is not a CrlStringListMemberLiteral in this list.

func AddStringListMemberBefore

func AddStringListMemberBefore(list core.Concept, postMemberLiteral core.Concept, newMember string, trans *core.Transaction) (core.Concept, error)

AddStringListMemberBefore adds a member to the list before the postMember. If the postMember is nil, the member is added at the end of the list.

func AppendListMember

func AppendListMember(list core.Concept, newMember core.Concept, trans *core.Transaction) (core.Concept, error)

AppendListMember adds a member to the end of the list

func AppendStringListMember

func AppendStringListMember(list core.Concept, value string, trans *core.Transaction) (core.Concept, error)

AppendStringListMember adds a string to the end of the list

func BuildCrlDataStructuresDomain

func BuildCrlDataStructuresDomain(uOfD *core.UniverseOfDiscourse, trans *core.Transaction)

BuildCrlDataStructuresDomain constructs the concept space for CRL data structures

func BuildCrlListsConcepts

func BuildCrlListsConcepts(uOfD *core.UniverseOfDiscourse, parentSpace core.Concept, trans *core.Transaction)

BuildCrlListsConcepts builds the CrlList concept and adds it as a child of the provided parent concept space

func BuildCrlSetsConcepts

func BuildCrlSetsConcepts(uOfD *core.UniverseOfDiscourse, parentSpace core.Concept, trans *core.Transaction)

BuildCrlSetsConcepts builds the CrlSets concept space and adds it as a child of the provided parent concept space

func BuildCrlStringListsConcepts

func BuildCrlStringListsConcepts(uOfD *core.UniverseOfDiscourse, parentSpace core.Concept, trans *core.Transaction)

BuildCrlStringListsConcepts builds the CrlStringList concept and adds it as a child of the provided parent concept space

func ClearList

func ClearList(list core.Concept, trans *core.Transaction)

ClearList removes all members from the list

func ClearSet

func ClearSet(set core.Concept, trans *core.Transaction)

ClearSet removes all members from the set

func ClearStringList

func ClearStringList(list core.Concept, trans *core.Transaction)

ClearStringList removes all members from the list

func GetFirstLiteralForString

func GetFirstLiteralForString(list core.Concept, value string, trans *core.Transaction) (core.Concept, error)

GetFirstLiteralForString returns the first Literal whose value is the given string. It returns an error if the list is not a list. It returns nil if the string it is not found in the list.

func GetFirstMemberLiteral

func GetFirstMemberLiteral(list core.Concept, trans *core.Transaction) (core.Concept, error)

GetFirstMemberLiteral returns the reference to the first member of the list. It returns an error if the list is not a list. It returns nil if the list is empty

func GetFirstMemberReference

func GetFirstMemberReference(list core.Concept, trans *core.Transaction) (core.Concept, error)

GetFirstMemberReference returns the reference to the first member of the list. It returns an error if the list is not a list. It returns nil if the list is empty

func GetFirstReferenceForMember

func GetFirstReferenceForMember(list core.Concept, member core.Concept, trans *core.Transaction) (core.Concept, error)

GetFirstReferenceForMember returns the first reference to the given member. It returns an error if the list is not a list. It returns nil if the element it is not found in the list.

func GetLastMemberLiteral

func GetLastMemberLiteral(list core.Concept, trans *core.Transaction) (core.Concept, error)

GetLastMemberLiteral returns the reference to the last member of the list. It returns an error if list is not a list. It returns nil if the list is empty

func GetLastMemberReference

func GetLastMemberReference(list core.Concept, trans *core.Transaction) (core.Concept, error)

GetLastMemberReference returns the reference to the last member of the list. It returns an error if list is not a list. It returns nil if the list is empty

func GetListType

func GetListType(list core.Concept, trans *core.Transaction) (core.Concept, error)

GetListType returns the element that should be an abstraction of every member. It returns an error if the argument is not a list

func GetNextMemberLiteral

func GetNextMemberLiteral(memberLiteral core.Concept, trans *core.Transaction) (core.Concept, error)

GetNextMemberLiteral returns the successor member literal in the list

func GetNextMemberReference

func GetNextMemberReference(memberReference core.Concept, trans *core.Transaction) (core.Concept, error)

GetNextMemberReference returns the successor member reference in the list

func GetPriorMemberLiteral

func GetPriorMemberLiteral(memberLiteral core.Concept, trans *core.Transaction) (core.Concept, error)

GetPriorMemberLiteral returns the predecessor member literal in the list

func GetPriorMemberReference

func GetPriorMemberReference(memberReference core.Concept, trans *core.Transaction) (core.Concept, error)

GetPriorMemberReference returns the predecessor member reference in the list

func GetSetType

func GetSetType(set core.Concept, trans *core.Transaction) (core.Concept, error)

GetSetType returns the element that should be an abstraction of every member. It returns an error if the argument is not a set

func IsList

func IsList(list core.Concept, trans *core.Transaction) bool

IsList returns true if the supplied Element is a refinement of List

func IsListMember

func IsListMember(list core.Concept, el core.Concept, trans *core.Transaction) bool

IsListMember returns true if the element is a memeber of the given list

func IsListMemberReference

func IsListMemberReference(memberReference core.Concept, trans *core.Transaction) bool

IsListMemberReference returns true if the supplied Reference is a refinement of ListMemberReference

func IsSetMember

func IsSetMember(set core.Concept, el core.Concept, trans *core.Transaction) bool

IsSetMember returns true if the element is a memeber of the given set

func IsStringList

func IsStringList(list core.Concept, trans *core.Transaction) bool

IsStringList returns true if the supplied Element is a refinement of StringList

func IsStringListMember

func IsStringListMember(list core.Concept, value string, trans *core.Transaction) bool

IsStringListMember returns true if the string is a memeber of the given list

func IsStringListMemberLiteral

func IsStringListMemberLiteral(memberLiteral core.Concept, trans *core.Transaction) bool

IsStringListMemberLiteral returns true if the supplied Reference is a refinement of StringListMemberLiteral

func NewList

func NewList(uOfD *core.UniverseOfDiscourse, setType core.Concept, trans *core.Transaction, newURI ...string) (core.Concept, error)

NewList creates an instance of a list

func NewListMemberReference

func NewListMemberReference(uOfD *core.UniverseOfDiscourse, trans *core.Transaction, newURI ...string) (core.Concept, error)

NewListMemberReference creates a list member reference with its child concepts

func NewSet

func NewSet(uOfD *core.UniverseOfDiscourse, setType core.Concept, trans *core.Transaction) (core.Concept, error)

NewSet creates an instance of a set

func NewSetMemberReference

func NewSetMemberReference(uOfD *core.UniverseOfDiscourse, trans *core.Transaction) (core.Concept, error)

NewSetMemberReference creates a SetMemberReference with its child concepts

func NewStringList

func NewStringList(uOfD *core.UniverseOfDiscourse, trans *core.Transaction, newURI ...string) (core.Concept, error)

NewStringList creates an instance of a list

func NewStringListMemberLiteral

func NewStringListMemberLiteral(uOfD *core.UniverseOfDiscourse, trans *core.Transaction, newURI ...string) (core.Concept, error)

NewStringListMemberLiteral returns a new refinement of CrlStringListMemberLiteral

func PrependListMember

func PrependListMember(list core.Concept, newMember core.Concept, trans *core.Transaction) (core.Concept, error)

PrependListMember adds a member to the end of the list

func PrependStringListMember

func PrependStringListMember(list core.Concept, value string, trans *core.Transaction) (core.Concept, error)

PrependStringListMember adds a string to the beginning of the list

func RemoveListMember

func RemoveListMember(list core.Concept, el core.Concept, trans *core.Transaction) error

RemoveListMember removes the first occurrance of an element from the given list

func RemoveSetMember

func RemoveSetMember(set core.Concept, el core.Concept, trans *core.Transaction) error

RemoveSetMember removes the element from the given set

func RemoveStringListMember

func RemoveStringListMember(list core.Concept, value string, trans *core.Transaction) error

RemoveStringListMember removes the first occurrance of an element from the given list

func SetListType

func SetListType(list core.Concept, listType core.Concept, trans *core.Transaction) error

SetListType sets the element that should be an abstraction of every member. It is only valid on a list that does not already have a list type assigned, i.e. you can't change the type of a list once it has been set. It returns an error if the argument is not a list or if the list already has a type assigned

Types

This section is empty.

Jump to

Keyboard shortcuts

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