Class Column
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.model.module.BaseObjectType
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.model.module.Column
-
- All Implemented Interfaces:
IModuleObject
public class Column extends BaseObjectType
Relational database column abstraction.
Sample:
{
"property": [PropertyType
],
"name": "AddressID",
"vendorType": "INT32",
"nullable": false,
"datatype": "INTEGER"
}
-
-
Constructor Summary
Constructors Constructor Description Column()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDatatype()Get name of the column data type defined by ODBC standard.StringgetName()Get name of the relational database column.StringgetVendorType()Get name of the relational database column data type defined by vendor.BooleanisNullable()Query if the column value can be NULL - not setvoidsetDatatype(String datatype)Set name of the column data type defined by ODBC standard.voidsetName(String name)Set name of the relational database column.voidsetNullable(Boolean nullable)Define if the column value can be NULL - not setvoidsetVendorType(String vendorType)Set name of the relational database column data type defined by vendor.-
Methods inherited from class org.odpi.openmetadata.accessservices.analyticsmodeling.model.module.BaseObjectType
addProperty, getProperty, getPropertyByName, setProperty
-
-
-
-
Method Detail
-
getName
public String getName()
Get name of the relational database column.- Returns:
- name of the relational database column.
-
setName
public void setName(String name)
Set name of the relational database column.- Parameters:
name- of the relational database column.
-
getVendorType
public String getVendorType()
Get name of the relational database column data type defined by vendor.- Returns:
- name of the relational database column data type defined by vendor.
-
setVendorType
public void setVendorType(String vendorType)
Set name of the relational database column data type defined by vendor.- Parameters:
vendorType- name of the relational database column data type defined by vendor.
-
isNullable
public Boolean isNullable()
Query if the column value can be NULL - not set- Returns:
- true if the column value can be NULL
-
setNullable
public void setNullable(Boolean nullable)
Define if the column value can be NULL - not set- Parameters:
nullable- true if the column value can be NULL
-
getDatatype
public String getDatatype()
Get name of the column data type defined by ODBC standard.- Returns:
- name of the column data type defined by ODBC standard.
-
setDatatype
public void setDatatype(String datatype)
Set name of the column data type defined by ODBC standard.- Parameters:
datatype- name of the column data type defined by ODBC standard.
-
-