org.melati.poem.prepro
Class FieldQualifier

Package class diagram package FieldQualifier
java.lang.Object
  extended by org.melati.poem.prepro.FieldQualifier
Direct Known Subclasses:
CompareOnlyFieldQualifier, DeletedFieldQualifier, DescriptionFieldQualifier, DisplayLevelFieldQualifier, DisplayNameFieldQualifier, DisplayOrderFieldQualifier, DisplayOrderPriorityFieldQualifier, HeightFieldQualifier, IndexedFieldQualifier, IntegrityfixFieldQualifier, NullableFieldQualifier, PrecisionFieldQualifier, RenderinfoFieldQualifier, ScaleFieldQualifier, SearchabilityFieldQualifier, SizeFieldQualifier, SortDescendingFieldQualifier, TroidFieldQualifier, UncreateableFieldQualifier, UneditableFieldQualifier, WidthFieldQualifier

public abstract class FieldQualifier
extends Object

Abstract class from which all FieldQualifiers are derived.


Constructor Summary
FieldQualifier()
           
 
Method Summary
abstract  void apply(FieldDef field)
          Update the model.
static FieldQualifier from(StreamTokenizer tokens)
          Creates the appropriate type of FieldQualifier from the input stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldQualifier

public FieldQualifier()
Method Detail

apply

public abstract void apply(FieldDef field)
                    throws org.melati.poem.prepro.IllegalityException
Update the model.

Parameters:
field - the FieldDef to update
Throws:
IllegalityException - if there is a semantic contractiction

from

public static FieldQualifier from(StreamTokenizer tokens)
                           throws org.melati.poem.prepro.ParsingDSDException,
                                  IOException
Creates the appropriate type of FieldQualifier from the input stream.

Parameters:
tokens - the StreamTokenizer to get tokens from
Returns:
a new FieldQualifier of the appropriate type
Throws:
ParsingDSDException - if an unexpected token is encountered
IOException - if something goes wrong with the file system


Copyright © 2000-2010 PanEris. All Rights Reserved.