|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.puppycrawl.tools.checkstyle.api.AutomaticBean com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter com.puppycrawl.tools.checkstyle.api.Check com.puppycrawl.tools.checkstyle.checks.j2ee.AbstractJ2eeCheck com.puppycrawl.tools.checkstyle.checks.j2ee.AbstractBeanCheck com.puppycrawl.tools.checkstyle.checks.j2ee.EntityBeanCheck
Checks that an EntityBean implementation satisfies EntityBean requirements. Such as:
public
.final
.public
constructor with no parameters.finalize
method.
Constructor Summary | |
EntityBeanCheck()
Creates a new EntityBeanCheck instance. |
Method Summary | |
PersistenceOption |
getPersistenceOption()
Returns the set PersistenceOption . |
java.lang.String |
getVersion()
Determines the EJB version. |
void |
setPersistence(java.lang.String aOption)
Set the persistence option to enforce. |
void |
setVersion(java.lang.String aVersion)
Sets the EJB version. |
void |
visitToken(DetailAST aAST)
Called to process a token. |
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.AbstractBeanCheck |
checkBean, getDefaultTokens, getRequiredTokens |
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.AbstractJ2eeCheck |
getMethodChecker, log, logName, setMethodChecker |
Methods inherited from class com.puppycrawl.tools.checkstyle.api.Check |
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens |
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter |
getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setSeverity |
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean |
configure, contextualize, finishLocalSetup, getConfiguration, setupChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EntityBeanCheck()
EntityBeanCheck
instance.
Method Detail |
public void setPersistence(java.lang.String aOption) throws org.apache.commons.beanutils.ConversionException
aOption
- string to decode option from
org.apache.commons.beanutils.ConversionException
- if unable to decodepublic PersistenceOption getPersistenceOption()
PersistenceOption
.
PersistenceOption
public void setVersion(java.lang.String aVersion)
aVersion
- the EJB version.public java.lang.String getVersion()
public void visitToken(DetailAST aAST)
Check
visitToken
in class Check
aAST
- the token to processCheck
|
Back to the Checkstyle Home Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |