org.rcsb.cif.schema.mm.PdbxChemCompModelDescriptor 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 CHEM_COMP_MODEL_DESCRIPTOR category provide
* string descriptors for component model structures.
*/
@Generated("org.rcsb.cif.schema.generator.SchemaGenerator")
public class PdbxChemCompModelDescriptor extends DelegatingCategory {
public PdbxChemCompModelDescriptor(Category delegate) {
super(delegate);
}
@Override
protected Column createDelegate(String columnName, Column column) {
switch (columnName) {
case "model_id":
return getModelId();
case "descriptor":
return getDescriptor();
case "type":
return getType();
default:
return new DelegatingColumn(column);
}
}
/**
* This data item is a pointer to _pdbx_chem_comp_model.id in the PDBX_CHEM_COMP_MODEL
* category.
* @return StrColumn
*/
public StrColumn getModelId() {
return delegate.getColumn("model_id", DelegatingStrColumn::new);
}
/**
* This data item contains the descriptor value for this
* component.
* @return StrColumn
*/
public StrColumn getDescriptor() {
return delegate.getColumn("descriptor", DelegatingStrColumn::new);
}
/**
* This data item contains the descriptor type.
* @return StrColumn
*/
public StrColumn getType() {
return delegate.getColumn("type", DelegatingStrColumn::new);
}
}