![JAR search and dependency download from the Maven repository](/logo.png)
org.bridgedb.uri.ws.server.3.1.4.source-code.mapUriResults.vm Maven / Gradle / Ivy
The newest version!
Uri Mapping results
#if ($exception)
Unable to process your request
$exception
Warning: XML and JSON versions will throw an Exception with these parameters
#else
#if( $mappings.isEmpty())
No Target Uris found
Warning if accepts header is set to "application/xml" or "application/json" this methods returns status 204 if no results are found.
#else
#set( $targetSystemCode = "" )
#set( $sourceUri = "" )
#foreach ( $mapping in $mappings)
#if (!$sourceUri.equals($mapping.getSourceUri().iterator().next()))
#set( $sourceUri = $mapping.getSourceUri().iterator().next())
Mappings for $sourceUri
#set( $targetSystemCode = "" )
#end
#if ($mapping.getTarget())
#if (!$targetSystemCode.equals($mapping.getTarget().getDataSource().getSystemCode()))
#set( $targetSystemCode = $mapping.getTarget().getDataSource().getSystemCode() )
- $mapping.getTarget().getDataSource().getFullName()
#end
- $mapping.getTargetId()
#else
- Unkown Uripattern
#end
#foreach ( $resultUri in $mapping.getTargetUri())
- $resultUri
#end
#if ($mapping.isMappingToSelf())
- This is an automatic mapping to alternative equals URIs
#elseif ($mapping.isTransitive() )
- Derived via
#foreach ( $vai in $mapping.getViaMappings())
#set ( $id = $vai.getTarget().getId() )
#set ( $dataSource = $vai.getTarget().getDataSource() )
#set ( $setId = $vai.getMappingSetId())
-
$dataSource.getFullName():$id in
mappingSet/$setId
#end
#else
- Found in mappingSet/$mapping.getMappingSetId()
#end
#end
#end
#end
Parameters
#if( $sourceUris.isEmpty())
No (or only empty) $URI parameter(s) provided! So no data can be returned
#else
$URI
#foreach( $sourceUri in $sourceUris)
$sourceUri
#end
#end
#if ($lensURI)
No $lensURIName parameter so using $defaultLensName
#else
${lensURIName}: $lensURI
#end
#if ( $targetUriPatterns.isEmpty())
#if ( $graph)
#if ( $graph.isEmpty())
NO ${targetUriPatternName}(s) or ${graphName} parameter so returning all mapped URIs.
#else
${graphName}: $graph
#end
#else
NO ${targetUriPatternName}(s) so returning all mapped URIs.
#end
#else
${targetUriPatternName}(s)
#foreach( $targetUriPattern in $targetUriPatterns)
$targetUriPattern
#end
#if ( $graph)
#if ( $graph.isEmpty())
#else
Unioned with ${graphName}: $graph
#end
#end
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy