public class Schema extends java.util.Vector<Attribute>
| Constructor and Description |
|---|
Schema()
Empty constructor
|
Schema(Schema s)
Constructor by copy
|
Schema(java.lang.String s)
Constructor from a comma-separated string.
|
Schema(java.lang.String tableName,
java.lang.String s)
Constructor from a comma-separated string.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createFromString(java.lang.String s)
Creates a schema from a comma-separated list of
attributes.
|
void |
setTableName(java.lang.String name)
Assigns a table name to the tuples in the schema
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizepublic Schema()
public Schema(java.lang.String s)
s - The schemapublic Schema(Schema s)
s - The schemapublic Schema(java.lang.String tableName,
java.lang.String s)
tableName - The table's names - The schemaprotected void createFromString(java.lang.String s)
s - The string containing the listpublic void setTableName(java.lang.String name)
name - The table's nameCopyright © Sylvain HallĂ©. All Rights Reserved.