Documentation ¶
Index ¶
- Variables
- func BuildCrlMapsDomain(uOfD *core.UniverseOfDiscourse, trans *core.Transaction) error
- func FindAttributeMapForSource(currentMap core.Concept, source core.Concept, attributeName core.AttributeName, ...) core.Concept
- func FindMapForSource(currentMap core.Concept, source core.Concept, trans *core.Transaction) core.Concept
- func FindMapForSourceAttribute(currentMap core.Concept, source core.Concept, attributeName core.AttributeName, ...) core.Concept
- func FindTargetForSource(currentMap core.Concept, source core.Concept, trans *core.Transaction) core.Concept
- func GetSource(theMap core.Concept, trans *core.Transaction) core.Concept
- func GetSourceReference(theMap core.Concept, trans *core.Transaction) core.Concept
- func GetTarget(theMap core.Concept, trans *core.Transaction) core.Concept
- func GetTargetReference(theMap core.Concept, trans *core.Transaction) core.Concept
- func NewOneToOneMap(uOfD *core.UniverseOfDiscourse, trans *core.Transaction) (core.Concept, error)
- func SearchForMapForSource(currentMap core.Concept, source core.Concept, trans *core.Transaction) core.Concept
- func SetSource(theMap core.Concept, newSource core.Concept, attributeName core.AttributeName, ...) error
- func SetTarget(theMap core.Concept, newTarget core.Concept, attributeName core.AttributeName, ...) error
Constants ¶
This section is empty.
Variables ¶
var CrlMapSourceURI = CrlMapURI + "/Source"
CrlMapSourceURI is the URI of the CrlMap source
var CrlMapTargetURI = CrlMapURI + "/Target"
CrlMapTargetURI is the URI of the CrlMap target
var CrlMapURI = CrlMapsDomainURI + "/Map"
CrlMapURI is the uri of the ancestor of all maps
var CrlMapsDomainURI = "http://activeCRL.com/crlmaps/CrlMaps"
CrlMapsDomainURI is the URI for the concpet space that defines the CRL Data Types
var CrlOneToOneMapURI = CrlMapsDomainURI + "/OneToOneMap"
CrlOneToOneMapURI is the URI for the Element-to-Element Map
Functions ¶
func BuildCrlMapsDomain ¶
func BuildCrlMapsDomain(uOfD *core.UniverseOfDiscourse, trans *core.Transaction) error
BuildCrlMapsDomain constructs the domain for CRL maps
func FindAttributeMapForSource ¶
func FindAttributeMapForSource(currentMap core.Concept, source core.Concept, attributeName core.AttributeName, trans *core.Transaction) core.Concept
FindAttributeMapForSource locates the attribute map referencing the given source, if any.
func FindMapForSource ¶
func FindMapForSource(currentMap core.Concept, source core.Concept, trans *core.Transaction) core.Concept
FindMapForSource locates the map corresponding to the given source, if any. It explores the current map and its descendants.
func FindMapForSourceAttribute ¶
func FindMapForSourceAttribute(currentMap core.Concept, source core.Concept, attributeName core.AttributeName, trans *core.Transaction) core.Concept
FindMapForSourceAttribute locates the map corresponding to the given source attribute, if any.
func FindTargetForSource ¶
func FindTargetForSource(currentMap core.Concept, source core.Concept, trans *core.Transaction) core.Concept
FindTargetForSource locates the map corresponding to the given source (if any) and then returns its target
func GetSourceReference ¶
GetSourceReference returns the source reference for the given map
func GetTargetReference ¶
GetTargetReference returns the target reference for the given map
func NewOneToOneMap ¶
func NewOneToOneMap(uOfD *core.UniverseOfDiscourse, trans *core.Transaction) (core.Concept, error)
NewOneToOneMap creates an instance of a one-to-one map with its source and target references
func SearchForMapForSource ¶
func SearchForMapForSource(currentMap core.Concept, source core.Concept, trans *core.Transaction) core.Concept
SearchForMapForSource locates the map corresponding to the given source, if any. It starts with the current map. If not found, it then goes up one level to the parent map. It keeps going up until either a target is found or there is no parent. This method returns the first map found if there is more than one map.
Types ¶
This section is empty.