de.iai.ilcd.model.common
Class GlobalRefUriAnalyzer

java.lang.Object
  extended by de.iai.ilcd.model.common.GlobalRefUriAnalyzer

public class GlobalRefUriAnalyzer
extends java.lang.Object

Analyzer for the extraction of UUID and version from data set URIs


Field Summary
 Uuid uuid
          Detected UUID, null means invalid URI
 DataSetVersion version
          Detected version (may be null even for valid URIs)
 
Constructor Summary
GlobalRefUriAnalyzer(java.lang.String refUri)
          Analyzer for data set URIs.
 
Method Summary
 DataSetVersion getDataSetVersion()
          Get the detected data set version
 Uuid getUuid()
          Get the detected UUID
 java.lang.String getUuidAsString()
          Get the detected UUID as string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uuid

public final Uuid uuid
Detected UUID, null means invalid URI


version

public final DataSetVersion version
Detected version (may be null even for valid URIs)

Constructor Detail

GlobalRefUriAnalyzer

public GlobalRefUriAnalyzer(java.lang.String refUri)
Analyzer for data set URIs. Please note: no exe

Parameters:
refUri - the URI to analyze.
Method Detail

getUuid

public Uuid getUuid()
Get the detected UUID

Returns:
detected UUID

getUuidAsString

public java.lang.String getUuidAsString()
Get the detected UUID as string

Returns:
detected UUID as string

getDataSetVersion

public DataSetVersion getDataSetVersion()
Get the detected data set version

Returns:
detected data set version