CA Identity Manager
Java SDK r12.5

 

com.netegrity.llsdk6.imsapi.type
Class ConjunctionType

java.lang.Object
  extended by com.netegrity.llsdk6.imsapi.type.ConjunctionType

public class ConjunctionType
extends java.lang.Object

Contains type-safe constants for the conjunctions used to combine search expression clauses.

Since:
IdentityMinder 6.0
See Also:
SearchExpression

Field Summary
static ConjunctionType AND
          AND conjunction.
static java.lang.String CONJUNCTION_DELIMITERS
          A String containing all conjunction encodings, for use as a delimiter qualifier for StringTokenizers.
static ConjunctionType OR
          OR conjunction.
static ConjunctionType UNKNOWN
          Represents an unknown conjunction type.
 
Method Summary
static ConjunctionType fromString(java.lang.String friendly)
          Retrieves the enumerated value mapped to the specified friendly name.
 java.lang.String getFriendlyName()
          Returns the friendly name for this enumerated value.
 java.lang.String marshall()
          Retrieves a String value representing this conjunction type.
 java.lang.String toString()
           
static ConjunctionType unmarshall(java.lang.String code)
          Retrieves the ConjunctionType value that corresponds to the specified String value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONJUNCTION_DELIMITERS

public static final java.lang.String CONJUNCTION_DELIMITERS
A String containing all conjunction encodings, for use as a delimiter qualifier for StringTokenizers.

See Also:
Constant Field Values

UNKNOWN

public static final ConjunctionType UNKNOWN
Represents an unknown conjunction type. Typically indicates an unmarshalling or other error.


AND

public static final ConjunctionType AND
AND conjunction. Indicates a boolean AND relationship between two clauses.


OR

public static final ConjunctionType OR
OR conjunction. Indicates a boolean OR relationship between two clauses.

Method Detail

marshall

public java.lang.String marshall()

Retrieves a String value representing this conjunction type.

This method is intended for marshalling objects for serialization over the wire or to persistant storage. Using it for any other purpose will likely cause unpredictable results.

Returns:
A String representing this conjunction type.

unmarshall

public static ConjunctionType unmarshall(java.lang.String code)

Retrieves the ConjunctionType value that corresponds to the specified String value.

This method is intended for unmarshalling objects from serialization for the wire or from persistant storage. Using it for any other purpose will likely cause unpredictable results.

Parameters:
code - A String representing a particular conjunction type value.
Returns:
The ConjunctionType value corresponding to the input parameter. If the value cannot be understood, ConjunctionType.UNKNOWN is returned.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getFriendlyName

public java.lang.String getFriendlyName()
Returns the friendly name for this enumerated value.

Returns:
The friendly name.

fromString

public static ConjunctionType fromString(java.lang.String friendly)
Retrieves the enumerated value mapped to the specified friendly name.

Parameters:
friendly - The friendly name associated with the enumerated conjunction type value.
Returns:
One of the singletons if matched, or UNKNOWN if not.

CA Identity Manager
Java SDK r12.5

10/22/2009

© 2009 CA, Inc. All rights reserved.