org.hibernate.metamodel.source.annotations.attribute
Class ColumnValues
java.lang.Object
org.hibernate.metamodel.source.annotations.attribute.ColumnValues
public class ColumnValues
- extends Object
Container for the properties defined by Column
.
Constructor Summary |
ColumnValues(org.jboss.jandex.AnnotationInstance columnAnnotation)
|
ColumnValues
public ColumnValues(org.jboss.jandex.AnnotationInstance columnAnnotation)
getName
public final String getName()
isUnique
public final boolean isUnique()
isNullable
public final boolean isNullable()
isInsertable
public final boolean isInsertable()
isUpdatable
public final boolean isUpdatable()
getColumnDefinition
public final String getColumnDefinition()
getTable
public final String getTable()
getLength
public final int getLength()
getPrecision
public final int getPrecision()
getScale
public final int getScale()
setName
public void setName(String name)
setUnique
public void setUnique(boolean unique)
setNullable
public void setNullable(boolean nullable)
setInsertable
public void setInsertable(boolean insertable)
setUpdatable
public void setUpdatable(boolean updatable)
setColumnDefinition
public void setColumnDefinition(String columnDefinition)
setTable
public void setTable(String table)
setLength
public void setLength(int length)
setPrecision
public void setPrecision(int precision)
setScale
public void setScale(int scale)
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.