fdda.propertyTypes
Class AbstractGenerator
java.lang.Object
|
+--fdda.propertyTypes.AbstractGenerator
- All Implemented Interfaces:
- TypeGenerator
- Direct Known Subclasses:
- BooleanGenerator, DoubleGenerator, IntegerGenerator, NodeTypeGenerator, StringGenerator
- public abstract class AbstractGenerator
- extends Object
- implements TypeGenerator
Abstract superclass for type generators. Provides implementations of
getLastCorrectAction and describeAction, which are the same for many type
generators.
- Author:
- Jörg Rüdenauer
Field Summary |
protected int |
correctValueRetCode
der Returncode der letzten Ausführung von correctValue() |
Fields inherited from interface fdda.propertyTypes.TypeGenerator |
FACET_DEFAULT_IS_GREATER_THAN_MAX, FACET_DEFAULT_IS_LOWER_THAN_MIN, FACET_DEFAULT_NOT_ALLOWED, FACET_MIN_IS_GREATER_THAN_MAX, FACET_OF_WRONG_TYPE, VALUE_SET_TO_CLASS_DEFAULT, VALUE_SET_TO_MAX, VALUE_SET_TO_MIN, VALUE_SET_TO_USER_DEFAULT, WELL_DONE, WRONG_CLASS_OBJECT |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
correctValueRetCode
protected int correctValueRetCode
- der Returncode der letzten Ausführung von correctValue()
AbstractGenerator
public AbstractGenerator()
getlastCorrectAction
public int getlastCorrectAction()
- Description copied from interface:
TypeGenerator
- Returns the last action made by correctValue
- Specified by:
getlastCorrectAction
in interface TypeGenerator
- Returns:
- the code of the last correcting action
- See Also:
TypeGenerator.correctValue(Object, Property)
describeAction
public String describeAction(int actionCode)
- Description copied from interface:
TypeGenerator
- Returns a String describing a correcting action, user-friendly
- Specified by:
describeAction
in interface TypeGenerator
- Parameters:
actionCode
- the code of the action
- Returns:
- the description of that action
API documentation for FDDA version 0.9. Generated on 17/02/2004 14:12.