@PublicApi public class EnumTypeExtensionDefinition extends EnumTypeDefinition implements SDLExtensionDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
EnumTypeExtensionDefinition.Builder |
CHILD_DIRECTIVES, CHILD_ENUM_VALUE_DEFINITIONSdescription| Modifier | Constructor and Description |
|---|---|
protected |
EnumTypeExtensionDefinition(java.lang.String name,
java.util.List<EnumValueDefinition> enumValueDefinitions,
java.util.List<Directive> directives,
Description description,
SourceLocation sourceLocation,
java.util.List<Comment> comments,
IgnoredChars ignoredChars,
java.util.Map<java.lang.String,java.lang.String> additionalData) |
| Modifier and Type | Method and Description |
|---|---|
EnumTypeExtensionDefinition |
deepCopy() |
static EnumTypeExtensionDefinition.Builder |
newEnumTypeExtensionDefinition() |
java.lang.String |
toString() |
EnumTypeExtensionDefinition |
transformExtension(java.util.function.Consumer<EnumTypeExtensionDefinition.Builder> builderConsumer) |
EnumTypeExtensionDefinition |
withNewChildren(NodeChildrenContainer newChildren)
Replaces the specified children and returns a new Node.
|
accept, getChildren, getDirectives, getEnumValueDefinitions, getName, getNamedChildren, isEqualTo, newEnumTypeDefinition, transformgetDescriptiondeepCopy, deepCopy, getAdditionalData, getComments, getIgnoredChars, getSourceLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdditionalData, getComments, getIgnoredChars, getSourceLocationgetDirectives, getDirectivesByName, hasDirectiveprotected EnumTypeExtensionDefinition(java.lang.String name,
java.util.List<EnumValueDefinition> enumValueDefinitions,
java.util.List<Directive> directives,
Description description,
SourceLocation sourceLocation,
java.util.List<Comment> comments,
IgnoredChars ignoredChars,
java.util.Map<java.lang.String,java.lang.String> additionalData)
public EnumTypeExtensionDefinition deepCopy()
deepCopy in interface Node<EnumTypeDefinition>deepCopy in class EnumTypeDefinitionpublic java.lang.String toString()
toString in class EnumTypeDefinitionpublic static EnumTypeExtensionDefinition.Builder newEnumTypeExtensionDefinition()
public EnumTypeExtensionDefinition withNewChildren(NodeChildrenContainer newChildren)
NodewithNewChildren in interface Node<EnumTypeDefinition>withNewChildren in class EnumTypeDefinitionnewChildren - must be empty for Nodes without childrenpublic EnumTypeExtensionDefinition transformExtension(java.util.function.Consumer<EnumTypeExtensionDefinition.Builder> builderConsumer)