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

org.rcsb.cif.schema.mm.PdbxChemCompAtomEdit 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_CHEM_COMP_ATOM_EDIT category provide
 * atom level editing instructions to be applied to imported
 * chemical components.
 */
@Generated("org.rcsb.cif.schema.generator.SchemaGenerator")
public class PdbxChemCompAtomEdit extends DelegatingCategory {
    public PdbxChemCompAtomEdit(Category delegate) {
        super(delegate);
    }

    @Override
    protected Column createDelegate(String columnName, Column column) {
        switch (columnName) {
            case "ordinal":
                return getOrdinal();
            case "comp_id":
                return getCompId();
            case "edit_op":
                return getEditOp();
            case "atom_id":
                return getAtomId();
            case "edit_atom_id":
                return getEditAtomId();
            case "edit_atom_value":
                return getEditAtomValue();
            default:
                return new DelegatingColumn(column);
        }
    }

    /**
     * This data item uniquely identifies and orders each  atom edit instruction.
     * @return IntColumn
     */
    public IntColumn getOrdinal() {
        return delegate.getColumn("ordinal", DelegatingIntColumn::new);
    }

    /**
     * This data item is a pointer to _pdbx_chem_comp_import.comp_id in the CHEM_COMP
     * category.
     * @return StrColumn
     */
    public StrColumn getCompId() {
        return delegate.getColumn("comp_id", DelegatingStrColumn::new);
    }

    /**
     * The operation applied to the named imported component.
     * @return StrColumn
     */
    public StrColumn getEditOp() {
        return delegate.getColumn("edit_op", DelegatingStrColumn::new);
    }

    /**
     * The identifier for the target atom in imported component to be edited.
     * @return StrColumn
     */
    public StrColumn getAtomId() {
        return delegate.getColumn("atom_id", DelegatingStrColumn::new);
    }

    /**
     * The identifier for the edited atom in the generated component.
     * @return StrColumn
     */
    public StrColumn getEditAtomId() {
        return delegate.getColumn("edit_atom_id", DelegatingStrColumn::new);
    }

    /**
     * The value for the edited atomic property value in the generated component.
     * @return StrColumn
     */
    public StrColumn getEditAtomValue() {
        return delegate.getColumn("edit_atom_value", DelegatingStrColumn::new);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy