com.borland.jbuilder.jot
Interface JotCondition

All Superinterfaces:
JotExpression, JotMarker, JotSourceElement

public interface JotCondition
extends JotExpression

This class represents a conditional expression (? :). See section 15.24 in the Java Language Specification 15.24 for more information.


Method Summary
 JotExpression getComparison()
          Returns the comparison.
 JotExpression getLHS()
          Returns the expression to the left of the ':'.
 JotExpression getRHS()
          Returns the expression to the right of the ':'.
 void setComparison(java.lang.String c)
          Sets the value of the comparison.
 
Methods inherited from interface com.borland.jbuilder.jot.JotExpression
getAssignment, getCondition, getMethodCall, getNew, getOperation, getValue, getVariable, isConstant, isNull
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 
Methods inherited from interface com.borland.jbuilder.jot.JotSourceElement
getIndentLevel, getParent, getText, isModified, setModified, setText
 

Method Detail

getLHS

public JotExpression getLHS()
Returns the expression to the left of the ':'.

getRHS

public JotExpression getRHS()
Returns the expression to the right of the ':'.

getComparison

public JotExpression getComparison()
Returns the comparison.

setComparison

public void setComparison(java.lang.String c)
Sets the value of the comparison.