|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.tl1.message.TL1Line
public class TL1Line
This class consists of text that is part of the Text Block in the Output Message. Types of lines are: Quoted Line, Unquoted Line and Commented Line.
TL1Param| Field Summary | |
|---|---|
static byte |
COMMENTED_LINE
Constant for commented line type |
static byte |
QUOTED_LINE
Constant for quoted line type |
static byte |
UNQUOTED_LINE
Constant for unquoted line type |
| Constructor Summary | |
|---|---|
TL1Line()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addBlock(java.util.Vector param)
Adds a block (vector of params) to this object's block. |
void |
addParam(TL1Param param)
Adds the TL1Param objects to the Vector. |
java.util.Vector |
getBlock()
Get the vector of TL1Param objects. |
byte |
getTL1LineType()
To get the TL1Line type. |
void |
setBlock(java.util.Vector block)
Set the vector of TL1Param objects with the given vector. |
void |
setCommentText(java.lang.String commentText)
Set the text string of the commented text line. |
void |
setTL1LineType(byte type)
To set the TL1Line type. |
java.lang.String |
toString()
To convert object to string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static byte COMMENTED_LINE
public static byte UNQUOTED_LINE
public static byte QUOTED_LINE
| Constructor Detail |
|---|
public TL1Line()
| Method Detail |
|---|
public void setTL1LineType(byte type)
This could be any one of the three bytes , viz those represented by
TL1Line.COMMENTED_LINE ,
TL1Line.UNQUOTED_LINE ,
TL1Line.QUOTED_LINE
type - line type as byte.public byte getTL1LineType()
This could be any one of the three bytes , viz those represented by
TL1Line.COMMENTED_LINE ,
TL1Line.UNQUOTED_LINE ,
TL1Line.QUOTED_LINE
public java.util.Vector getBlock()
TL1Parampublic void setBlock(java.util.Vector block)
block - vector of TL1Param objects.TL1Parampublic void addBlock(java.util.Vector param)
param - Vector of TL1Param objects that is added.TL1Parampublic void addParam(TL1Param param)
param - TL1Param object.TL1Parampublic void setCommentText(java.lang.String commentText)
commentText - Commented text line as string.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||