|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.api.lib.rule.LogicalOperator
public class LogicalOperator
Class for logical rule operators
Field Summary | |
---|---|
static LogicalOperator |
OPERATOR_AND
constant logical AND operator |
static LogicalOperator |
OPERATOR_OR
constant logical OR operator |
static LogicalOperator |
OPERATOR_UNDEF
constant logical undefined operator |
static int |
TYPE_AND
type of the operator AND |
static int |
TYPE_OR
type of the operator OR |
static int |
TYPE_UNDEF
type of an undefined logical rule operator |
Constructor Summary | |
---|---|
LogicalOperator(int type)
create an instance of a logical operator with given type. |
Method Summary | |
---|---|
int |
getType()
get the type of the operator |
java.lang.String |
toString()
get a string representation of the logical operator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_UNDEF
public static final int TYPE_AND
public static final int TYPE_OR
public static final LogicalOperator OPERATOR_AND
public static final LogicalOperator OPERATOR_OR
public static final LogicalOperator OPERATOR_UNDEF
Constructor Detail |
---|
public LogicalOperator(int type)
TYPE_AND
,TYPE_OR
or TYPE_UNDEF
.
type
- type of the operatorMethod Detail |
---|
public int getType()
Operator
getType
in interface Operator
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 |