Class Column
- java.lang.Object
-
- net.lecousin.reactive.data.relational.schema.Column
-
public class Column extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.data.util.Pair<Table,Column>getForeignKeyReferences()StringgetName()StringgetType()booleanisAutoIncrement()booleanisNullable()booleanisPrimaryKey()booleanisRandomUuid()voidsetAutoIncrement(boolean autoIncrement)voidsetForeignKeyReferences(org.springframework.data.util.Pair<Table,Column> foreignKeyReferences)voidsetNullable(boolean nullable)voidsetPrimaryKey(boolean primaryKey)voidsetRandomUuid(boolean randomUuid)voidsetType(String type)
-
-
-
Constructor Detail
-
Column
public Column(String name)
-
-
Method Detail
-
isPrimaryKey
public boolean isPrimaryKey()
-
setPrimaryKey
public void setPrimaryKey(boolean primaryKey)
-
isNullable
public boolean isNullable()
-
setNullable
public void setNullable(boolean nullable)
-
isAutoIncrement
public boolean isAutoIncrement()
-
setAutoIncrement
public void setAutoIncrement(boolean autoIncrement)
-
isRandomUuid
public boolean isRandomUuid()
-
setRandomUuid
public void setRandomUuid(boolean randomUuid)
-
getName
public String getName()
-
getType
public String getType()
-
setType
public void setType(String type)
-
getForeignKeyReferences
public org.springframework.data.util.Pair<Table,Column> getForeignKeyReferences()
-
-