Class DefaultServiceMap

java.lang.Object
org.gcube.common.scope.impl.DefaultServiceMap
All Implemented Interfaces:
ServiceMap

public class DefaultServiceMap extends Object implements ServiceMap
A ServiceMap with a standard XML binding.
Author:
Fabio Simeoni
  • Constructor Details

    • DefaultServiceMap

      public DefaultServiceMap()
  • Method Details

    • scope

      public String scope()
      Description copied from interface: ServiceMap
      Returns the associated scope.
      Specified by:
      scope in interface ServiceMap
      Returns:
      the scope
    • version

      public String version()
      Description copied from interface: ServiceMap
      Returns the release version of the map.
      Specified by:
      version in interface ServiceMap
      Returns:
      the version
    • endpoint

      public String endpoint(String service)
      Description copied from interface: ServiceMap
      Returns the endpoint of a given service.
      Specified by:
      endpoint in interface ServiceMap
      Parameters:
      service - the service
      Returns:
      the endpoint
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object