|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.mapping.Column
A column of a relational database table
Constructor Summary | |
Column()
|
Method Summary | |
boolean |
equals(Column column)
|
boolean |
equals(Object object)
|
String |
getAlias()
|
String |
getCheckConstraint()
|
int |
getLength()
|
String |
getName()
|
String |
getQuotedName(Dialect d)
|
String |
getSqlType()
Returns the sqlType. |
String |
getSqlType(Dialect dialect,
Mapping mapping)
|
Type |
getType()
|
int |
getTypeIndex()
|
boolean |
hasCheckConstraint()
|
int |
hashCode()
|
boolean |
isNullable()
|
boolean |
isQuoted()
|
boolean |
isUnique()
|
void |
setCheckConstraint(String checkConstraint)
|
void |
setLength(int length)
|
void |
setName(String name)
|
void |
setNullable(boolean nullable)
|
void |
setSqlType(String sqlType)
Sets the sqlType. |
void |
setType(Type type)
|
void |
setTypeIndex(int typeIndex)
|
void |
setUnique(boolean unique)
Sets the unique. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Column()
Method Detail |
public int getLength()
public void setLength(int length)
public Type getType()
public void setType(Type type)
public String getName()
public void setName(String name)
public String getQuotedName(Dialect d)
public String getAlias()
public boolean isNullable()
public void setNullable(boolean nullable)
public int getTypeIndex()
public void setTypeIndex(int typeIndex)
public boolean isUnique()
public String getSqlType(Dialect dialect, Mapping mapping) throws HibernateException
HibernateException
public boolean equals(Object object)
public boolean equals(Column column)
public int hashCode()
public String getSqlType()
public void setSqlType(String sqlType)
sqlType
- The sqlType to setpublic void setUnique(boolean unique)
unique
- The unique to setpublic boolean isQuoted()
public String toString()
public String getCheckConstraint()
public void setCheckConstraint(String checkConstraint)
checkConstraint
- The checkConstraint to set.public boolean hasCheckConstraint()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |