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

org.rcsb.cif.schema.mm.PdbxDatabasePdbOmit 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_DATABASE_PDB_OMIT category record
 * list PDB record names that should be omitted in the PDB
 * format file.
 */
@Generated("org.rcsb.cif.schema.generator.SchemaGenerator")
public class PdbxDatabasePdbOmit extends DelegatingCategory {
    public PdbxDatabasePdbOmit(Category delegate) {
        super(delegate);
    }

    @Override
    protected Column createDelegate(String columnName, Column column) {
        switch (columnName) {
            case "entry_id":
                return getEntryId();
            case "record_name":
                return getRecordName();
            default:
                return new DelegatingColumn(column);
        }
    }

    /**
     * The value of _pdbx_database_pdb_omit.entry_id identifies the data block.
     * @return StrColumn
     */
    public StrColumn getEntryId() {
        return delegate.getColumn("entry_id", DelegatingStrColumn::new);
    }

    /**
     * PDB record or REMARK name to be omitted.
     * @return StrColumn
     */
    public StrColumn getRecordName() {
        return delegate.getColumn("record_name", DelegatingStrColumn::new);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy