it.eng.qbe.query
Class WhereField

java.lang.Object
  extended by it.eng.qbe.query.Field
      extended by it.eng.qbe.query.WhereField
All Implemented Interfaces:
IField, IWhereField, java.io.Serializable

public class WhereField
extends Field
implements IWhereField

The Class WhereField.

See Also:
Serialized Form

Constructor Summary
WhereField()
          Instantiates a new where field.
 
Method Summary
 IWhereField getCopy()
          Gets the copy.
 EntityClass getFieldEntityClassForLeftCondition()
          Gets the field entity class for left condition.
 EntityClass getFieldEntityClassForRightCondition()
          Gets the field entity class for right condition.
 java.lang.String getFieldOperator()
          Gets the field operator.
 java.lang.String getFieldValue()
          Gets the field value.
 int getLeftBracketsNum()
          Gets the left brackets num.
 java.lang.String getNextBooleanOperator()
          Gets the next boolean operator.
 int getRightBracketsNum()
          Gets the right brackets num.
 void setFieldEntityClassForLeftCondition(EntityClass fieldEntityClassForLeftCondition)
          Sets the field entity class for left condition.
 void setFieldEntityClassForRightCondition(EntityClass fieldEntityClassForRightCondition)
          Sets the field entity class for right condition.
 void setFieldOperator(java.lang.String fieldOperator)
          Sets the field operator.
 void setFieldValue(java.lang.String fieldValue)
          Sets the field value.
 void setLeftBracketsNum(int leftBracketsNum)
          Sets the left brackets num.
 void setNextBooleanOperator(java.lang.String nextBooleanOperator)
          Sets the next boolean operator.
 void setRightBracketsNum(int rightBracketsNum)
          Sets the right brackets num.
 
Methods inherited from class it.eng.qbe.query.Field
getFieldName, getId, getPrecision, getScale, getType, setFieldName, setId, setPrecision, setScale, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.eng.qbe.query.IField
getFieldName, getId, getPrecision, getScale, getType, setFieldName, setId, setPrecision, setScale, setType
 

Constructor Detail

WhereField

public WhereField()
Instantiates a new where field.

Method Detail

getCopy

public IWhereField getCopy()
Description copied from interface: IWhereField
Gets the copy.

Specified by:
getCopy in interface IWhereField
Returns:
the copy

getFieldOperator

public java.lang.String getFieldOperator()
Description copied from interface: IWhereField
Gets the field operator.

Specified by:
getFieldOperator in interface IWhereField
Returns:
the field operator

setFieldOperator

public void setFieldOperator(java.lang.String fieldOperator)
Description copied from interface: IWhereField
Sets the field operator.

Specified by:
setFieldOperator in interface IWhereField
Parameters:
fieldOperator - the new field operator

getFieldValue

public java.lang.String getFieldValue()
Description copied from interface: IWhereField
Gets the field value.

Specified by:
getFieldValue in interface IWhereField
Returns:
the field value

setFieldValue

public void setFieldValue(java.lang.String fieldValue)
Description copied from interface: IWhereField
Sets the field value.

Specified by:
setFieldValue in interface IWhereField
Parameters:
fieldValue - the new field value

getNextBooleanOperator

public java.lang.String getNextBooleanOperator()
Description copied from interface: IWhereField
Gets the next boolean operator.

Specified by:
getNextBooleanOperator in interface IWhereField
Returns:
the next boolean operator

setNextBooleanOperator

public void setNextBooleanOperator(java.lang.String nextBooleanOperator)
Description copied from interface: IWhereField
Sets the next boolean operator.

Specified by:
setNextBooleanOperator in interface IWhereField
Parameters:
nextBooleanOperator - the new next boolean operator

getFieldEntityClassForLeftCondition

public EntityClass getFieldEntityClassForLeftCondition()
Description copied from interface: IWhereField
Gets the field entity class for left condition.

Specified by:
getFieldEntityClassForLeftCondition in interface IWhereField
Returns:
the field entity class for left condition

setFieldEntityClassForLeftCondition

public void setFieldEntityClassForLeftCondition(EntityClass fieldEntityClassForLeftCondition)
Description copied from interface: IWhereField
Sets the field entity class for left condition.

Specified by:
setFieldEntityClassForLeftCondition in interface IWhereField
Parameters:
fieldEntityClassForLeftCondition - the new field entity class for left condition

getFieldEntityClassForRightCondition

public EntityClass getFieldEntityClassForRightCondition()
Description copied from interface: IWhereField
Gets the field entity class for right condition.

Specified by:
getFieldEntityClassForRightCondition in interface IWhereField
Returns:
the field entity class for right condition

setFieldEntityClassForRightCondition

public void setFieldEntityClassForRightCondition(EntityClass fieldEntityClassForRightCondition)
Description copied from interface: IWhereField
Sets the field entity class for right condition.

Specified by:
setFieldEntityClassForRightCondition in interface IWhereField
Parameters:
fieldEntityClassForRightCondition - the new field entity class for right condition

getLeftBracketsNum

public int getLeftBracketsNum()
Description copied from interface: IWhereField
Gets the left brackets num.

Specified by:
getLeftBracketsNum in interface IWhereField
Returns:
the left brackets num

setLeftBracketsNum

public void setLeftBracketsNum(int leftBracketsNum)
Description copied from interface: IWhereField
Sets the left brackets num.

Specified by:
setLeftBracketsNum in interface IWhereField
Parameters:
leftBracketsNum - the new left brackets num

getRightBracketsNum

public int getRightBracketsNum()
Description copied from interface: IWhereField
Gets the right brackets num.

Specified by:
getRightBracketsNum in interface IWhereField
Returns:
the right brackets num

setRightBracketsNum

public void setRightBracketsNum(int rightBracketsNum)
Description copied from interface: IWhereField
Sets the right brackets num.

Specified by:
setRightBracketsNum in interface IWhereField
Parameters:
rightBracketsNum - the new right brackets num