All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rcsb.cif.schema.mm.PdbxAuditConform Maven / Gradle / Ivy

package org.rcsb.cif.schema.mm;

import org.rcsb.cif.model.*;
import org.rcsb.cif.schema.*;

import javax.annotation.Generated;

/**
 * Data items in the PDBX_AUDIT_CONFORM category describe the
 * dictionary versions against which the data names appearing in
 * the current data block are conformant.
 */
@Generated("org.rcsb.cif.schema.generator.SchemaGenerator")
public class PdbxAuditConform extends DelegatingCategory {
    public PdbxAuditConform(Category delegate) {
        super(delegate);
    }

    @Override
    protected Column createDelegate(String columnName, Column column) {
        switch (columnName) {
            case "dict_location":
                return getDictLocation();
            case "dict_name":
                return getDictName();
            case "dict_version":
                return getDictVersion();
            default:
                return new DelegatingColumn(column);
        }
    }

    /**
     * A file name or uniform resource locator (URL) for the
     * dictionary to which the current data block conforms.
     * @return StrColumn
     */
    public StrColumn getDictLocation() {
        return delegate.getColumn("dict_location", DelegatingStrColumn::new);
    }

    /**
     * The dictionary name defining data names used in this file.
     * @return StrColumn
     */
    public StrColumn getDictName() {
        return delegate.getColumn("dict_name", DelegatingStrColumn::new);
    }

    /**
     * The version number of the dictionary to which the current
     * data block conforms.
     * @return StrColumn
     */
    public StrColumn getDictVersion() {
        return delegate.getColumn("dict_version", DelegatingStrColumn::new);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy