dip.order
Class ValidationOptions
java.lang.Object
dip.order.ValidationOptions
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class ValidationOptions
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
Controls how orders are validated.
This is expandable and adaptable, both for GUI use
and for future non-standard adjudicator use.
Currently, there are 2 levels; LOOSE and STRICT.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_GLOBAL_PARSING
public static final java.lang.String KEY_GLOBAL_PARSING
- See Also:
- Constant Field Values
VALUE_GLOBAL_PARSING_STRICT
public static final java.lang.String VALUE_GLOBAL_PARSING_STRICT
- See Also:
- Constant Field Values
VALUE_GLOBAL_PARSING_LOOSE
public static final java.lang.String VALUE_GLOBAL_PARSING_LOOSE
- See Also:
- Constant Field Values
OPTION_GLOBAL_PARSING
public static final ValidationOptions.Option OPTION_GLOBAL_PARSING
_OPTIONS
protected static final ValidationOptions.Option[] _OPTIONS
map
protected java.util.Hashtable map
options
protected ValidationOptions.Option[] options
ValidationOptions
public ValidationOptions()
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- for clone():
The hashtable is cloned, using hashtable.clone(). Althoug this is a shallow
copy, keys are OK to be shallow, and so are values, since all values are constants
anyway. The only important thing is that a new hashtable is made, that
is similar to the old hashtable.
only data in the hashtable changes between objects for a given validationOptions
- Throws:
java.lang.CloneNotSupportedException
getOptions
public ValidationOptions.DescriptiveOption[] getOptions()
setOption
public void setOption(java.lang.String key,
java.lang.Object value)
getOption
public java.lang.Object getOption(java.lang.String key)
isOption
public boolean isOption(java.lang.String key,
java.lang.Object value)
clearOptions
public final void clearOptions()
Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.