Package hec.model
Class LogicalOperator
java.lang.Object
hec.model.LogicalOperator
- All Implemented Interfaces:
hec.io.AsciiSerializable,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetFieldObject(Field fld) intReturns the operator that this object represents.booleansetFieldObject(Field fld, Object fobj) toString()
-
Field Details
-
NO_OPERATOR
public static final int NO_OPERATOR- See Also:
-
AND_OPERATOR
public static final int AND_OPERATOR- See Also:
-
OR_OPERATOR
public static final int OR_OPERATOR- See Also:
-
TOSTRING_VALUES
-
-
Constructor Details
-
LogicalOperator
public LogicalOperator() -
LogicalOperator
public LogicalOperator(int operator)
-
-
Method Details
-
equals
-
clone
-
getOperator
public int getOperator()Returns the operator that this object represents. The operator will be one of the following, AND_OPERATOR, OR_OPERATOR, or NO_OPERATOR.- Returns:
- int value representing the operator type.
-
toString
-
getFieldObject
- Specified by:
getFieldObjectin interfacehec.io.AsciiSerializable
-
setFieldObject
- Specified by:
setFieldObjectin interfacehec.io.AsciiSerializable
-