|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> checks >> [ j2ee overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.puppycrawl.tools.checkstyle.checks.j2ee
Class BeanManagedMethodChecker

java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.j2ee.MethodChecker
com.puppycrawl.tools.checkstyle.checks.j2ee.BeanMethodChecker
com.puppycrawl.tools.checkstyle.checks.j2ee.EntityBeanMethodChecker
com.puppycrawl.tools.checkstyle.checks.j2ee.BeanManagedMethodChecker
- public class BeanManagedMethodChecker
- extends EntityBeanMethodChecker
Checks methods of entity beans with bean-managed persistence. Reference: Enterprise JavaBeansTM Specification,Version 2.0, Chapter 12
| Field Summary | |
private boolean |
mHasEjbFindByPrimaryKey
true if the bean has method ejbFindByPrimaryKey |
| Fields inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.EntityBeanMethodChecker |
|
| Fields inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.MethodChecker |
|
| Constructor Summary | |
BeanManagedMethodChecker(EntityBeanCheck aCheck)
Constructs a BeanManagedMethodChecker. |
|
| Method Summary | |
private void |
checkFindMethod(com.puppycrawl.tools.checkstyle.api.DetailAST aMethodAST)
Checks whether an ejbFind<METHOD>(...) method of an entity bean satisfies requirements. |
void |
checkMethod(com.puppycrawl.tools.checkstyle.api.DetailAST aMethodAST)
Checks whether a method satisfies component requirements. |
void |
checkMethods(com.puppycrawl.tools.checkstyle.api.DetailAST aAST)
Checks that the methods of a component satisfy requirements. |
| Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.EntityBeanMethodChecker |
checkCreateMatch, checkCreateMethod, checkHomeMethod, checkPostCreateMethod |
| Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.MethodChecker |
checkMethod, checkNotThrows, checkThrows, getCheck, log, logName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
mHasEjbFindByPrimaryKey
private boolean mHasEjbFindByPrimaryKey
- true if the bean has method ejbFindByPrimaryKey
| Constructor Detail |
BeanManagedMethodChecker
public BeanManagedMethodChecker(EntityBeanCheck aCheck)
- Constructs a
BeanManagedMethodChecker.
| Method Detail |
checkMethods
public void checkMethods(com.puppycrawl.tools.checkstyle.api.DetailAST aAST)
- Description copied from class:
MethodChecker - Checks that the methods of a component satisfy requirements.
- Overrides:
checkMethodsin classEntityBeanMethodChecker
checkMethod
public void checkMethod(com.puppycrawl.tools.checkstyle.api.DetailAST aMethodAST)
- Description copied from class:
MethodChecker - Checks whether a method satisfies component requirements.
- Overrides:
checkMethodin classEntityBeanMethodChecker
checkFindMethod
private void checkFindMethod(com.puppycrawl.tools.checkstyle.api.DetailAST aMethodAST)
- Checks whether an ejbFind<METHOD>(...) method of an
entity bean satisfies requirements.
|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> checks >> [ j2ee overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC