com.crystaldecisions.sdk.occa.report.data
Class FilterType

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.data.FilterType

public final class FilterType
extends java.lang.Object

This class defines filter types.

See Also:
IFilter

Field Summary
static int _group
          Group filter.
static int _record
          Record filter.
static int _savedData
          Saved data filter.
static int _unknown
          Unknown filter type.
static int _viewTime
          View-time filter.
static FilterType group
          Group filter.
static FilterType record
          Record filter.
static FilterType savedData
          Saved data filter.
static FilterType unknown
          Unknown filter type.
static FilterType viewTime
          View-time filter.
 
Method Summary
static FilterType from_int(int i)
          Gets a FilterType object that matches the specified integer value.
static FilterType from_string(java.lang.String sVal)
          Gets a FilterType object that matches the specified name.
 java.lang.String toString()
          Returns the String value of the FilterType.
 int value()
          Returns the integer value of the FilterType.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_unknown

public static final int _unknown
Unknown filter type.

See Also:
Constant Field Values

_group

public static final int _group
Group filter.

See Also:
Constant Field Values

_record

public static final int _record
Record filter.

See Also:
Constant Field Values

_viewTime

public static final int _viewTime
View-time filter.

See Also:
Constant Field Values

_savedData

public static final int _savedData
Saved data filter.

See Also:
Constant Field Values

unknown

public static final FilterType unknown
Unknown filter type.


group

public static final FilterType group
Group filter.


record

public static final FilterType record
Record filter.


viewTime

public static final FilterType viewTime
View-time filter.


savedData

public static final FilterType savedData
Saved data filter.

Method Detail

from_int

public static final FilterType from_int(int i)
Gets a FilterType object that matches the specified integer value.

Parameters:
i - an integer representation of the filter type.
Returns:
the filter type for the specified value

from_string

public static final FilterType from_string(java.lang.String sVal)
Gets a FilterType object that matches the specified name.

Parameters:
sVal - the name of a type of filter
Returns:
the filter type for the specified name

toString

public java.lang.String toString()
Returns the String value of the FilterType.

Overrides:
toString in class java.lang.Object
Returns:
a String that identifies the type of filter

value

public int value()
Returns the integer value of the FilterType.

Returns:
an int that identifies the type of filter