Class LinkUtilities


  • public class LinkUtilities
    extends java.lang.Object
    Helper methods to obtain self links from a FintLinks resource.
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkUtilities()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getSelfLinkBy​(java.lang.String identifier, no.fint.model.resource.FintLinks resource)
      Gets a self link from a FintLinks resource.
      static java.lang.String getSelfLinkBySystemId​(no.fint.model.resource.FintLinks resource)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LinkUtilities

        public LinkUtilities()
    • Method Detail

      • getSelfLinkBy

        public static java.lang.String getSelfLinkBy​(java.lang.String identifier,
                                                     no.fint.model.resource.FintLinks resource)
        Gets a self link from a FintLinks resource. For more detalis see SyncPageEntry.ofIdentifierName()
        Parameters:
        identifier - The identifier.
        resource - FintLinks resource.
        Returns:
        The self link.
      • getSelfLinkBySystemId

        public static java.lang.String getSelfLinkBySystemId​(no.fint.model.resource.FintLinks resource)
        Parameters:
        resource - FintLinks resource
        Returns:
        The self link.