public final class ColumnDefinition extends TableElement
| Constructor and Description |
|---|
ColumnDefinition(Identifier name,
String type,
boolean nullable,
List<Property> properties,
Optional<String> comment) |
ColumnDefinition(NodeLocation location,
Identifier name,
String type,
boolean nullable,
List<Property> properties,
Optional<String> comment) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(AstVisitor<R,C> visitor,
C context)
Accessible for
AstVisitor, use AstVisitor.process(Node, Object) instead. |
boolean |
equals(Object obj) |
List<Node> |
getChildren() |
Optional<String> |
getComment() |
Identifier |
getName() |
List<Property> |
getProperties() |
String |
getType() |
int |
hashCode() |
boolean |
isNullable() |
String |
toString() |
getLocationpublic ColumnDefinition(Identifier name, String type, boolean nullable, List<Property> properties, Optional<String> comment)
public ColumnDefinition(NodeLocation location, Identifier name, String type, boolean nullable, List<Property> properties, Optional<String> comment)
public Identifier getName()
public String getType()
public boolean isNullable()
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
NodeAstVisitor, use AstVisitor.process(Node, Object) instead.accept in class TableElementpublic List<Node> getChildren()
getChildren in class NodeCopyright © 2012–2023. All rights reserved.