org.melati.poem.prepro
Class IntegrityfixFieldQualifier

Package class diagram package IntegrityfixFieldQualifier
java.lang.Object
  extended by org.melati.poem.prepro.FieldQualifier
      extended by org.melati.poem.prepro.IntegrityfixFieldQualifier

public class IntegrityfixFieldQualifier
extends FieldQualifier

A FieldQualifier which defines the type of IntegrityFix to use with a reference field.


Nested Class Summary
static class IntegrityfixFieldQualifier.ApplicationException
          Thrown when an attempt is made to apply an IntegrityFix to a field which is not a ReferencePoemType.
 
Constructor Summary
IntegrityfixFieldQualifier(StreamTokenizer tokens)
          Constructor.
 
Method Summary
 void apply(FieldDef field)
          Update the model.
 
Methods inherited from class org.melati.poem.prepro.FieldQualifier
from
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrityfixFieldQualifier

public IntegrityfixFieldQualifier(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
Method Detail

apply

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

Specified by:
apply in class FieldQualifier
Parameters:
field - the FieldDef to update
Throws:
IllegalityException - if there is a semantic contractiction


Copyright © 2000-2010 PanEris. All Rights Reserved.