org.melati.poem.prepro
Class ScaleFieldQualifier
java.lang.Object
org.melati.poem.prepro.FieldQualifier
org.melati.poem.prepro.ScaleFieldQualifier
public class ScaleFieldQualifier
- extends FieldQualifier
A FieldQualifier which enables the scale of
BigDecimals to be specified.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScaleFieldQualifier
public ScaleFieldQualifier(StreamTokenizer tokens)
throws org.melati.poem.prepro.ParsingDSDException,
IOException
- Constructor.
- Parameters:
tokens
- the StreamTokenizer
to get tokens from
- Throws:
ParsingDSDException
- if an unexpected token is encountered
IOException
- if something goes wrong with the file system
apply
public void apply(FieldDef field)
throws SizeApplicationException
- Update the model.
- Specified by:
apply
in class FieldQualifier
- Parameters:
field
- the FieldDef
to update
- Throws:
SizeApplicationException
- if this is a non-sizable field
Copyright © 2000-2010 PanEris. All Rights Reserved.