wt.step.processor
Class ImportScheme

java.lang.Object
  extended bywt.step.processor.ImportScheme
All Implemented Interfaces:
Serializable

public class ImportScheme
extends Object
implements Serializable

Defines a 'scheme' for handling imported instances. The following options are provided:

See Also:
Serialized Form

Field Summary
private  String _displayValue
           
private  String _propertyValue
           
private static Object[] _valueSet
           
static ImportScheme ALWAYS_NEW
           
static ImportScheme MATCH_OR_LATEST
           
static ImportScheme MATCH_OR_NEW
           
 
Constructor Summary
private ImportScheme(String propertyValue, String displayValue)
           
 
Method Summary
 String getDisplay()
           
static ImportScheme getProperty(String propertyName)
           
 String getValue()
           
static ImportScheme getValueFromString(String stringValue)
           
static Object[] getValueSet()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MATCH_OR_LATEST

public static final ImportScheme MATCH_OR_LATEST

MATCH_OR_NEW

public static final ImportScheme MATCH_OR_NEW

ALWAYS_NEW

public static final ImportScheme ALWAYS_NEW

_propertyValue

private String _propertyValue

_displayValue

private String _displayValue

_valueSet

private static final Object[] _valueSet
Constructor Detail

ImportScheme

private ImportScheme(String propertyValue,
                     String displayValue)
Method Detail

getValueSet

public static Object[] getValueSet()

toString

public String toString()

getValue

public String getValue()

getDisplay

public String getDisplay()

getValueFromString

public static ImportScheme getValueFromString(String stringValue)

getProperty

public static ImportScheme getProperty(String propertyName)