com.bea.tuxedo.control
Class TuxValidateField

java.lang.Object
  extended by com.bea.tuxedo.control.TuxValidateField

public class TuxValidateField
extends Object

Validate the inputs to a method against an FML or View buffer. Validation is done at compile-time.


Constructor Summary
TuxValidateField(MethodDeclaration methodDecl, AnnotationProcessorEnvironment procEnv, ITuxClass fields, TuxedoControl.MappingStrictness strict, boolean fml, TuxedoControl.AccessorName conv)
          Constructor.
 
Method Summary
 void validate(String argName, TypeMirror type)
          Validate a single argument or field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TuxValidateField

public TuxValidateField(MethodDeclaration methodDecl,
                        AnnotationProcessorEnvironment procEnv,
                        ITuxClass fields,
                        TuxedoControl.MappingStrictness strict,
                        boolean fml,
                        TuxedoControl.AccessorName conv)
Constructor.

Parameters:
fields - The internal representation of one or more FML or View tables.
strict - The mapping strictness for this JCX method.
fml - true if this is an FML buffer, else a View buffer
conv - The conventions to use when mapping accessor names to fields
Method Detail

validate

public void validate(String argName,
                     TypeMirror type)
Validate a single argument or field. Problems found are added to the issue list.

Parameters:
argName - Name of the field or argument.
type - Internal type specifier for the argument or field.