<commit_before>package com.rgi.geopackage.metadata;

import java.net.URI;

import javax.activation.MimeType;

public class Metadata
{
    /**
     * @param identifier
     * @param scope
     * @param standardUri
     * @param mimeType
     * @param metadata
     */
    protected Metadata(final int      identifier,
                       final Scope    scope,
                       final URI      standardUri,
                       final MimeType mimeType,
                       final String   metadata)
    {
        if(scope == null)
        {
            throw new IllegalArgumentException("Scope may not be null");
        }

        if(standardUri == null)
        {
            throw new IllegalArgumentException("Standard URI may not be null");
        }

        if(mimeType == null)
        {
            throw new IllegalArgumentException("Mime type may not be null");
        }

        if(metadata == null)
        {
            throw new IllegalArgumentException("Metadata may not be null");
        }

        this.identifier  = identifier;
        this.scope       = scope;
        this.standardUri = standardUri;
        this.mimeType    = mimeType;
        this.metadata    = metadata;
    }


    private final int      identifier;
    private final Scope    scope;
    private final URI      standardUri;
    private final MimeType mimeType;
    private final String   metadata;
}<commit_msg>Accessors added to metadata<commit_after>package com.rgi.geopackage.metadata;

import java.net.URI;

import javax.activation.MimeType;

public class Metadata
{
    /**
     * @param identifier
     * @param scope
     * @param standardUri
     * @param mimeType
     * @param metadata
     */
    protected Metadata(final int      identifier,
                       final Scope    scope,
                       final URI      standardUri,
                       final MimeType mimeType,
                       final String   metadata)
    {
        if(scope == null)
        {
            throw new IllegalArgumentException("Scope may not be null");
        }

        if(standardUri == null)
        {
            throw new IllegalArgumentException("Standard URI may not be null");
        }

        if(mimeType == null)
        {
            throw new IllegalArgumentException("Mime type may not be null");
        }

        if(metadata == null)
        {
            throw new IllegalArgumentException("Metadata may not be null");
        }

        this.identifier  = identifier;
        this.scope       = scope;
        this.standardUri = standardUri;
        this.mimeType    = mimeType;
        this.metadata    = metadata;
    }


    /**
     * @return the identifier
     */
    public int getIdentifier()
    {
        return this.identifier;
    }

    /**
     * @return the scope
     */
    public Scope getScope()
    {
        return this.scope;
    }

    /**
     * @return the standardUri
     */
    public URI getStandardUri()
    {
        return this.standardUri;
    }

    /**
     * @return the mimeType
     */
    public MimeType getMimeType()
    {
        return this.mimeType;
    }

    /**
     * @return the metadata
     */
    public String getMetadata()
    {
        return this.metadata;
    }

    private final int      identifier;
    private final Scope    scope;
    private final URI      standardUri;
    private final MimeType mimeType;
    private final String   metadata;
}
{'fraction_non_alphanumeric': 0.07815223707147008, 'fraction_numerical': 0.0, 'mean_word_length': 1.5790262172284644, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1885393', 'n_tokens_mistral': 907, 'n_tokens_neox': 871, 'n_words': 249}