org.rcsb.cif.schema.mm.IhmModelGroupLink Maven / Gradle / Ivy
package org.rcsb.cif.schema.mm;
import org.rcsb.cif.model.*;
import org.rcsb.cif.schema.*;
import javax.annotation.Generated;
/**
* IHM_MODEL_GROUP_LINK category provides the list of models present in
* a particular model group.
*/
@Generated("org.rcsb.cif.schema.generator.SchemaGenerator")
public class IhmModelGroupLink extends DelegatingCategory {
public IhmModelGroupLink(Category delegate) {
super(delegate);
}
@Override
protected Column createDelegate(String columnName, Column column) {
switch (columnName) {
case "model_id":
return getModelId();
case "group_id":
return getGroupId();
default:
return new DelegatingColumn(column);
}
}
/**
* An identifier for the structural model.
* This data item is a pointer to _ihm_model_list.model_id in the
* IHM_MODEL_LIST category.
* @return IntColumn
*/
public IntColumn getModelId() {
return delegate.getColumn("model_id", DelegatingIntColumn::new);
}
/**
* An identifier for the structural model group.
* This data item is a pointer to _ihm_model_group.id in the
* IHM_MODEL_GROUP category.
* @return IntColumn
*/
public IntColumn getGroupId() {
return delegate.getColumn("group_id", DelegatingIntColumn::new);
}
}