public final class Type extends Reference
| Constructor and Description |
|---|
Type() |
Type(String className,
String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatchOperation(Operation operation) |
void |
addField(Field field) |
void |
addInterface(Reference interfaceType) |
void |
addOperation(Operation operation) |
Map<String,Operation> |
getBatchOperations() |
String |
getDescription() |
Map<String,Field> |
getFields() |
Set<Reference> |
getInterfaces() |
Map<String,Operation> |
getOperations() |
boolean |
hasBatchOperation(String operationName) |
boolean |
hasBatchOperations() |
boolean |
hasField(String fieldName) |
boolean |
hasFields() |
boolean |
hasInterfaces() |
boolean |
hasOperation(String operationName) |
boolean |
hasOperations() |
void |
setBatchOperations(Map<String,Operation> operations) |
void |
setDescription(String description) |
void |
setFields(Map<String,Field> fields) |
void |
setInterfaces(Set<Reference> interfaces) |
void |
setOperations(Map<String,Operation> operations) |
getClassName, getGraphQlClassName, getMapping, getName, getParametrizedTypeArguments, getType, hasMapping, isAddParametrizedTypeNameExtension, setAddParametrizedTypeNameExtension, setClassName, setGraphQlClassName, setMapping, setName, setParametrizedTypeArguments, setType, toStringpublic String getDescription()
public void setDescription(String description)
public void addField(Field field)
public boolean hasFields()
public boolean hasField(String fieldName)
public void addOperation(Operation operation)
public boolean hasOperations()
public boolean hasOperation(String operationName)
public void addBatchOperation(Operation operation)
public boolean hasBatchOperations()
public boolean hasBatchOperation(String operationName)
public void addInterface(Reference interfaceType)
public boolean hasInterfaces()
Copyright © 2018–2021. All rights reserved.