Package org.rcsb.cif.model.text
Class TextCategory
java.lang.Object
org.rcsb.cif.model.text.TextCategory
- All Implemented Interfaces:
Category
public class TextCategory extends Object implements Category
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.rcsb.cif.model.Category
Category.EmptyCategory -
Constructor Summary
Constructors Constructor Description TextCategory(String name, Map<String,Column<?>> textColumns) -
Method Summary
Modifier and Type Method Description StringgetCategoryName()The name of thisCategory.Column<?>getColumn(String name)Retrieve a specificColumnby name.Map<String,Column<?>>getColumns()intgetRowCount()The number of rows in thisCategory.
-
Constructor Details
-
Method Details
-
getCategoryName
Description copied from interface:CategoryThe name of thisCategory.- Specified by:
getCategoryNamein interfaceCategory- Returns:
- String of the name
-
getRowCount
public int getRowCount()Description copied from interface:CategoryThe number of rows in thisCategory. 0 for undefined categories.- Specified by:
getRowCountin interfaceCategory- Returns:
- the number of rows
-
getColumn
Description copied from interface:CategoryRetrieve a specificColumnby name. -
getColumns
- Specified by:
getColumnsin interfaceCategory
-