public class Attribute extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
canNull() |
boolean |
equals(Object obj) |
DBTermType |
getBaseTypeForValidation()
May be an abstract term type if no precise term type is defined.
|
QuotedID |
getID() |
int |
getIndex() |
QualifiedAttributeID |
getQualifiedID() |
RelationDefinition |
getRelation() |
String |
getSQLTypeName()
Returns the name of the SQL type associated with this attribute.
|
Optional<DBTermType> |
getTermType()
Returns the precise term type (if defined)
|
int |
hashCode() |
String |
toString() |
public QuotedID getID()
public QualifiedAttributeID getQualifiedID()
public RelationDefinition getRelation()
public int getIndex()
public boolean canNull()
public String getSQLTypeName()
Types class, and these are few. Often
databases match extra datatypes they may provide to the same ID, e.g., in MySQL YEAR (which doesn't
exists in standard SQL, is mapped to 91, the ID of DATE. This field helps in disambiguating this
cases.public Optional<DBTermType> getTermType()
public DBTermType getBaseTypeForValidation()
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.