com.adobe.idp.dsc.filter
Class Connective

java.lang.Object
  extended by com.adobe.idp.dsc.filter.Connective
All Implemented Interfaces:
java.io.Serializable

public class Connective
extends java.lang.Object
implements java.io.Serializable

An object that represents a logical AND or OR value used to connect filtering conditions.

See Also:
Serialized Form

Field Summary
static Connective AND
          A static Connective object representing a logical AND.
 java.lang.String connective
          Indicates whether the newly created object uses a logical AND or OR value.
static Connective OR
          A static Connective object representing a logical OR.
 
Constructor Summary
Connective(java.lang.String connective)
          Constructor that uses a String indicating whether the newly created object uses a logical AND or OR value.
 
Method Summary
static Connective fromString(java.lang.String aConnectiveStr)
          A conversion method that creates a new Connective object based on a String indicating whether the newly created object uses a logical AND or OR value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connective

public java.lang.String connective
Indicates whether the newly created object uses a logical AND or OR value. Its possible values are "AND" and "OR".


AND

public static final Connective AND
A static Connective object representing a logical AND.


OR

public static final Connective OR
A static Connective object representing a logical OR.

Constructor Detail

Connective

public Connective(java.lang.String connective)
Constructor that uses a String indicating whether the newly created object uses a logical AND or OR value.

Parameters:
connective - Indicates whether the newly created object uses a logical AND or OR value. Its possible values are "AND" and "OR".
Method Detail

fromString

public static final Connective fromString(java.lang.String aConnectiveStr)
A conversion method that creates a new Connective object based on a String indicating whether the newly created object uses a logical AND or OR value.

Parameters:
aConnectiveStr - Indicates whether the newly created object uses a logical AND or OR value. Its possible values are "AND" and "OR".
Returns:
Connective A new Connective object representing a logical AND or OR.


[an error occurred while processing this directive] [an error occurred while processing this directive]