MetadataWriter
Date: 2017-06-10

org.gcube.informationsystem.collector.stubs.metadata

## Class MetadataWriter

- java.lang.Object
- - org.gcube.informationsystem.collector.stubs.metadata.MetadataWriter

-     public final class MetadataWriter
      extends java.lang.Object

  A metadata writer for IC records
  Author:
    Manuele Simi (ISTI-CNR)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MetadataWriter(MetadataRecord.TYPE type, java.lang.String source, java.lang.Integer timeToLive, java.lang.String groupkey, java.lang.String key, java.lang.String entrykey, java.lang.String namespace, java.lang.String publicationMode)` Creates a new writer

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MetadataRecord` | `getRecord()`

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

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

- - ### Constructor Detail

    - #### MetadataWriter

          public MetadataWriter(MetadataRecord.TYPE type,
                        java.lang.String source,
                        java.lang.Integer timeToLive,
                        java.lang.String groupkey,
                        java.lang.String key,
                        java.lang.String entrykey,
                        java.lang.String namespace,
                        java.lang.String publicationMode)

      Creates a new writer
      Parameters:
        `type` -
        `source` -
        `timeToLive` - lifetime in seconds
        `groupkey` -
        `key` -
        `entrykey` -
        `publicationMode` - the mode in which the resource is published

  - ### Method Detail

    - #### getRecord

          public MetadataRecord getRecord()