gec.gctparser
Class DataItemParser
java.lang.Object
gec.gctparser.DataItemParser
public class DataItemParser
- extends java.lang.Object
Parses the line for use with the DataItems table.
The DataItems table has the following fields
ItemId - text 40
Event - text 30
M21 - text 9
Module0 - text 40
TopFBID - text 20
ValID - text 50
VarType - integer
WriteAccess - yes/no
DefaultValue - integer
MinValue - integer
MaxValue - integer
Internal - yes/no
Description - text 50
- Author:
- bburch
Method Summary |
void |
parse()
Parse the line for the DataItems. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
itemId
public java.lang.String itemId
eventId
public java.lang.String eventId
m21
public java.lang.String m21
module0
public java.lang.String module0
topFbId
public java.lang.String topFbId
valId
public java.lang.String valId
varType
public int varType
writeAccess
public boolean writeAccess
defaultValue
public int defaultValue
minValue
public int minValue
maxValue
public int maxValue
internal
public boolean internal
description
public java.lang.String description
isArray
public boolean isArray
hasDefaultValue
public boolean hasDefaultValue
isUserType
public boolean isUserType
USERTYPE
public static final int USERTYPE
- See Also:
- Constant Field Values
BOOLTYPE
public static final int BOOLTYPE
- See Also:
- Constant Field Values
REALTYPE
public static final int REALTYPE
- See Also:
- Constant Field Values
DINTTYPE
public static final int DINTTYPE
- See Also:
- Constant Field Values
SHORTINTTYPE
public static final int SHORTINTTYPE
- See Also:
- Constant Field Values
STRINGTYPE
public static final int STRINGTYPE
- See Also:
- Constant Field Values
ARRAYTYPE
public static final int ARRAYTYPE
- See Also:
- Constant Field Values
tagSuffix
public static int tagSuffix
- This is used as the automatic incrementing suffix for
itemId. Set to -1 to not use.
DataItemParser
public DataItemParser(GctLineParser gctLineParser,
java.util.Vector vectorOfEnumeratedTypes)
- Constructor.
- Parameters:
gctLineParser
- GctLineParser - already has parsed line
parse
public void parse()
- Parse the line for the DataItems.