public class InfoStructureModule
extends java.lang.Object
Constructor and Description |
---|
InfoStructureModule(java.lang.String code2,
java.lang.String name2)
Construct an InfoStructure object
|
Modifier and Type | Method and Description |
---|---|
void |
addFieldInfo(java.lang.String fieldName,
int fieldLength,
int fieldType)
Add a field information (type, name, length) to the information concerning a structure/module
|
java.lang.String |
getCode()
Get the structure/module code
|
java.util.Vector |
getFieldsLength()
Get all the fields length of the fields used by a structure/module
|
java.util.Vector |
getFieldsNames()
Get all the fields names used by a structure/module
|
java.util.Vector |
getFieldsTypes()
Get all the fields types used by a structure/module
|
java.lang.String |
getName()
Get the structure/module name
|
int |
getTotalLength()
Get the structure or module total length in bytes
|
java.lang.String |
toString()
Returns a String representation of the object for debug purposes
|
public InfoStructureModule(java.lang.String code2, java.lang.String name2)
code2
- structure/module codename2
- structure/module namepublic void addFieldInfo(java.lang.String fieldName, int fieldLength, int fieldType)
fieldName
- field namefieldLength
- field lengthfieldType
- field typepublic java.lang.String getCode()
public java.lang.String getName()
public java.util.Vector getFieldsNames()
public java.util.Vector getFieldsLength()
public int getTotalLength()
public java.util.Vector getFieldsTypes()
public java.lang.String toString()
toString
in class java.lang.Object