jigcell.compare
Class IDataSource.Option

java.lang.Object
  extended by jigcell.compare.IDataSource.Option
Enclosing interface:
IDataSource

public static final class IDataSource.Option
extends java.lang.Object

An enumeration of possible persistence types for an option.


Field Summary
static IDataSource.Option COPYONLY
          Indicates that an option should be copied but not persisted with the data source
static IDataSource.Option SAFE
          Indicates that an option should be copied and persisted with the data source.
private  java.lang.String type
          Type of option
static IDataSource.Option UNSAFE
          Indicates that an option should neither be copied nor persisted with the data source
 
Constructor Summary
private IDataSource.Option()
          Not allowed
private IDataSource.Option(java.lang.String type)
          Create a new type of option.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SAFE

public static final IDataSource.Option SAFE
Indicates that an option should be copied and persisted with the data source. The value of an option marked safe must be a String.


COPYONLY

public static final IDataSource.Option COPYONLY
Indicates that an option should be copied but not persisted with the data source


UNSAFE

public static final IDataSource.Option UNSAFE
Indicates that an option should neither be copied nor persisted with the data source


type

private final java.lang.String type
Type of option

Constructor Detail

IDataSource.Option

private IDataSource.Option()
Not allowed


IDataSource.Option

private IDataSource.Option(java.lang.String type)
Create a new type of option.

Parameters:
type - Option type
Method Detail

toString

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