|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Column
A representation of the 'Column' model object.
This is the base interface for column type objects (CalculatedColumn
and InputColumn
).
Use DataFoundationFactory.createColumn(String, SQLDataType, Table)
to instantiate a column of a data foundation table.
The following features are supported:
Method Summary | |
---|---|
SQLDataType |
getDataType()
Returns the value of the 'Data Type' attribute. |
java.lang.String |
getDescription()
Returns the value of the 'Description' attribute. |
Table |
getTable()
Returns the value of the 'Table' container reference. |
boolean |
isNullable()
Returns the value of the 'Nullable' attribute. |
boolean |
isSigned()
Returns the value of the 'Signed' attribute. |
boolean |
isVisible()
Returns the value of the 'Visible' attribute. |
void |
setDataType(SQLDataType value)
Sets the value of the ' Data Type ' attribute. |
void |
setDescription(java.lang.String value)
Sets the value of the ' Description ' attribute. |
void |
setNullable(boolean value)
Sets the value of the ' Nullable ' attribute. |
void |
setSigned(boolean value)
Sets the value of the ' Signed ' attribute. |
void |
setVisible(boolean value)
Sets the value of the ' Visible ' attribute. |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Identifiable |
---|
getIdentifier |
Methods inherited from interface com.sap.sl.sdk.authoring.commons.Nameable |
---|
getName, setName |
Method Detail |
---|
java.lang.String getDescription()
This string represents the description of the column.
setDescription(String)
void setDescription(java.lang.String value)
Description
' attribute.
This string represents the description of the column.
value
- the new value of the 'Description' attribute.getDescription()
Table getTable()
Columns
'.
This represents the name of a table of the data foundation.
Table.getColumns()
SQLDataType getDataType()
SQLDataType
.
This represents the SQL data type of the column.
SQLDataType
,
setDataType(SQLDataType)
void setDataType(SQLDataType value)
Data Type
' attribute.
value
- the new value of the 'Data Type' attribute.SQLDataType
,
getDataType()
boolean isNullable()
Checks if the column is nullable.
setNullable(boolean)
void setNullable(boolean value)
Nullable
' attribute.
value
- the new value of the 'Nullable' attribute.isNullable()
boolean isSigned()
Checks if the column content is signed.
setSigned(boolean)
void setSigned(boolean value)
Signed
' attribute.
In the information design tool, you select the "Unsigned" checkbox to make the column unsigned.
This method makes the column signed if value
is true
.
value
- the new value of the 'Signed' attribute.isSigned()
boolean isVisible()
"true"
.
Checks if the column is displayed in the data foundation editor.
setVisible(boolean)
void setVisible(boolean value)
Visible
' attribute.
Displays or hides the corresponding column in the data foundation editor.
value
- the new value of the 'Visible' attribute.isVisible()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |