FileDocCategorySizeDatePackage
CmpFieldAccessor.javaAPI DocGlassfish v2 API3036Fri May 04 22:33:40 BST 2007com.sun.enterprise.tools.verifier.tests.ejb.entity.cmp2

CmpFieldAccessor

public class CmpFieldAccessor extends CmpFieldTest
Container-managed fields declaration test. CMP fields accessor methods names must the field name with the first letter uppercased and prefixed with get and set
author
Jerome Dochez
version

Fields Summary
Constructors Summary
Methods Summary
protected booleanrunIndividualCmpFieldTest(com.sun.enterprise.deployment.Descriptor entity, com.sun.enterprise.deployment.Descriptor persistentField, java.lang.Class c, com.sun.enterprise.tools.verifier.Result result)
run an individual verifier test of a declated cmp field of the class

param
entity the descriptor for the entity bean containing the cmp-field
param
f the descriptor for the declared cmp field
param
c the class owning the cmp field
parma
r the result object to use to put the test results in
return
true if the test passed

        
        return isAccessorDeclared(persistentField.getName(), null, c, result);