public class CreateRole extends Statement
| Constructor and Description |
|---|
CreateRole(Identifier name,
Optional<GrantorSpecification> grantor) |
CreateRole(NodeLocation location,
Identifier name,
Optional<GrantorSpecification> grantor) |
| 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 o) |
List<? extends Node> |
getChildren() |
Optional<GrantorSpecification> |
getGrantor() |
Identifier |
getName() |
int |
hashCode() |
String |
toString() |
getLocationpublic CreateRole(Identifier name, Optional<GrantorSpecification> grantor)
public CreateRole(NodeLocation location, Identifier name, Optional<GrantorSpecification> grantor)
public Identifier getName()
public Optional<GrantorSpecification> getGrantor()
public List<? extends Node> getChildren()
getChildren in class Nodepublic <R,C> R accept(AstVisitor<R,C> visitor, C context)
NodeAstVisitor, use AstVisitor.process(Node, Object) instead.Copyright © 2012–2023. All rights reserved.