public class JdbcTableTrait extends Object implements Trait<JdbcTableTrait>
Constructor and Description |
---|
JdbcTableTrait(AstNode originalAst,
String tableName)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the table name.
|
AstNode |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
public JdbcTableTrait(AstNode originalAst, String tableName)
originalAst
- the original AST, or null
if this is an ad-hoc elementtableName
- the table name of the target data modelIllegalArgumentException
- if some parameters were null
public AstNode getOriginalAst()
Element
getOriginalAst
in interface Element
null
if unknownpublic String getName()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.