com.bea.tuxedo.control
Class TuxValidateField
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 bufferconv
- The conventions to use when mapping accessor names to fields
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.