org.kuali.common.impex.model
Class Column
java.lang.Object
org.kuali.common.impex.model.Column
- All Implemented Interfaces:
- NamedElement
public class Column
- extends Object
- implements NamedElement
This interface provides an implementation-independent API to access database column model information
Constructor Summary |
Column()
|
Column(Column column)
This is a copy constructor. |
Column(String name,
DataType dataType)
Create a new instance of a Column
All values are initialized, with a special note that nullable is initially set to true |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NULLABLE_VALUE
public static final Boolean DEFAULT_NULLABLE_VALUE
DEFAULT_PRIMARY_KEY_VALUE
public static final Boolean DEFAULT_PRIMARY_KEY_VALUE
Column
public Column(Column column)
- This is a copy constructor. It must create a perfect, deep, copy of this object
Column
public Column()
Column
public Column(String name,
DataType dataType)
- Create a new instance of a Column
All values are initialized, with a special note that nullable is initially set to true
getType
public DataType getType()
getName
public String getName()
- Specified by:
getName
in interface NamedElement
isPrimaryKey
public Boolean isPrimaryKey()
isNullable
public Boolean isNullable()
getDescription
public String getDescription()
setPrimaryKey
public void setPrimaryKey(Boolean primaryKey)
getSize
public DataTypeSize getSize()
setSize
public void setSize(DataTypeSize typeSize)
getDefaultValue
public String getDefaultValue()
setDefaultValue
public void setDefaultValue(String defaultValue)
setNullable
public void setNullable(Boolean nullable)
setDescription
public void setDescription(String description)
setType
public void setType(DataType columnDataType)
setName
public void setName(String name)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.