org.licas.server.model

## Class ServiceRepositoryInfo

- java.lang.Object
- - org.licas.server.model.ServiceRepositoryInfo

-     public class ServiceRepositoryInfo
      extends java.lang.Object

  This class stores the service metadata for a single service, with its admin key. The metadata stored in the `ServiceRepository` is only a static subset, but the key protects other operations as well and so this class is required.
  Author:
    Kieran Greer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServiceRepositoryInfo(java.lang.String theAdminKey, ServiceMeta theServiceMeta)` Create a new instance of ServiceRepositoryInfo.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getAdminKey()` Get the service key.
    `ServiceMeta` | `getServiceMeta()` Get the service metadata.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServiceRepositoryInfo

          public ServiceRepositoryInfo(java.lang.String theAdminKey,
                                       ServiceMeta theServiceMeta)

      Create a new instance of ServiceRepositoryInfo.
      Parameters:
        `theAdminKey` - the service key.
        `theServiceMeta` - the service metadata.

  - ### Method Detail

    - #### getAdminKey

          public java.lang.String getAdminKey()

      Get the service key.
      Returns:
        the value of adminKey.

    - #### getServiceMeta

          public ServiceMeta getServiceMeta()

      Get the service metadata.
      Returns:
        the value of serviceMeta.