public class TableColumnInfoBase extends CachedObject
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCacheName()
Return the identifier of the repository name for this cached object
|
java.lang.String |
getColumnName()
Returns the column name.
|
int |
getLength()
Returns maximum number of bytes allowed for the value
stored in this column.
|
java.lang.String |
getMaxType()
Returns MAXIMO datatype of the column.
|
int |
getPrimaryKeyColSequence()
Returns the primary key column sequence number.
|
int |
getScale()
Returns the maximum number of decimal values allowed for the value
stored in this column.
|
java.lang.String |
getTableName()
Returns the name of the table that has this column information.
|
boolean |
isNullAllowed()
Returns whether nulls are allowed or not.
|
void |
setColumnName(java.lang.String string)
Sets the name of the column.
|
void |
setLength(int length)
Sets maximum number of bytes allowed for the value
stored in this column.
|
void |
setMaxType(java.lang.String datatype)
Sets the MAXIMO datatype of the column.
|
void |
setNullAllowed(boolean nullAllowed)
Sets whether nulls are allowed or not.
|
void |
setPrimaryKeyColSequence(int sequenceNumber)
Sets the primary key column sequence number.
|
void |
setScale(int scale)
Sets the maximum number of decimal values allowed for the value
stored in this column.
|
void |
setTableName(java.lang.String tableName)
Sets the table name that has this column information.
|
addToRepository, getClonedInfo, getID, getReference, getTenantId, isLoaded, isMasterInfo, isSameTenantAsReference, setID, setReference, setTenantId, setTenantReference
public java.lang.String getColumnName()
public void setColumnName(java.lang.String string)
string
- name of the columnpublic int getLength()
public void setLength(int length)
length
- maximum number of bytes allowed for the value
stored in this column.public java.lang.String getMaxType()
public void setMaxType(java.lang.String datatype)
datatype
- MAXIMO datatype of the column.public boolean isNullAllowed()
public void setNullAllowed(boolean nullAllowed)
nullAllowed
- pass true, if nulls are allowed, otherwise false.public int getPrimaryKeyColSequence()
public void setPrimaryKeyColSequence(int sequenceNumber)
sequenceNumber
- the primary key column sequence number.public int getScale()
public void setScale(int scale)
scale
- the maximum number of decimal values allowed for the value
stored in this column.public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName
- the table name that has this column information.public java.lang.String getCacheName()
CachedObject
getCacheName
in class CachedObject