Package no.fintlabs.adapter.models.utils
Class LinkUtilities
- java.lang.Object
-
- no.fintlabs.adapter.models.utils.LinkUtilities
-
public class LinkUtilities extends java.lang.Object
Helper methods to obtain self links from aFintLinks
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 aFintLinks
resource.static java.lang.String
getSelfLinkBySystemId(no.fint.model.resource.FintLinks resource)
-
-
-
Method Detail
-
getSelfLinkBy
public static java.lang.String getSelfLinkBy(java.lang.String identifier, no.fint.model.resource.FintLinks resource)
Gets a self link from aFintLinks
resource. For more detalis seeSyncPageEntry.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.
-
-