public class EntityBeanCheck extends AbstractBeanCheck
public
.final
.public
constructor with no parameters.finalize
method.Constructor and Description |
---|
EntityBeanCheck()
Creates a new
EntityBeanCheck instance. |
Modifier and Type | Method and Description |
---|---|
PersistenceOption |
getPersistenceOption()
Returns the set
PersistenceOption . |
String |
getVersion()
Determines the EJB version.
|
void |
setPersistence(String aOption)
Set the persistence option to enforce.
|
void |
setVersion(String aVersion)
Sets the EJB version.
|
void |
visitToken(DetailAST aAST)
Called to process a token.
|
checkBean, getDefaultTokens, getRequiredTokens
getMethodChecker, log, logName, setMethodChecker
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens
getId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverity
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public void setPersistence(String aOption) throws org.apache.commons.beanutils.ConversionException
aOption
- string to decode option fromorg.apache.commons.beanutils.ConversionException
- if unable to decodepublic PersistenceOption getPersistenceOption()
PersistenceOption
.PersistenceOption
public void setVersion(String aVersion)
aVersion
- the EJB version.public String getVersion()
public void visitToken(DetailAST aAST)
visitToken
in class Check
aAST
- the token to process