public class TableMeta
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
TableMeta()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ColumnMeta[] |
getColumns()
Returns a list of the columns contained in this table.
|
java.lang.String |
getDescription()
Returns this table's description.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtras()
Returns a map of additional non-standard metadata items for this table.
|
ForeignMeta[] |
getForeignKeys()
Returns a list of the foreign keys associated with this table.
|
java.lang.String |
getName()
Returns this table's name.
|
java.lang.String |
getTitle()
Returns this table's human-readable title.
|
java.lang.String |
getType()
Returns this table's type.
|
java.lang.String |
getUtype()
Returns this table's Utype.
|
void |
setColumns(ColumnMeta[] columns)
Sets the columns contained in this table.
|
void |
setForeignKeys(ForeignMeta[] foreignKeys)
Sets the foreign keys associated with this table.
|
java.lang.String |
toString()
Returns this table's name.
|
public java.lang.String getType()
public java.lang.String getName()
<table_name>
production.
It should not be quoted, or have a schema name prepended,
or be otherwise adjusted, for use in an ADQL query.public java.lang.String getTitle()
public java.lang.String getDescription()
public java.lang.String getUtype()
public java.util.Map<java.lang.String,java.lang.Object> getExtras()
public ColumnMeta[] getColumns()
public void setColumns(ColumnMeta[] columns)
columns
- column listpublic ForeignMeta[] getForeignKeys()
public void setForeignKeys(ForeignMeta[] foreignKeys)
foreignKeys
- foreign key listpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.