com.businessobjects.rebean.wi
Class ReferenceUpdateMode

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

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

The ReferenceUpdateMode class describes the reference update modes.

Since:
12.0
See Also:
Serialized Form

Field Summary
static int _AUTO
          Returns the int value corresponding to "AUTO" ReferenceUpdateMode
static int _DISABLED
          Returns the int value corresponding to "DISABLED" ReferenceUpdateMode
static int _USER_DEFINED
          Returns the int value corresponding to "USER_DEFINED" ReferenceUpdateMode
static ReferenceUpdateMode AUTO
          Automatic reference update.
static ReferenceUpdateMode DISABLED
          Disabled the Track Data feature on the document.
static ReferenceUpdateMode USER_DEFINED
          Reference update was made on user demand.
 
Method Summary
static ReferenceUpdateMode fromInt(int val)
          Create a ReferenceUpdateMode instance corresponding to val.
 java.lang.String toString()
          Returns the String representation of this update mode.
 int value()
          Returns the int value of this update mode.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_AUTO

public static final int _AUTO
Returns the int value corresponding to "AUTO" ReferenceUpdateMode

See Also:
Constant Field Values

_USER_DEFINED

public static final int _USER_DEFINED
Returns the int value corresponding to "USER_DEFINED" ReferenceUpdateMode

See Also:
Constant Field Values

_DISABLED

public static final int _DISABLED
Returns the int value corresponding to "DISABLED" ReferenceUpdateMode

See Also:
Constant Field Values

AUTO

public static final ReferenceUpdateMode AUTO
Automatic reference update.


USER_DEFINED

public static final ReferenceUpdateMode USER_DEFINED
Reference update was made on user demand.


DISABLED

public static final ReferenceUpdateMode DISABLED
Disabled the Track Data feature on the document.

Method Detail

value

public int value()
Returns the int value of this update mode.

Returns:
the int value of this update mode.

toString

public java.lang.String toString()
Returns the String representation of this update mode.

Overrides:
toString in class java.lang.Object
Returns:
the String representation of this update mode.

fromInt

public static ReferenceUpdateMode fromInt(int val)
Create a ReferenceUpdateMode instance corresponding to val.

The object returned will be either a ReferenceUpdateMode ref for which ref.value() == value, or null when value does not correspond to a ReferenceUpdateMode.

Parameters:
val - An int value corresponding to a ReferenceUpdateMode
Returns:
A ReferenceUpdateMode instance corresponding to value, or null when value does not correspond to a ReferenceUpdateMode