Package sk.ipesoft.d2000.d2japi
Interface D2StructureDefinitionInfo
-
- All Superinterfaces:
D2ObjectInfo,java.io.Serializable
public interface D2StructureDefinitionInfo extends D2ObjectInfo
Technical description of structure definition object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetColCount()Deprecated.As of R39, replaced bygetStructureColumnCount()java.lang.StringgetColumnDescription(int columnIndex)Get human-readable title of column at the indexed position.java.lang.IntegergetColumnIndex(java.lang.String columnName)Get index of column identified by its name ornullfor unknown column.java.lang.StringgetColumnName(int columnIndex)Get technical name of column (identifier) at the indexed position.intgetColumnStateTextHobj(int columnIndex)Get HOBJ ofStateTextDefinitionobject that should be used for displaying values from indexed column or zero if not used.intgetColumnStatusTextHOBJ(int columnIndex)Deprecated.As of R39, replaced byD2ObjectInfo.getStateTextHobj()intgetColumnTransformationPaletteIndex(int columnIndex)Get one-based index of transformation palette used for displaying values from indexed column or zero if not used.intgetColumnTransPalIdx(int columnIndex)Deprecated.As of R39, replaced bygetColumnTransformationPaletteIndex(int)sk.ipesoft.d2000.datatable.ColumnTypegetColumnType(int columnIndex)Get type of column at the indexed position.java.util.Collection<sk.ipesoft.d2000.datatable.ColumnType>getColumnTypes()Get ordered list of all column types.booleangetColumnUseLimits(int columnIndex)Deprecated.As of R39, replaced byisLimitsUsed(int)booleangetColumnUsePrAlarm(int columnIndex)Deprecated.As of R39, replaced byisProcessAlarmUsed(int)booleangetColumnUseStartVal(int columnIndex)Deprecated.As of R39, replaced byisStartValueUsed(int)intgetStructureColumnCount()Get number of columns in strucure.booleanisLimitsUsed(int columnIndex)Gettrueif column has limit values specified,falseotherwise.booleanisProcessAlarmUsed(int columnIndex)Gettrueif column has usage of process alarm turned on,falseotherwise.booleanisStartValueUsed(int columnIndex)Gettrueif column has a default value for new row specified,falseotherwise.-
Methods inherited from interface sk.ipesoft.d2000.d2japi.D2ObjectInfo
getCols, getColumnCount, getDescription, getHobj, getHOBJ, getName, getParent, getParentHobj, getRowCount, getRows, getStateTextHobj, getStrucDefinitionID, getStructureDefinitionHobj, getTechnicalUnit, getTechnicalUnits, getTextPalID, getTransformationPaletteIndex, getTransPalID, getType, getUuid, getValue
-
-
-
-
Method Detail
-
getColCount
@Deprecated int getColCount()
Deprecated. As of R39, replaced bygetStructureColumnCount()Get number of columns in strucure.- Returns:
- number of columns
-
getStructureColumnCount
int getStructureColumnCount()
Get number of columns in strucure.- Returns:
- number of columns
-
getColumnDescription
java.lang.String getColumnDescription(int columnIndex)
Get human-readable title of column at the indexed position. Title is to be displayed in user interface. Note: throwsArrayIndexOutOfBoundsExceptionfor invalid index.- Parameters:
columnIndex- Zero based index of the column- Returns:
- human-readable title of the column
-
getColumnIndex
java.lang.Integer getColumnIndex(java.lang.String columnName)
Get index of column identified by its name ornullfor unknown column.- Parameters:
columnName- name of the column- Returns:
- index of the column or
null
-
getColumnName
java.lang.String getColumnName(int columnIndex)
Get technical name of column (identifier) at the indexed position. Note: throwsArrayIndexOutOfBoundsExceptionfor invalid index.- Parameters:
columnIndex- zero-based index of the column- Returns:
- name of the column
-
getColumnStateTextHobj
int getColumnStateTextHobj(int columnIndex)
Get HOBJ ofStateTextDefinitionobject that should be used for displaying values from indexed column or zero if not used. In case that transformation palette and state text are used, state text takes precedence.- Parameters:
columnIndex- columnIndex zero based index of the column- Returns:
- HOBJ of
StateTextDefinitionassociated with the column values
-
getColumnStatusTextHOBJ
@Deprecated int getColumnStatusTextHOBJ(int columnIndex)
Deprecated. As of R39, replaced byD2ObjectInfo.getStateTextHobj()Get HOBJ ofStateTextDefinitionobject that should be used for displaying values from indexed column or zero if not used. In case that transformation palette and state text are used, state text takes precedence.- Parameters:
columnIndex- columnIndex zero based index of the column- Returns:
- HOBJ of
StateTextDefinitionassociated with the column values
-
getColumnTransPalIdx
@Deprecated int getColumnTransPalIdx(int columnIndex)
Deprecated. As of R39, replaced bygetColumnTransformationPaletteIndex(int)Get one-based index of transformation palette used for displaying values from indexed column or zero if not used. In case that transformation palette and state text are used, state text takes precedence.- Parameters:
columnIndex- zero based index of the column- Returns:
- one-based index of associated transformation palette
-
getColumnTransformationPaletteIndex
int getColumnTransformationPaletteIndex(int columnIndex)
Get one-based index of transformation palette used for displaying values from indexed column or zero if not used. In case that transformation palette and state text are used, state text takes precedence.- Parameters:
columnIndex- zero based index of the column- Returns:
- one-based index of associated transformation palette
-
getColumnType
sk.ipesoft.d2000.datatable.ColumnType getColumnType(int columnIndex)
Get type of column at the indexed position. Note: throwsArrayIndexOutOfBoundsExceptionfor invalid index.- Parameters:
columnIndex- zero-based index of the column- Returns:
- type of the column
-
getColumnTypes
java.util.Collection<sk.ipesoft.d2000.datatable.ColumnType> getColumnTypes()
Get ordered list of all column types.- Returns:
- ordered list of all column types
-
getColumnUseLimits
@Deprecated boolean getColumnUseLimits(int columnIndex)
Deprecated. As of R39, replaced byisLimitsUsed(int)Gettrueif column has limit values specified,falseotherwise.- Parameters:
columnIndex- zero based index of the column- Returns:
trueif column has limit values specified,falseotherwise
-
getColumnUsePrAlarm
@Deprecated boolean getColumnUsePrAlarm(int columnIndex)
Deprecated. As of R39, replaced byisProcessAlarmUsed(int)Gettrueif column has usage of process alarm turned on,falseotherwise.- Parameters:
columnIndex- columnIndex zero based index of the column- Returns:
trueif column has usage of process alarm turned on,falseotherwise
-
getColumnUseStartVal
@Deprecated boolean getColumnUseStartVal(int columnIndex)
Deprecated. As of R39, replaced byisStartValueUsed(int)Gettrueif column has a default value for new row specified,falseotherwise. Default value is used only in global structured value objects.- Parameters:
columnIndex- zero based index of the column- Returns:
trueif column has a default value for new row specified,falseotherwise
-
isLimitsUsed
boolean isLimitsUsed(int columnIndex)
Gettrueif column has limit values specified,falseotherwise.- Parameters:
columnIndex- zero based index of the column- Returns:
trueif column has limit values specified,falseotherwise
-
isProcessAlarmUsed
boolean isProcessAlarmUsed(int columnIndex)
Gettrueif column has usage of process alarm turned on,falseotherwise.- Parameters:
columnIndex- columnIndex zero based index of the column- Returns:
trueif column has usage of process alarm turned on,falseotherwise
-
isStartValueUsed
boolean isStartValueUsed(int columnIndex)
Gettrueif column has a default value for new row specified,falseotherwise. Default value is used only in global structured value objects.- Parameters:
columnIndex- zero based index of the column- Returns:
trueif column has a default value for new row specified,falseotherwise
-
-