public class IMCMessageType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_SIZE |
Constructor and Description |
---|
IMCMessageType() |
IMCMessageType(IMCMessageType superType) |
Modifier and Type | Method and Description |
---|---|
void |
addField(java.lang.String abbrv,
java.lang.String fieldType,
java.lang.String unit,
java.lang.String min,
java.lang.String max) |
int |
getComputedLength() |
java.lang.Object |
getDefaultValue(java.lang.String field) |
java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
getDefaultValues() |
java.lang.String |
getFieldDescription(java.lang.String field) |
java.util.Collection<IMCFieldType> |
getFieldIMCTypes() |
java.util.LinkedHashMap<java.lang.String,java.lang.Long> |
getFieldMeanings(java.lang.String abbrev) |
java.util.Collection<java.lang.String> |
getFieldNames() |
java.util.LinkedHashMap<java.lang.Long,java.lang.String> |
getFieldPossibleValues(java.lang.String abbrev) |
java.lang.String |
getFieldPrefix(java.lang.String field) |
java.lang.String |
getFieldSubtype(java.lang.String abbrev) |
IMCFieldType |
getFieldType(java.lang.String field) |
java.lang.String |
getFieldUnits(java.lang.String field) |
java.util.Vector<java.lang.String> |
getFlags() |
java.lang.String |
getFullFieldName(java.lang.String field) |
java.lang.String |
getFullName() |
int |
getId() |
java.lang.String |
getImcVersion() |
java.lang.String |
getMessageDescription() |
int |
getOffsetOf(java.lang.String field) |
java.lang.String |
getShortName() |
int |
getSize() |
IMCMessageType |
getSupertype() |
boolean |
hasFlag(java.lang.String flag) |
boolean |
isAbstract() |
static boolean |
isInitializable(java.lang.String type) |
static boolean |
isNumericType(java.lang.String type) |
void |
setComputedLength(int computedLength) |
void |
setFieldDescription(java.lang.String field,
java.lang.String description) |
void |
setFieldName(java.lang.String field,
java.lang.String fullname) |
void |
setFieldPossibleValues(java.lang.String abbrev,
java.util.LinkedHashMap<java.lang.Long,java.lang.String> possibleValues) |
void |
setFieldPrefix(java.lang.String field,
java.lang.String prefix) |
void |
setFieldSubtype(java.lang.String abbrev,
java.lang.String subtype) |
void |
setFullName(java.lang.String fullName) |
void |
setId(int id) |
void |
setImcVersion(java.lang.String imcVersion) |
void |
setMessageDescription(java.lang.String description) |
void |
setShortName(java.lang.String shortName) |
void |
setSize(int size) |
void |
setSuperType(IMCMessageType msgType) |
java.lang.String |
toString() |
public static final int UNKNOWN_SIZE
public IMCMessageType()
public IMCMessageType(IMCMessageType superType)
public java.util.Vector<java.lang.String> getFlags()
public boolean hasFlag(java.lang.String flag)
public java.lang.Object getDefaultValue(java.lang.String field)
public int getOffsetOf(java.lang.String field)
public static boolean isNumericType(java.lang.String type)
public static boolean isInitializable(java.lang.String type)
public void addField(java.lang.String abbrv, java.lang.String fieldType, java.lang.String unit, java.lang.String min, java.lang.String max)
public void setFieldPossibleValues(java.lang.String abbrev, java.util.LinkedHashMap<java.lang.Long,java.lang.String> possibleValues)
public void setFieldPrefix(java.lang.String field, java.lang.String prefix)
public java.lang.String getFieldPrefix(java.lang.String field)
public java.util.Collection<java.lang.String> getFieldNames()
public java.util.Collection<IMCFieldType> getFieldIMCTypes()
public IMCFieldType getFieldType(java.lang.String field)
public java.lang.String getFieldUnits(java.lang.String field)
public java.util.LinkedHashMap<java.lang.Long,java.lang.String> getFieldPossibleValues(java.lang.String abbrev)
public java.util.LinkedHashMap<java.lang.String,java.lang.Long> getFieldMeanings(java.lang.String abbrev)
public boolean isAbstract()
public int getId()
public void setId(int id)
public int getComputedLength()
public void setComputedLength(int computedLength)
public int getSize()
public void setSize(int size)
public java.lang.String getFullName()
public void setFullName(java.lang.String fullName)
public java.lang.String getShortName()
public void setShortName(java.lang.String shortName)
public java.lang.String getImcVersion()
public void setImcVersion(java.lang.String imcVersion)
public void setFieldDescription(java.lang.String field, java.lang.String description)
public void setFieldName(java.lang.String field, java.lang.String fullname)
public java.lang.String getFieldDescription(java.lang.String field)
public java.lang.String getFullFieldName(java.lang.String field)
public java.lang.String getMessageDescription()
public void setMessageDescription(java.lang.String description)
public java.util.LinkedHashMap<java.lang.String,java.lang.Object> getDefaultValues()
public void setFieldSubtype(java.lang.String abbrev, java.lang.String subtype)
public java.lang.String getFieldSubtype(java.lang.String abbrev)
public IMCMessageType getSupertype()
public void setSuperType(IMCMessageType msgType) throws java.lang.Exception
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object