Package org.rcsb.cif.model
Class Category.EmptyCategory
java.lang.Object
org.rcsb.cif.model.Category.EmptyCategory
- All Implemented Interfaces:
Category
- Enclosing interface:
- Category
public static class Category.EmptyCategory extends Object implements Category
This dummy instance is created and returned if an absent Category is requested for a Block.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.rcsb.cif.model.Category
Category.EmptyCategory -
Constructor Summary
Constructors Constructor Description EmptyCategory(String name) -
Method Summary
Modifier and Type Method Description StringgetCategoryName()The name of thisCategory.Column<Void>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
-