public class DLITypeInfoList extends DLITypeInfo
public class ModelOutput extends IMSFieldMessage {
static DLITypeInfo[] modelTypeInfo = {
new DLITypeInfo("Make", DLITypeInfo.CHAR, 1, 20),
new DLITypeInfo("Model", DLITypeInfo.CHAR, 21, 20),
new DLITypeInfo("Color", DLITypeInfo.CHAR, 41, 20)
};
static DLITypeInfo[] modelOutputTypeInfo = {
new DLITypeInfo ("ModelCount", DLITypeInfo.INTEGER, 1, 4),
new DLITypeInfoList ("ModelList", modelTypeInfo, 5, 60, 100)
};
public ModelOutput() {
super(modelOutputTypeInfo, 6004, false);
}
}
ARRAY, BIGINT, BINARY, BIT, BLOB, CHAR, CLOB, DATE, DBCS, DOUBLE, FLOAT, INTEGER, NON_UNIQUE_KEY, NOT_KEY, OTHER, PACKEDDECIMAL, SECONDARY_INDEX, SMALLINT, STRUCT, TIME, TIMESTAMP, TINYINT, TYPELIST, UBIGINT, UINTEGER, UNIQUE_KEY, USMALLINT, UTINYINT, VARCHAR, XML, ZONEDDECIMAL| Constructor and Description |
|---|
DLITypeInfoList(java.lang.String listName,
DLITypeInfo[] typeInfo,
int startingOffset,
int length,
int count)
Constructs a DLITypeInfoList object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Returns the count of repeating fields.
|
int |
getStructureLength()
Returns the total structure length
|
DLITypeInfo[] |
getTypeInfo()
Returns the DLITypeInfo[] object
|
getDBType, getFieldLength, getFieldName, getFieldOffset, getFieldType, getIsRoot, getKeyType, getPrecision, getScale, getSearchFieldName, getTypeQualifier, getXmlSchema, isSignedpublic DLITypeInfoList(java.lang.String listName,
DLITypeInfo[] typeInfo,
int startingOffset,
int length,
int count)
listName - the name of the repeating set of fieldsstartingOffset - the starting offset in the I/O area of this set of fields, beginning at
offset 1length - the length, in bytes, of one instance of this set of fieldscount - the number of times the fields repeatjava.lang.IllegalArgumentException - if the starting offset is less than zero,
or an invalid length is givenpublic final int getCount()
public int getStructureLength()
public DLITypeInfo[] getTypeInfo()