org.rcsb.cif.schema.mm.IhmGeometricObjectPlane 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 IHM_GEOMETRIC_OBJECT_PLANE category records the details of
* a plane used in a spatial restraint.
*/
@Generated("org.rcsb.cif.schema.generator.SchemaGenerator")
public class IhmGeometricObjectPlane extends DelegatingCategory {
public IhmGeometricObjectPlane(Category delegate) {
super(delegate);
}
@Override
protected Column createDelegate(String columnName, Column column) {
switch (columnName) {
case "object_id":
return getObjectId();
case "plane_type":
return getPlaneType();
case "transformation_id":
return getTransformationId();
default:
return new DelegatingColumn(column);
}
}
/**
* Identifier to the geometric object.
* This data item is a pointer to the _ihm_geometric_object_list.object_id in the
* IHM_GEOMETRIC_OBJECT_LIST category.
* @return IntColumn
*/
public IntColumn getObjectId() {
return delegate.getColumn("object_id", DelegatingIntColumn::new);
}
/**
* The type of plane.
* @return StrColumn
*/
public StrColumn getPlaneType() {
return delegate.getColumn("plane_type", DelegatingStrColumn::new);
}
/**
* Identifier to the description of the transformation.
* This data item is a pointer to the _ihm_geometric_object_transformation.id in the
* IHM_GEOMETRIC_OBJECT_TRANSFORMATION category.
* If no transformation is provide, identity transformation is assumed.
* @return IntColumn
*/
public IntColumn getTransformationId() {
return delegate.getColumn("transformation_id", DelegatingIntColumn::new);
}
}