com.bankframe.examples.txnhandler.connector.coboltest.parser.cobol
Class CobolCondition

java.lang.Object
  extended bycom.bankframe.examples.txnhandler.connector.coboltest.parser.cobol.CobolCondition

public class CobolCondition
extends java.lang.Object

This class represents a Cobol Condition on a CobolElementryDataItem


Constructor Summary
CobolCondition(java.lang.String name, java.lang.String value)
          CobolCondition constructor comment.
 
Method Summary
 short getLevel()
          This method gets the Cobol level number for Cobol Conditions.
 java.lang.String getName()
          This method gets the name of this condition.
 java.lang.String getValue()
          This method gets the values assinged to the condition.
 void setName(java.lang.String name)
          This method sets the name of this condition.
 void setValue(java.lang.String value)
          This method sets the values assinged to this condition.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CobolCondition

public CobolCondition(java.lang.String name,
                      java.lang.String value)
CobolCondition constructor comment.

Parameters:
name - the name to assign to the condition.
value - the value to assign to the condition.
Method Detail

getLevel

public short getLevel()
This method gets the Cobol level number for Cobol Conditions.

Returns:
the record level number this will always be 88.

getName

public java.lang.String getName()
This method gets the name of this condition.

Returns:
the name of this dataitem.

getValue

public java.lang.String getValue()
This method gets the values assinged to the condition.

Returns:
the condition value.

setName

public void setName(java.lang.String name)
This method sets the name of this condition.

Parameters:
name - the name of this condition.

setValue

public void setValue(java.lang.String value)
This method sets the values assinged to this condition.

Parameters:
value - the value to assigned to this condition.


Copyright © 2005, 2007, Oracle. All rights reserved.