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

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

public class SummaryMetadataType
extends java.lang.Object

This class contains constants that define what summary metadata is available


Field Summary
static int _doNotSummarize
           Indicates that the data source has metadata and the metadata indicates that the field should not be summarized.
static int _hasSummaryMetadata
           Indicates that the data source has metadata and offers a recommended summary operation for the field.
static int _noMetadata
           Indicates that the data source does not provide any metadata for the summary.
static SummaryMetadataType DoNotSummarize
           A SummaryMetadataType object that indicates there is metadata and the metadata recommends the fields not be summarized.
static SummaryMetadataType HasSummaryMetadata
           A SummaryMetadataType object that indicates there is metadata and the metadata recommends a specific summary operation.
static SummaryMetadataType NoMetadata
           A SummaryMetadataType object that indicates there is no metadata.
 
Method Summary
static SummaryMetadataType from_int(int i)
           Returns the SummaryMetadataType corresponding to the specified value.
static SummaryMetadataType from_string(java.lang.String sVal)
           Returns the SummaryMetadataType corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this SummaryMetadataType object.
 int value()
           Returns the int value of this SummaryMetadataType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_noMetadata

public static final int _noMetadata

Indicates that the data source does not provide any metadata for the summary.

See Also:
Constant Field Values

_doNotSummarize

public static final int _doNotSummarize

Indicates that the data source has metadata and the metadata indicates that the field should not be summarized.

See Also:
Constant Field Values

_hasSummaryMetadata

public static final int _hasSummaryMetadata

Indicates that the data source has metadata and offers a recommended summary operation for the field.

See Also:
Constant Field Values

NoMetadata

public static final SummaryMetadataType NoMetadata

A SummaryMetadataType object that indicates there is no metadata.


DoNotSummarize

public static final SummaryMetadataType DoNotSummarize

A SummaryMetadataType object that indicates there is metadata and the metadata recommends the fields not be summarized.


HasSummaryMetadata

public static final SummaryMetadataType HasSummaryMetadata

A SummaryMetadataType object that indicates there is metadata and the metadata recommends a specific summary operation.

Method Detail

from_int

public static final SummaryMetadataType from_int(int i)

Returns the SummaryMetadataType corresponding to the specified value.

Parameters:
i - The int value of the desired SummaryMetadataType object.
Returns:
The SummaryMetadataType corresponding to the specified value.

from_string

public static final SummaryMetadataType from_string(java.lang.String sVal)

Returns the SummaryMetadataType corresponding to the specified type.

Parameters:
sVal - The String value of the desired SummaryMetadataType object.
Returns:
The SummaryMetadataType corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this SummaryMetadataType object.

Overrides:
toString in class java.lang.Object
Returns:
A String containing the value of this SummaryMetadataType object.

value

public int value()

Returns the int value of this SummaryMetadataType object.

Returns:
An int that specifies the value of this SummaryMetadataType object.