com.businessobjects.rebean.wi
Class ChangeDataSourceMappingDetail

java.lang.Object
  extended by com.businessobjects.rebean.wi.ChangeDataSourceMappingDetail
All Implemented Interfaces:
java.io.Serializable

public final class ChangeDataSourceMappingDetail
extends java.lang.Object
implements java.io.Serializable

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

ChangeDataSourceMappingDetail class defines the information of how the default data source object mapping came to its result.

Since:
11.5
See Also:
Serialized Form

Field Summary
static int _AMBIGUOUS
          The int value of AMBIGUOUS.value().
static int _CUSTOM
          The int value of CUSTOM.value().
static int _NOT_FOUND
          The int value of NOT_FOUND.value().
static int _OK
          The int value of OK.value().
static ChangeDataSourceMappingDetail AMBIGUOUS
          The default mapping for a data source object provides an object but it is difficult to predict if this is the correct one.
static ChangeDataSourceMappingDetail CUSTOM
          The detail of a mapping is set to CUSTOM when a client has changed the default mapping by calling ChangeDataSourceObjectMapping.setToObject(DataSourceObject).
static ChangeDataSourceMappingDetail NOT_FOUND
          Following the default rules for data source object mappings, no destination object was found for a given source object.
static ChangeDataSourceMappingDetail OK
          The default mapping for a data source object was established without problems; the destination object is likely to be correct.
 
Method Summary
static ChangeDataSourceMappingDetail fromInt(int i)
          Returns a ChangeDataSourceMappingDetail instance corresponding to a given value.
 java.lang.String toString()
          Returns a String representation of object.
 int value()
          Returns the int value of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_OK

public static final int _OK
The int value of OK.value().

See Also:
Constant Field Values

_AMBIGUOUS

public static final int _AMBIGUOUS
The int value of AMBIGUOUS.value().

See Also:
Constant Field Values

_NOT_FOUND

public static final int _NOT_FOUND
The int value of NOT_FOUND.value().

See Also:
Constant Field Values

_CUSTOM

public static final int _CUSTOM
The int value of CUSTOM.value().

See Also:
Constant Field Values

OK

public static final ChangeDataSourceMappingDetail OK
The default mapping for a data source object was established without problems; the destination object is likely to be correct. When ChangeDataSourceObjectMapping.getMappingDetail() returns this value, ChangeDataSourceObjectMapping.getToObject() will always return null.


AMBIGUOUS

public static final ChangeDataSourceMappingDetail AMBIGUOUS
The default mapping for a data source object provides an object but it is difficult to predict if this is the correct one. Typically this will occur when there were several possibilities for the destination object.


NOT_FOUND

public static final ChangeDataSourceMappingDetail NOT_FOUND
Following the default rules for data source object mappings, no destination object was found for a given source object.


CUSTOM

public static final ChangeDataSourceMappingDetail CUSTOM
The detail of a mapping is set to CUSTOM when a client has changed the default mapping by calling ChangeDataSourceObjectMapping.setToObject(DataSourceObject).

Method Detail

value

public int value()
Returns the int value of this object.

Returns:
the int value of this object.

toString

public java.lang.String toString()
Returns a String representation of object. This function is to be used for debug purposes.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of object

fromInt

public static ChangeDataSourceMappingDetail fromInt(int i)
Returns a ChangeDataSourceMappingDetail instance corresponding to a given value.

Parameters:
i - The int value.
Returns:
an ChangeDataSourceMappingDetail instance corresponding to value, or null when value does not correspond to any ChangeDataSourceMappingDetail.