Package org.rcsb.cif.model
Class ProxyCategory
- java.lang.Object
-
- org.rcsb.cif.model.ProxyCategory
-
-
Constructor Summary
Constructors Constructor Description ProxyCategory(String name, int rowCount, Object[] encodedColumns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Categoryget()A hook to explicitly request this category (it may be wrapped asProxyCategory).StringgetCategoryName()The name of thisCategory.ColumngetColumn(String name)Retrieve a specificColumnby name.List<String>getColumnNames()Names of all present columns.intgetRowCount()The number of rows in thisCategory.booleanisDefined()States whether thisCategoryis defined.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.rcsb.cif.model.Category
columnNames, columns
-
-
-
-
Method Detail
-
get
public Category get()
Description copied from interface:CategoryA hook to explicitly request this category (it may be wrapped asProxyCategory).
-
getCategoryName
public String 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
public Column getColumn(String name)
Description copied from interface:CategoryRetrieve a specificColumnby name.- Specified by:
getColumnin interfaceCategory- Parameters:
name- the column name- Returns:
- the
Column, emptyBaseColumnif no column of that name exists
-
getColumnNames
public List<String> getColumnNames()
Description copied from interface:CategoryNames of all present columns.- Specified by:
getColumnNamesin interfaceCategory- Returns:
- a collection of
Columnnames
-
-