Class ColumnDef
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.model.ColumnDef
-
-
Constructor Summary
Constructors Constructor Description ColumnDef(java.lang.String name)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ColumnDef that)
boolean
equals(java.lang.Object other)
ColumnType
getColumnType()
java.lang.String
getDefaultVal()
int
getInlineSize()
java.lang.String
getName()
java.lang.Integer
getPrecision()
long
getSize()
int
hashCode()
boolean
isNullable()
void
setColumnType(ColumnType columnType)
void
setDefaultVal(java.lang.String defaultVal)
void
setInlineSize(int inlineSize)
void
setNullable(boolean nullable)
void
setPrecision(int precision)
void
setSize(long size)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
isNullable
public boolean isNullable()
-
setNullable
public void setNullable(boolean nullable)
-
getColumnType
public ColumnType getColumnType()
-
setColumnType
public void setColumnType(ColumnType columnType)
-
getSize
public long getSize()
-
setSize
public void setSize(long size)
-
getPrecision
public java.lang.Integer getPrecision()
-
setPrecision
public void setPrecision(int precision)
-
getDefaultVal
public java.lang.String getDefaultVal()
-
setDefaultVal
public void setDefaultVal(java.lang.String defaultVal)
- Parameters:
defaultVal
- this value is NOT auto-quoted, you must pass the single-quote (') within the string value for literal strings
-
compareTo
public int compareTo(ColumnDef that)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ColumnDef>
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
getInlineSize
public int getInlineSize()
-
setInlineSize
public void setInlineSize(int inlineSize)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-