Package graphql.schema
Class SchemaElementChildrenContainer
- java.lang.Object
-
- graphql.schema.SchemaElementChildrenContainer
-
@PublicApi public class SchemaElementChildrenContainer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaElementChildrenContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends GraphQLSchemaElement>
TgetChildOrNull(java.lang.String key)
java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>>
getChildren()
<T extends GraphQLSchemaElement>
java.util.List<T>getChildren(java.lang.String key)
java.util.List<GraphQLSchemaElement>
getChildrenAsList()
boolean
isEmpty()
static SchemaElementChildrenContainer.Builder
newSchemaElementChildrenContainer()
static SchemaElementChildrenContainer.Builder
newSchemaElementChildrenContainer(SchemaElementChildrenContainer existing)
static SchemaElementChildrenContainer.Builder
newSchemaElementChildrenContainer(java.util.Map<java.lang.String,? extends java.util.List<? extends GraphQLSchemaElement>> childrenMap)
SchemaElementChildrenContainer
transform(java.util.function.Consumer<SchemaElementChildrenContainer.Builder> builderConsumer)
-
-
-
Method Detail
-
getChildren
public <T extends GraphQLSchemaElement> java.util.List<T> getChildren(java.lang.String key)
-
getChildOrNull
public <T extends GraphQLSchemaElement> T getChildOrNull(java.lang.String key)
-
getChildren
public java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>> getChildren()
-
getChildrenAsList
public java.util.List<GraphQLSchemaElement> getChildrenAsList()
-
newSchemaElementChildrenContainer
public static SchemaElementChildrenContainer.Builder newSchemaElementChildrenContainer()
-
newSchemaElementChildrenContainer
public static SchemaElementChildrenContainer.Builder newSchemaElementChildrenContainer(java.util.Map<java.lang.String,? extends java.util.List<? extends GraphQLSchemaElement>> childrenMap)
-
newSchemaElementChildrenContainer
public static SchemaElementChildrenContainer.Builder newSchemaElementChildrenContainer(SchemaElementChildrenContainer existing)
-
transform
public SchemaElementChildrenContainer transform(java.util.function.Consumer<SchemaElementChildrenContainer.Builder> builderConsumer)
-
isEmpty
public boolean isEmpty()
-
-