public class SchemaMeta extends Object
Modifier | Constructor and Description |
---|---|
protected |
SchemaMeta()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SchemaMeta |
createDummySchema(String name)
Returns a new schema with no tables and the given name.
|
String |
getDescription()
Returns this schema's description.
|
Map<String,Object> |
getExtras()
Returns a map of additional non-standard metadata items for this schema.
|
Integer |
getIndex()
Returns this schema's schema index.
|
String |
getName()
Returns this schema's name.
|
TableMeta[] |
getTables()
Returns a list of the tables contained in this schema.
|
String |
getTitle()
Returns this schema's human-readable title.
|
String |
getUtype()
Returns this schema's utype.
|
void |
setTableOrder(Comparator<TableMeta> tableComparator)
Configures a comparator that will define the ordering of tables
returned by this schema's
getTables() method. |
void |
setTables(TableMeta[] tables)
Sets the tables contained in this schema.
|
String |
toString()
Returns this schema's name.
|
public String getName()
public String getTitle()
public String getDescription()
public Integer getIndex()
public String getUtype()
public Map<String,Object> getExtras()
public TableMeta[] getTables()
If setTableOrder(java.util.Comparator<uk.ac.starlink.vo.TableMeta>)
has been called with a non-null
comparator, the returned array will obey that ordering.
public void setTables(TableMeta[] tables)
tables
- table listpublic void setTableOrder(Comparator<TableMeta> tableComparator)
getTables()
method.tableComparator
- defines table list orderingpublic String toString()
public static SchemaMeta createDummySchema(String name)
name
- name of new schemaCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.