public class TableAttribute extends Attribute implements java.io.Serializable
Constructor and Description |
---|
TableAttribute(java.lang.String table,
java.lang.String name,
java.lang.Class<? extends java.lang.Comparable> type)
Constructs a new table attribute given table, name and type.
|
TableAttribute(TableAttribute ta)
Copy constructor for table attributes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Tests this attribute for equality to an object.
|
java.lang.String |
getTable()
Retrieves the table of this attribute.
|
int |
hashCode()
Returns a hashcode for this attribute.
|
java.lang.String |
toString()
Textual representation.
|
public TableAttribute(java.lang.String table, java.lang.String name, java.lang.Class<? extends java.lang.Comparable> type)
table
- the table name.name
- the name of the attribute.type
- the type of the attribute.public TableAttribute(TableAttribute ta)
ta
- the table attribute to be copied.