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

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

package org.rcsb.cif.schema.mm;

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

import javax.annotation.Generated;

/**
 * Internal records to track the data processing cycle.
 */
@Generated("org.rcsb.cif.schema.generator.SchemaGenerator")
public class PdbxDatabaseProc extends DelegatingCategory {
    public PdbxDatabaseProc(Category delegate) {
        super(delegate);
    }

    @Override
    protected Column createDelegate(String columnName, Column column) {
        switch (columnName) {
            case "entry_id":
                return getEntryId();
            case "cycle_id":
                return getCycleId();
            case "date_begin_cycle":
                return getDateBeginCycle();
            case "date_end_cycle":
                return getDateEndCycle();
            case "details":
                return getDetails();
            default:
                return new DelegatingColumn(column);
        }
    }

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

    /**
     * This is a number of the processing cycle.
     * @return StrColumn
     */
    public StrColumn getCycleId() {
        return delegate.getColumn("cycle_id", DelegatingStrColumn::new);
    }

    /**
     * This is the date of the start of the processing cycle.
     * @return StrColumn
     */
    public StrColumn getDateBeginCycle() {
        return delegate.getColumn("date_begin_cycle", DelegatingStrColumn::new);
    }

    /**
     * This is the date of the end of the processing cycle.
     * @return StrColumn
     */
    public StrColumn getDateEndCycle() {
        return delegate.getColumn("date_end_cycle", DelegatingStrColumn::new);
    }

    /**
     * Special details about the current processing cycle.
     * @return StrColumn
     */
    public StrColumn getDetails() {
        return delegate.getColumn("details", DelegatingStrColumn::new);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy