Class ASTTriggerUnit
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.impl.AbstractNode<B,N>
-
- net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode,PLSQLNode>
-
- net.sourceforge.pmd.lang.plsql.ast.ASTTriggerUnit
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.ast.impl.GenericNode<PLSQLNode>
,net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode<PLSQLNode>
,net.sourceforge.pmd.lang.ast.Node
,net.sourceforge.pmd.lang.ast.TextAvailableNode
,ExecutableCode
,OracleObject
,PLSQLNode
,net.sourceforge.pmd.lang.symboltable.ScopedNode
,net.sourceforge.pmd.reporting.Reportable
public final class ASTTriggerUnit extends net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode,PLSQLNode> implements ExecutableCode, OracleObject
-
-
Field Summary
Fields Modifier and Type Field Description protected PLSQLParser
parser
protected net.sourceforge.pmd.lang.symboltable.Scope
scope
protected Object
value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <P,R>
RacceptPlsqlVisitor(PlsqlVisitor<? super P,? extends R> visitor, P data)
<P,R>
RacceptVisitor(net.sourceforge.pmd.lang.ast.AstVisitor<? super P,? extends R> visitor, P data)
String
getMethodName()
Gets the name of the trigger.String
getName()
String
getObjectName()
Gets the name of the Oracle Object.net.sourceforge.pmd.lang.symboltable.Scope
getScope()
String
getXPathNodeName()
Object
jjtGetValue()
protected void
jjtSetValue(Object value)
protected void
setImage(String image)
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode
addChild, compareLocation, enlargeLeft, fitTokensToChildren, getFirstToken, getImage, getLastToken, getTextRegion, insertChild, jjtClose, jjtOpen, setFirstToken, setLastToken, toString
-
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.AbstractNode
children, firstChild, getChild, getIndexInParent, getNumChildren, getParent, getUserMap, remove, removeChildAtIndex, setChild, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSibling
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode
getFirstToken, getLastToken, tokens
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, children, compareLocation, descendants, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getReportLocation, getRoot, getTextDocument, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasImageEqualTo, isFindBoundary
-
Methods inherited from interface net.sourceforge.pmd.lang.plsql.ast.PLSQLNode
getCanonicalImage, getScope
-
-
-
-
Field Detail
-
value
protected Object value
-
parser
protected PLSQLParser parser
-
scope
protected net.sourceforge.pmd.lang.symboltable.Scope scope
-
-
Method Detail
-
acceptPlsqlVisitor
protected <P,R> R acceptPlsqlVisitor(PlsqlVisitor<? super P,? extends R> visitor, P data)
-
getMethodName
public String getMethodName()
Gets the name of the trigger.- Specified by:
getMethodName
in interfaceExecutableCode
- Returns:
- a String representing the name of the trigger
-
getName
public String getName()
-
getObjectName
public String getObjectName()
Gets the name of the Oracle Object.- Specified by:
getObjectName
in interfaceOracleObject
- Returns:
- a String representing the name of the Oracle Object
-
setImage
protected void setImage(String image)
- Overrides:
setImage
in classnet.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode,PLSQLNode>
-
jjtSetValue
protected void jjtSetValue(Object value)
-
jjtGetValue
public Object jjtGetValue()
-
acceptVisitor
public final <P,R> R acceptVisitor(net.sourceforge.pmd.lang.ast.AstVisitor<? super P,? extends R> visitor, P data)
- Specified by:
acceptVisitor
in interfacenet.sourceforge.pmd.lang.ast.Node
-
getXPathNodeName
public String getXPathNodeName()
- Specified by:
getXPathNodeName
in interfacenet.sourceforge.pmd.lang.ast.Node
-
-