1 /**
2 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3 */
4
5 /* Generated By:JJTree: Do not edit this line. ASTTriggerUnit.java Version 4.1 */
6 /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=true,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY= */
7 package net.sourceforge.pmd.lang.plsql.ast;
8
9 import net.sourceforge.pmd.lang.dfa.DFAGraphMethod;
10
11 public class ASTTriggerUnit extends AbstractPLSQLNode implements ExecutableCode, OracleObject, DFAGraphMethod {
12 public ASTTriggerUnit(int id) {
13 super(id);
14 }
15
16 public ASTTriggerUnit(PLSQLParser p, int id) {
17 super(p, id);
18 }
19
20
21 /** Accept the visitor. **/
22 public Object jjtAccept(PLSQLParserVisitor visitor, Object data) {
23 return visitor.visit(this, data);
24 }
25
26 /**
27 * Gets the name of the trigger.
28 *
29 * @return a String representing the name of the trigger
30 */
31 public String getMethodName() {
32 return getImage();
33 }
34
35 @Override
36 public String getName() {
37 return getMethodName();
38 }
39
40 /**
41 * Gets the name of the Oracle Object.
42 *
43 * @return a String representing the name of the Oracle Object
44 */
45 @Override
46 public String getObjectName() {
47 return getImage();
48 }
49 }
50 /* JavaCC - OriginalChecksum=07e71d00050b4945c960cb84ed1cad6c (do not edit this line) */