org.rcsb.cif.schema.mm.PdbxEntityBranch 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_ENTITY_BRANCH category specify the list
* of branched entities and the type.
*/
@Generated("org.rcsb.cif.schema.generator.SchemaGenerator")
public class PdbxEntityBranch extends DelegatingCategory {
public PdbxEntityBranch(Category delegate) {
super(delegate);
}
@Override
protected Column createDelegate(String columnName, Column column) {
switch (columnName) {
case "entity_id":
return getEntityId();
case "type":
return getType();
default:
return new DelegatingColumn(column);
}
}
/**
* The entity id for this branched entity.
*
* This data item is a pointer to _entity.id
* @return StrColumn
*/
public StrColumn getEntityId() {
return delegate.getColumn("entity_id", DelegatingStrColumn::new);
}
/**
* The type of this branched oligosaccharide.
* @return StrColumn
*/
public StrColumn getType() {
return delegate.getColumn("type", DelegatingStrColumn::new);
}
}